/* /Components/AddOptionsMenu.razor.rz.scp.css */
/* Styles the animated overlay and action tiles for the footer add-options menu. */

.add-menu-overlay[b-jwtb29tuww] {
    transition: opacity 0.12s linear;
    z-index: var(--z-overlay) !important;
}

.add-menu-overlay.overlay-open[b-jwtb29tuww] {
    opacity: 1;
}

.add-menu-overlay.overlay-closed[b-jwtb29tuww] {
    opacity: 0;
}

.add-menu-container[b-jwtb29tuww] {
    position: fixed;
    bottom: calc(var(--footer-total-height) + 16px);
    left: 50%;
    transform: translateX(-50%);
    z-index: calc(var(--z-overlay) + 1);
    transition: transform var(--anim-medium) var(--anim-standard-curve), opacity var(--anim-fast) linear;
}

.menu-closed[b-jwtb29tuww] {
    opacity: 0;
    transform: translateX(-50%) translateY(12px) scale(0.97);
    pointer-events: none;
}

.menu-open[b-jwtb29tuww] {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.add-options-grid[b-jwtb29tuww] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    background: transparent;
}

.add-option-row[b-jwtb29tuww] {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.add-option-row-single[b-jwtb29tuww] {
    width: min(96vw, 440px);
}

.add-option-card[b-jwtb29tuww] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    height: 112px;
    cursor: pointer;
    color: white;
    background: rgba(43, 10, 61, 0.92);
    border: 2px solid var(--color-white-22);
    border-radius: var(--radius-xl);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    transition: transform var(--anim-fast) ease, box-shadow var(--anim-fast) ease, border-color var(--anim-fast) ease, background-color var(--anim-fast) ease;
    opacity: 0;
    transform: translateY(10px) scale(0.97);
}

.menu-open .add-option-card[b-jwtb29tuww] {
    animation: cardEnterBubble-b-jwtb29tuww 0.17s cubic-bezier(0.22, 0.8, 0.3, 1.12) forwards;
    transform-origin: 50% 100%;
}

.menu-closed .add-option-card[b-jwtb29tuww] {
    animation: cardExit-b-jwtb29tuww 0.12s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.menu-open .add-option-card:nth-child(1)[b-jwtb29tuww] { animation-delay: 0ms; }
.menu-open .add-option-card:nth-child(2)[b-jwtb29tuww] { animation-delay: 24ms; }
.menu-open .add-option-card:nth-child(3)[b-jwtb29tuww] { animation-delay: 48ms; }

.add-option-row:nth-child(2) .add-option-card:nth-child(1)[b-jwtb29tuww] { animation-delay: 30ms; }
.add-option-row:nth-child(2) .add-option-card:nth-child(2)[b-jwtb29tuww] { animation-delay: 40ms; }

.add-option-card:hover[b-jwtb29tuww] {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.46);
    background-color: rgba(43, 10, 61, 0.92);
}

.add-option-card:active[b-jwtb29tuww] {
    transform: scale(0.98);
}

@keyframes cardEnter-b-jwtb29tuww {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardEnterBubble-b-jwtb29tuww {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.9);
    }

    68% {
        opacity: 1;
        transform: translateY(-2px) scale(1.035);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardExit-b-jwtb29tuww {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }
}

.option-activity[b-jwtb29tuww] {
    color: var(--color-orange);
    border-color: rgba(255, 140, 61, 0.75);
}

.option-activity:hover[b-jwtb29tuww] {
    border-color: rgba(255, 140, 61, 1);
}

.option-photo[b-jwtb29tuww] {
    color: var(--color-green);
    border-color: rgba(46, 212, 122, 0.75);
}

.option-photo:hover[b-jwtb29tuww] {
    border-color: rgba(46, 212, 122, 1);
}

.option-note[b-jwtb29tuww] {
    color: var(--color-purple);
    border-color: rgba(212, 186, 255, 0.75);
}

.option-note:hover[b-jwtb29tuww] {
    border-color: rgba(212, 186, 255, 1);
}

.option-decision[b-jwtb29tuww] {
    color: var(--color-blue);
    border-color: rgba(91, 163, 245, 0.75);
}

.option-decision:hover[b-jwtb29tuww] {
    border-color: rgba(91, 163, 245, 1);
}

.option-icon[b-jwtb29tuww] {
    color: currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-option-card .mud-typography[b-jwtb29tuww] {
    color: currentColor !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
}
/* /Components/FooterMenu.razor.rz.scp.css */
/* Styles the bottom navigation bar, active states, and action button emphasis. */

.footer-container[b-dozbqf6krl] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-footer);
    display: flex;
    align-items: stretch;
    height: var(--footer-total-height);
    background-color: rgba(43, 10, 61, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-button[b-dozbqf6krl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    cursor: pointer;
    color: #7eb8f7;
    background-color: transparent;
    transition: background-color var(--anim-fast) ease, color var(--anim-fast) ease, transform var(--anim-fast) ease;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    align-self: stretch;
    margin: 0;
    padding: 0;
}

/* Keep icon/text stack compact when aligned to the bottom */
.footer-button .mud-icon-root[b-dozbqf6krl] {
    margin-bottom: 2px;
}

.footer-button .mud-typography[b-dozbqf6krl] {
    line-height: 1;
}

.footer-button:last-child[b-dozbqf6krl] {
    border-right: none;
}

.footer-button-wide[b-dozbqf6krl] {
    flex: 2;
}

.footer-button-active[b-dozbqf6krl] {
    background: var(--orange-gradient);
    color: #2b0a3d;
}

.footer-button:active[b-dozbqf6krl] {
    transform: scale(0.98);
}

.rotate-icon[b-dozbqf6krl] {
    transition: transform var(--anim-medium) var(--anim-standard-curve);
}

.icon-rotate[b-dozbqf6krl] {
    transform: rotate(180deg);
}
/* /Components/ModalCard.razor.rz.scp.css */
/* Styles the reusable bottom-sheet modal card, transitions, and internal layout regions. */

/* ── Overlay ───────────────────────────────────────────── */
.modal-card-overlay[b-pgv2m06aja] {
    position: fixed;
    inset: 0;
    background: rgba(10, 4, 18, 0.54);
    z-index: var(--z-overlay) !important;
    transition: opacity 0.18s var(--anim-standard-curve);
    overscroll-behavior: contain;
}

.modal-card-overlay.open[b-pgv2m06aja]  { opacity: 1; }
.modal-card-overlay.closed[b-pgv2m06aja] { opacity: 0; }

/* ── Sheet — full column layout so body can scroll independently ── */
.modal-card-sheet[b-pgv2m06aja] {
    position: fixed;
    left: 50%;
    bottom: calc(var(--footer-total-height) + 12px);
    width: min(94vw, 500px);
    max-height: calc(80dvh - var(--footer-total-height));

    display: flex;
    flex-direction: column;
    overflow: hidden;            /* sheet itself does NOT scroll */

    background-color: rgba(255, 255, 255, 0.1);
    background-image: var(--purple-gradient);
    background-blend-mode: overlay;
    border-radius: 16px;
    border: 2px solid rgba(255, 140, 61, 0.35);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);

    color: white;

    opacity: 0;
    transform: translateX(-50%) translateY(32px);
    transition:
        transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity   0.18s var(--anim-standard-curve);
}

.modal-card-sheet.open[b-pgv2m06aja] {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.modal-card-sheet.closed[b-pgv2m06aja] {
    opacity: 0;
    transform: translateX(-50%) translateY(32px);
}

/* ── Handle (hidden by default — only shown if ShowHandle=true) ── */
.modal-card-handle[b-pgv2m06aja] {
    width: 38px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.22);
    margin: 13px auto 8px;
    flex-shrink: 0;
}

/* ── Header — sticky, never scrolls ────────────────────── */
.modal-card-header[b-pgv2m06aja] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(255, 140, 61, 0.2);
    flex-shrink: 0;
}

.modal-card-header-text[b-pgv2m06aja] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.modal-card-title[b-pgv2m06aja] {
    margin: 0 !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #ff8a3d !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
}

.modal-card-subtitle[b-pgv2m06aja] {
    margin: 0 !important;
    font-size: 0.82rem !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 500 !important;
    line-height: 1.4;
}

/* Icon badge */
.modal-card-header-icon[b-pgv2m06aja] {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-card-header-icon.icon-activity[b-pgv2m06aja] { background: rgba(255,140,61,0.12); border-color: rgba(255,140,61,0.35); }
.modal-card-header-icon.icon-photo[b-pgv2m06aja]    { background: rgba(40,199,111,0.12); border-color: rgba(40,199,111,0.35); }
.modal-card-header-icon.icon-decision[b-pgv2m06aja] { background: rgba(74,144,226,0.12); border-color: rgba(74,144,226,0.35); }
.modal-card-header-icon.icon-edit[b-pgv2m06aja]     { background: rgba(200,168,255,0.12); border-color: rgba(200,168,255,0.35); }

.modal-card-header-icon.icon-activity[b-pgv2m06aja]  .mud-icon-root { color: #ff8a3d !important; }
.modal-card-header-icon.icon-photo[b-pgv2m06aja]     .mud-icon-root { color: #28c76f !important; }
.modal-card-header-icon.icon-decision[b-pgv2m06aja]  .mud-icon-root { color: #4a90e2 !important; }
.modal-card-header-icon.icon-edit[b-pgv2m06aja]      .mud-icon-root { color: #c8a8ff !important; }

/* ── Body — this part scrolls ──────────────────────────── */
.modal-card-body[b-pgv2m06aja] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.modal-card-body[b-pgv2m06aja]::-webkit-scrollbar { width: 0; }

/* MudTextField styling — white text, orange accent on focus */
.modal-card-body[b-pgv2m06aja]  .mud-input-root {
    color: white !important;
}

.modal-card-body[b-pgv2m06aja]  .mud-input-outlined .mud-notch-before,
.modal-card-body[b-pgv2m06aja]  .mud-input-outlined .mud-notch-between,
.modal-card-body[b-pgv2m06aja]  .mud-input-outlined .mud-notch-after {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.modal-card-body[b-pgv2m06aja]  .mud-input-outlined:hover .mud-notch-before,
.modal-card-body[b-pgv2m06aja]  .mud-input-outlined:hover .mud-notch-between,
.modal-card-body[b-pgv2m06aja]  .mud-input-outlined:hover .mud-notch-after {
    border-color: rgba(255, 140, 61, 0.6) !important;
}

.modal-card-body[b-pgv2m06aja]  .mud-input-outlined.mud-input-focused .mud-notch-before,
.modal-card-body[b-pgv2m06aja]  .mud-input-outlined.mud-input-focused .mud-notch-between,
.modal-card-body[b-pgv2m06aja]  .mud-input-outlined.mud-input-focused .mud-notch-after {
    border-color: #ff8a3d !important;
}

.modal-card-body[b-pgv2m06aja]  .mud-input-root input,
.modal-card-body[b-pgv2m06aja]  .mud-input-root textarea {
    color: white !important;
}

.modal-card-body[b-pgv2m06aja]  .mud-input-label {
    color: rgba(255, 255, 255, 0.82) !important;
}

.modal-card-body[b-pgv2m06aja]  .mud-input-label.mud-shrink {
    color: #ff8a3d !important;
}

/* ── Footer — sticky, never scrolls ────────────────────── */
.modal-card-footer[b-pgv2m06aja] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 16px 16px;
    border-top: 1px solid rgba(255, 140, 61, 0.2);
    flex-shrink: 0;
}

/* Spara button — solid orange to match app primary action buttons */
:global(.modal-save-button)[b-pgv2m06aja] {
    background-color: #ff8a3d !important;
    border: none !important;
    color: white !important;
    font-weight: 700 !important;
    text-transform: none !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(255, 140, 61, 0.35) !important;
    min-width: 88px !important;
}

:global(.modal-save-button:hover)[b-pgv2m06aja] {
    background-color: #ff6f00 !important;
    box-shadow: 0 4px 14px rgba(255, 140, 61, 0.45) !important;
}
/* /Layout/AppLayout.razor.rz.scp.css */
.applayout[b-1imelymg2c] {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    background-color: #2B0A3D !important;
    background-image: var(--purple-gradient) !important;
    background-attachment: fixed !important;
}

/* Kill ALL MudBlazor safe-area/padding injections */
[b-1imelymg2c] .mud-layout,
[b-1imelymg2c] .mud-main-content {
    padding: 0 !important;
    margin: 0 !important;
    background-color: #2B0A3D !important;
    background-image: var(--purple-gradient) !important;
    background-attachment: fixed !important;
}

.main-content-full[b-1imelymg2c] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: transparent !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.applayout.project-open .main-content-full[b-1imelymg2c] {
    overflow: hidden;
    pointer-events: none;
    touch-action: none;
    overscroll-behavior: none;
}

.applayout.profile-open .main-content-full[b-1imelymg2c] {
    overflow: hidden;
    pointer-events: none;
    touch-action: none;
    overscroll-behavior: none;
}

.main-content-full[b-1imelymg2c]::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.project-drawer-overlay[b-1imelymg2c] {
    position: fixed;
    top: env(safe-area-inset-top);
    left: 0;
    right: 0;
    bottom: var(--footer-total-height);
    background: rgba(0, 0, 0, 0.42);
    z-index: calc(var(--z-footer) - 2);
}

/* Bright calendar icon in activity modal */
[b-1imelymg2c] .activity-date-field .mud-input-adornment .mud-icon-root,
[b-1imelymg2c] .activity-date-field .mud-input-adornment .mud-icon-button {
    color: var(--color-orange) !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 4px rgba(255, 138, 61, 0.35));
}

/* Ensure CTA stays clearly visible even before typing */
[b-1imelymg2c] .modal-save-button {
    background-color: var(--color-orange) !important;
    color: white !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm) !important;
    font-weight: 700 !important;
}

/* Orange validation error styling for activity modal */
[b-1imelymg2c] .activity-field-error .mud-input-outlined.mud-input-error .mud-notch-before,
[b-1imelymg2c] .activity-field-error .mud-input-outlined.mud-input-error .mud-notch-between,
[b-1imelymg2c] .activity-field-error .mud-input-outlined.mud-input-error .mud-notch-after {
    border-color: var(--color-orange) !important;
    border-width: 2px !important;
}

[b-1imelymg2c] .activity-field-error .mud-input-label.mud-input-error {
    color: var(--color-orange) !important;
}

[b-1imelymg2c] .activity-field-error .mud-input-helper-text.mud-input-error {
    color: var(--color-orange) !important;
    font-weight: 600 !important;
}

