h1:focus {
    outline: none;
}

body {
    font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f6f8fb;
    color: #0b0b0b;
    overflow-x: hidden;
}

.bg-page {
    background-color: #f6f8fb;
    color: #0b0b0b;
}

html {
    scroll-behavior: smooth;
}

.kidsitta-page {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 2rem;
    background:
        linear-gradient(145deg, rgba(248, 250, 252, 0.2), rgba(255, 247, 237, 0.18)),
        url('/images/KidSittaBG.png') center / cover no-repeat,
        linear-gradient(145deg, #f8fafc 0%, #eff6ff 48%, #fff7ed 100%);
    padding: clamp(1.25rem, 4vw, 3rem);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.kidsitta-phone-only {
    display: grid;
    min-height: calc(100vh - 9rem);
    place-items: center;
    padding: clamp(0.75rem, 2vw, 1.5rem);
}

.kidsitta-hidden-audio {
    display: none;
}

.kidsitta-page::before,
.kidsitta-page::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    opacity: 0.8;
    filter: blur(2px);
}

.kidsitta-page::before {
    right: 8%;
    top: 7rem;
    width: 8rem;
    height: 8rem;
    background: rgba(244, 114, 182, 0.16);
}

.kidsitta-page::after {
    left: 8%;
    bottom: 9rem;
    width: 10rem;
    height: 10rem;
    background: rgba(34, 197, 94, 0.13);
}

.kidsitta-dashboard-shell {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.kidsitta-dashboard-header {
    display: grid;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.kidsitta-dashboard-intro {
    max-width: 48rem;
    margin: 0.75rem 0 0;
    color: #475569;
    font-size: clamp(0.95rem, 1.4vw, 1.08rem);
    font-weight: 700;
    line-height: 1.65;
}

.kidsitta-profile-card {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.9rem;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(16px);
}

.kidsitta-profile-avatar,
.kidsitta-card-icon {
    display: grid;
    flex: 0 0 auto;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, #fde68a, #f9a8d4);
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 900;
}

.kidsitta-profile-name,
.kidsitta-profile-status {
    margin: 0;
}

.kidsitta-profile-name {
    color: #0f172a;
    font-weight: 900;
}

.kidsitta-profile-status {
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 700;
}

.kidsitta-dashboard-grid {
    display: grid;
    gap: clamp(1.25rem, 4vw, 2.5rem);
    align-items: start;
}

.kidsitta-sidebar {
    display: grid;
    gap: 1rem;
}

.kidsitta-dashboard-card {
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.78);
    padding: 1rem;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
}

.kidsitta-dashboard-card h2,
.kidsitta-card-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
}

.kidsitta-card-heading {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.kidsitta-card-heading p {
    margin: 0.2rem 0 0;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 800;
}

.kidsitta-ring-banner {
    display: inline-flex;
    margin-top: 0.6rem;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: kidsittaRingPulse 0.7s ease-in-out infinite;
}

.kidsitta-progress-track {
    height: 0.7rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
    margin-top: 1rem;
}

.kidsitta-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #14b8a6, #38bdf8, #f9a8d4);
    transition: width 0.2s ease;
}

.kidsitta-small-note {
    margin: 0.85rem 0 0;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
}

.kidsitta-menu-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.kidsitta-menu-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.84);
    color: #334155;
    cursor: pointer;
    padding: 0.75rem;
    text-align: left;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.kidsitta-menu-item:hover,
.kidsitta-menu-item:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.kidsitta-menu-item strong,
.kidsitta-menu-item small {
    display: block;
}

.kidsitta-menu-item strong {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 900;
}

.kidsitta-menu-item small {
    margin-top: 0.1rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.kidsitta-help-card ul {
    margin: 0.85rem 0 0;
    padding-left: 1.1rem;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.7;
}

.kidsitta-hero {
    display: grid;
    gap: 1.5rem;
    align-items: end;
    margin: 0 auto 2rem;
    max-width: 64rem;
}

.kidsitta-hero-copy {
    max-width: 45rem;
}

.kidsitta-eyebrow,
.kidsitta-panel-label {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    color: #0f766e;
    padding: 0.45rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.kidsitta-hero h1 {
    margin: 1rem 0 0;
    color: #020617;
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.07em;
}

.kidsitta-lead {
    margin-top: 1.25rem;
    max-width: 43rem;
    color: #475569;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.75;
}

.kidsitta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.kidsitta-tags span {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #334155;
    padding: 0.65rem 0.95rem;
    font-size: 0.8rem;
    font-weight: 800;
}

.kidsitta-preview-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.78);
    padding: 1rem;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(16px);
}

.kidsitta-preview-icon {
    display: grid;
    flex: 0 0 auto;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #fde68a, #f9a8d4);
    color: #7c2d12;
    font-size: 1.5rem;
    font-weight: 900;
}

.kidsitta-preview-title {
    margin: 0;
    color: #0f172a;
    font-weight: 900;
}

.kidsitta-preview-text {
    margin: 0.2rem 0 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
}

.kidsitta-content-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    max-width: 64rem;
    margin: 0 auto;
}

.kidsitta-info-panel {
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.72);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
}

.kidsitta-info-panel h2 {
    margin: 1rem 0 0;
    color: #0f172a;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.kidsitta-info-panel > p {
    margin: 1rem 0 0;
    color: #475569;
    line-height: 1.75;
}

.kidsitta-feature-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.kidsitta-feature-list div {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.9rem;
}

.kidsitta-feature-list span {
    display: grid;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 0.8rem;
    background: #0f172a;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
}

.kidsitta-feature-list p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

.kidsitta-stage {
    display: grid;
    min-height: 0;
    place-items: center;
}

.kidsitta-phone {
    position: relative;
    width: min(100%, 25.5rem);
    aspect-ratio: 390 / 844;
    max-height: 49rem;
    border-radius: 2.85rem;
    background: #111827;
    padding: 0.75rem;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.24);
}

.kidsitta-phone::before {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0.75rem;
    left: 50%;
    width: 7rem;
    height: 1.95rem;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #020617;
}

.kidsitta-phone.is-ringing {
    animation: kidsittaPhoneRing 0.18s ease-in-out infinite alternate;
}

.kidsitta-phone.is-in-call {
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.24), 0 0 0 8px rgba(20, 184, 166, 0.08);
}

.kidsitta-screen {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 2.25rem;
    background:
        linear-gradient(180deg, rgba(186, 230, 253, 0.6), #fff 32%),
        #fff;
}

.kidsitta-screen::after {
    content: "";
    position: absolute;
    right: 8rem;
    bottom: 0.5rem;
    left: 8rem;
    height: 0.32rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.22);
    pointer-events: none;
}

.kidsitta-status-bar {
    display: flex;
    height: 2.65rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.8rem 1.5rem 0;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 900;
}

.kidsitta-status-icons {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    color: rgba(15, 23, 42, 0.76);
}

.kidsitta-pill-dot {
    position: relative;
    width: 1.1rem;
    height: 0.65rem;
    border: 2px solid currentColor;
    border-radius: 999px;
}

.kidsitta-pill-dot::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.kidsitta-phone-header {
    padding: 0.45rem 1.35rem 0.35rem;
}

.kidsitta-title-row {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
}

.kidsitta-title-row h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.7rem, 5.4vw, 2.18rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.kidsitta-mode-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    border: 1px solid rgba(20, 184, 166, 0.22);
    border-radius: 999px;
    background: rgba(204, 251, 241, 0.8);
    color: #0f766e;
    padding: 0 0.7rem;
    font-size: 0.72rem;
    font-weight: 900;
    white-space: nowrap;
}

.kidsitta-contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.48rem;
    margin-top: 0.7rem;
}

.kidsitta-contact {
    display: grid;
    min-height: 3.95rem;
    align-content: center;
    justify-items: center;
    gap: 0.28rem;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.82);
    color: #334155;
    cursor: pointer;
    padding: 0.5rem 0.42rem;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.kidsitta-contact:disabled,
.kidsitta-menu-item:disabled,
.kidsitta-key:disabled {
    cursor: default;
    opacity: 0.45;
    filter: grayscale(0.25);
    transform: none;
}

.kidsitta-contact:hover,
.kidsitta-contact:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.kidsitta-avatar {
    display: grid;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    border-radius: 0.75rem;
    color: #0f172a;
    font-weight: 900;
}

.kidsitta-avatar.sun { background: #fde68a; }
.kidsitta-avatar.sky { background: #bae6fd; }
.kidsitta-avatar.berry { background: #fbcfe8; }

.kidsitta-contact span:last-child {
    max-width: 100%;
    font-size: clamp(0.62rem, 1.8vw, 0.72rem);
    font-weight: 900;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
}

.kidsitta-display {
    display: grid;
    min-height: 6.9rem;
    align-content: center;
    gap: 0.32rem;
    margin: 0.2rem 1.35rem 0.5rem;
    border: 1px solid rgba(226, 232, 240, 0.78);
    border-radius: 1.55rem;
    background: linear-gradient(135deg, rgba(254, 240, 138, 0.42), #fff 58%);
    padding: 0.85rem 1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82);
}

.kidsitta-ring-text {
    color: #0f766e;
    font-size: clamp(1.45rem, 5vw, 2rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: kidsittaRingPulse 0.7s ease-in-out infinite;
}

.kidsitta-display-label {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kidsitta-number {
    display: flex;
    min-height: 2.05rem;
    align-items: center;
    color: #0f172a;
    font-size: clamp(1.55rem, 5vw, 2.15rem);
    font-weight: 900;
    line-height: 1.1;
    word-break: break-word;
}

.kidsitta-number.empty {
    color: rgba(100, 116, 139, 0.62);
    font-size: clamp(1.4rem, 5vw, 1.95rem);
}

.kidsitta-visualizer {
    width: 100%;
    height: 3.1rem;
    margin-top: 0.1rem;
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 118, 110, 0.88)),
        #0f172a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 24px rgba(15, 118, 110, 0.12);
}

.kidsitta-hint {
    min-height: 1.25rem;
    color: #64748b;
    font-size: clamp(0.68rem, 1.6vw, 0.76rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.kidsitta-dialpad-wrap {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 0.55rem;
    min-height: 0;
    padding: 0 1.35rem 1.15rem;
}

.kidsitta-dialpad {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: end;
    gap: 0.48rem;
}

.kidsitta-key {
    display: grid;
    min-height: clamp(3.35rem, 7.1vh, 3.95rem);
    place-items: center;
    gap: 0.12rem;
    padding: 0.35rem 0.28rem;
    border: 0;
    border-radius: 1.35rem;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.kidsitta-key.is-configured {
    border: 2px solid rgba(20, 184, 166, 0.32);
    background: linear-gradient(180deg, #ffffff, rgba(204, 251, 241, 0.5));
}

.kidsitta-key:hover,
.kidsitta-key:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.11);
}

.kidsitta-key:active {
    transform: translateY(1px) scale(0.98);
}

.kidsitta-contact:disabled:hover,
.kidsitta-contact:disabled:focus-visible,
.kidsitta-menu-item:disabled:hover,
.kidsitta-menu-item:disabled:focus-visible,
.kidsitta-key:disabled:hover,
.kidsitta-key:disabled:focus-visible {
    transform: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.kidsitta-digit {
    font-size: clamp(1.3rem, 4.2vw, 1.62rem);
    font-weight: 900;
    line-height: 1;
}

.kidsitta-letters {
    display: block;
    max-width: 100%;
    min-height: 0.75rem;
    color: #64748b;
    font-size: clamp(0.48rem, 1.35vw, 0.56rem);
    font-weight: 900;
    letter-spacing: 0.07em;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
}

.kidsitta-actions {
    display: grid;
    grid-template-columns: 3.45rem 1fr 3.45rem;
    gap: 0.6rem;
    align-items: center;
}

.kidsitta-icon-btn,
.kidsitta-call-btn {
    display: grid;
    min-height: 3.1rem;
    place-items: center;
    border: 0;
    border-radius: 1.1rem;
    cursor: pointer;
    font-weight: 900;
    transition: transform 0.14s ease, opacity 0.14s ease, filter 0.14s ease;
}

.kidsitta-icon-btn {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
}

.kidsitta-call-btn {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: #fff;
    box-shadow: 0 16px 34px rgba(20, 184, 166, 0.3);
}

.kidsitta-icon-btn:hover,
.kidsitta-icon-btn:focus-visible,
.kidsitta-call-btn:hover,
.kidsitta-call-btn:focus-visible {
    transform: translateY(-2px);
}

.kidsitta-icon-btn:disabled,
.kidsitta-call-btn:disabled {
    cursor: default;
    opacity: 0.38;
    filter: grayscale(0.35);
    transform: none;
}

@keyframes kidsittaPhoneRing {
    from {
        transform: rotate(-1.2deg) translateX(-2px);
    }

    to {
        transform: rotate(1.2deg) translateX(2px);
    }
}

@keyframes kidsittaRingPulse {
    0%, 100% {
        opacity: 0.72;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

@media (min-width: 980px) {
    .kidsitta-dashboard {
        min-height: calc(100vh - 9rem);
        border-radius: 2rem;
        padding: clamp(1rem, 2vw, 2rem);
    }

    .kidsitta-phone-only {
        min-height: calc(100vh - 8rem);
    }

    .kidsitta-dashboard-header {
        grid-template-columns: minmax(0, 1fr) 21rem;
        margin-bottom: 0.75rem;
    }

    .kidsitta-dashboard-grid {
        grid-template-columns: minmax(15rem, 21rem) minmax(0, 1fr);
        min-height: calc(100vh - 16rem);
        gap: clamp(1.5rem, 3vw, 3.5rem);
    }

    .kidsitta-sidebar {
        align-self: center;
    }

    .kidsitta-stage {
        align-self: stretch;
        justify-items: center;
    }

    .kidsitta-phone {
        width: min(100%, 30rem);
        max-height: min(53rem, calc(100vh - 13rem));
    }

    .kidsitta-hero {
        grid-template-columns: minmax(0, 1fr) 19rem;
    }

    .kidsitta-content-grid {
        grid-template-columns: minmax(0, 0.88fr) minmax(22rem, 1fr);
    }
}

@media (max-width: 640px) {
    .kidsitta-page {
        border-radius: 1.25rem;
        padding: 1rem;
    }

    .kidsitta-phone-only {
        min-height: calc(100vh - 7rem);
        padding: 0.5rem;
    }

    .kidsitta-phone {
        width: min(100%, 24.5rem);
        border-radius: 2.2rem;
        padding: 0.55rem;
    }

    .kidsitta-phone::before {
        top: 0.55rem;
    }

    .kidsitta-screen {
        border-radius: 1.75rem;
    }

    .kidsitta-phone-header,
    .kidsitta-dialpad-wrap {
        padding-inline: 1rem;
    }

    .kidsitta-display {
        margin-inline: 1rem;
    }

    .kidsitta-contact {
        min-height: 3.85rem;
    }

    .kidsitta-display {
        min-height: 6.9rem;
    }
}

@media (max-height: 820px) and (min-width: 641px) {
    .kidsitta-phone {
        max-height: 44rem;
    }

    .kidsitta-contact {
        min-height: 3.45rem;
    }

    .kidsitta-display {
        min-height: 6rem;
        padding-block: 0.72rem;
    }

    .kidsitta-key {
        min-height: 3.2rem;
        border-radius: 1.05rem;
    }

    .kidsitta-dialpad-wrap {
        gap: 0.45rem;
        padding-bottom: 0.95rem;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #0f172a;
    outline-offset: 3px;
}

.service-image {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.site-footer {
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.container {
    margin: 0 auto;
    max-width: 1120px;
    padding: 2.75rem 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.25fr 1fr 0.25fr 1fr;
}

.footer-brand {
    color: #0f172a;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #000;
    text-decoration: none;
}

.footer-tag {
    margin-top: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.footer-blurb {
    margin-top: 0.85rem;
    max-width: 28rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
}

.footer-copy {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: #64748b;
}

.footer-col {
    color: #0f172a;
}

.footer-head {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #0f172a;
}

.footer-legal {
    margin-top: 0.9rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #64748b;
}

.footer-legal a {
    color: #0f172a;
    text-decoration: underline;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 2.1rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-logo,
    .footer-tag,
    .footer-blurb,
    .footer-copy,
    .footer-links a,
    .footer-legal {
        overflow-wrap: anywhere;
    }
}

@keyframes pageFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pageRise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNlMzBhMTgiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* === Pod Music Player Design System === */
:root {
    --pod-bg: #fbf7f1;
    --pod-surface: #ffffff;
    --pod-surface-soft: #fff8f4;
    --pod-border: #f1dfd8;
    --pod-text: #0f172a;
    --pod-muted: #64748b;
    --pod-primary: #ed7377;
    --pod-primary-dark: #d85d62;
    --pod-primary-soft: #ffe7e5;
    --pod-navy: #111827;
    --pod-cream: #fffaf4;
}

.pod-page-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 231, 229, 0.75), transparent 34rem),
        radial-gradient(circle at top right, rgba(255, 244, 214, 0.65), transparent 30rem),
        var(--pod-bg);
    color: var(--pod-text);
    padding: 1.5rem 1rem;
}

.pod-app-frame {
    margin: 0 auto;
    width: 100%;
    max-width: none;
    border: 1px solid rgba(241, 223, 216, 0.8);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(24px);
}

.pod-card {
    border: 1px solid var(--pod-border);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
}

.pod-soft-card {
    border: 1px solid var(--pod-border);
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--pod-surface-soft) 48%, rgba(255, 231, 229, 0.4) 100%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.pod-now-playing-card {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 231, 229, 0.72), transparent 24rem),
        radial-gradient(circle at 92% 12%, rgba(255, 244, 214, 0.62), transparent 20rem),
        linear-gradient(135deg, #ffffff 0%, #fff8f4 50%, #ffe7e5 100%);
}

.pod-now-playing-art {
    filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.16));
}

.pod-audio-waveform {
    display: flex;
    height: 4.25rem;
    align-items: center;
    gap: 0.18rem;
    overflow: hidden;
    border: 1px solid rgba(237, 115, 119, 0.16);
    border-radius: 1.1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 231, 229, 0.2)),
        repeating-linear-gradient(to right, rgba(237, 115, 119, 0.08) 0 1px, transparent 1px 0.55rem);
    padding: 0.75rem 0.9rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58), 0 12px 28px rgba(237, 115, 119, 0.08);
}

.pod-spectrum-bar {
    display: block;
    flex: 1 1 0;
    min-width: 0.16rem;
    max-width: 0.42rem;
    border-radius: 9999px;
    background: linear-gradient(180deg, rgba(237, 115, 119, 0.78), rgba(216, 93, 98, 0.22));
    opacity: 0.34;
    transform-origin: center bottom;
    transition: opacity 180ms ease, filter 180ms ease;
}

.pod-spectrum-bar.is-active {
    opacity: 0.95;
    background: linear-gradient(180deg, #ff8a8d 0%, var(--pod-primary) 58%, var(--pod-primary-dark) 100%);
    box-shadow: 0 0 12px rgba(237, 115, 119, 0.22);
}

.pod-audio-waveform.is-playing .pod-spectrum-bar {
    animation: pod-spectrum-pulse 920ms ease-in-out infinite alternate;
}

@keyframes pod-spectrum-pulse {
    from {
        transform: scaleY(0.72);
        filter: saturate(0.9);
    }

    to {
        transform: scaleY(1.08);
        filter: saturate(1.18);
    }
}

.pod-pill {
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background: #ffffff;
    color: var(--pod-text);
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.pod-pill:hover {
    border-color: rgba(237, 115, 119, 0.4);
    background: rgba(255, 231, 229, 0.5);
}

.pod-pill-active {
    border-color: var(--pod-navy);
    background: var(--pod-navy);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.pod-icon-button {
    display: inline-flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pod-border);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--pod-text);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: background-color 180ms ease, transform 180ms ease;
}

.pod-icon-button:hover {
    background: var(--pod-primary-soft);
}

.pod-play-button {
    display: inline-flex;
    height: 4rem;
    width: 4rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--pod-primary);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(237, 115, 119, 0.35);
    transition: background-color 180ms ease, transform 180ms ease;
}

.pod-play-button:hover {
    background: var(--pod-primary-dark);
}

.pod-section-title {
    color: var(--pod-text);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.pod-muted-text {
    color: var(--pod-muted);
    font-size: 0.875rem;
}

.pod-page-shell button:focus-visible,
.pod-page-shell a:focus-visible {
    outline: 3px solid rgba(237, 115, 119, 0.45);
    outline-offset: 3px;
}

.pod-range {
    width: 100%;
    height: 0.375rem;
    appearance: none;
    border-radius: 9999px;
    background: linear-gradient(to right, currentColor 0%, currentColor var(--pod-range-fill, 0%), #e2e8f0 var(--pod-range-fill, 0%), #e2e8f0 100%);
    accent-color: currentColor;
}

.pod-range::-webkit-slider-thumb {
    appearance: none;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 9999px;
    background: currentColor;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

.pod-range::-moz-range-thumb {
    width: 0.85rem;
    height: 0.85rem;
    border: 0;
    border-radius: 9999px;
    background: currentColor;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

.pod-range-primary {
    color: var(--pod-primary);
}

.pod-range-navy {
    color: var(--pod-navy);
}

.pod-picker-panel {
    overflow: hidden;
}

.pod-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 1rem;
}

.pod-picker-tile {
    display: flex;
    min-height: 5.5rem;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 1.25rem;
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
    padding: 1rem;
    text-align: left;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pod-picker-back-tile {
    width: 5.5rem;
    min-width: 5.5rem;
    justify-self: end;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, var(--pod-surface-soft) 100%);
    padding: 0.75rem;
    color: var(--pod-text);
}

.pod-picker-back-tile .pod-picker-icon {
    font-size: 1.35rem;
}

.pod-picker-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(237, 115, 119, 0.28);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.pod-picker-tile-active {
    border-color: rgba(237, 115, 119, 0.55);
    box-shadow: 0 0 0 2px rgba(237, 115, 119, 0.18), 0 10px 30px rgba(15, 23, 42, 0.06);
}

.pod-picker-icon {
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.68);
    font-size: 1.75rem;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 8px 18px rgba(15, 23, 42, 0.06);
}

.pod-picker-icon img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.pod-back-button {
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pod-border);
    border-radius: 9999px;
    background: #ffffff;
    color: var(--pod-text);
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: background-color 180ms ease, color 180ms ease;
}

.pod-back-button:hover {
    background: var(--pod-primary-soft);
    color: var(--pod-primary-dark);
}

.pod-queue-page-button {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pod-border);
    border-radius: 9999px;
    background: #ffffff;
    color: var(--pod-text);
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.pod-queue-page-button:hover:not(:disabled) {
    background: var(--pod-primary-soft);
    color: var(--pod-primary-dark);
}

.pod-queue-page-button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.pod-control-active {
    color: var(--pod-primary) !important;
    background: var(--pod-primary-soft) !important;
    border-color: rgba(237, 115, 119, 0.35) !important;
}

.pod-home-action-button {
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: #ffffff;
    color: var(--pod-text);
    font-size: 1.3rem;
    font-weight: 900;
    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.12),
        inset 0 0 0 1px rgba(15, 23, 42, 0.08);
    transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease;
}

.pod-home-action-button:hover {
    transform: translateY(-2px);
    background: var(--pod-primary-soft);
    color: var(--pod-primary-dark);
    box-shadow:
        0 16px 30px rgba(15, 23, 42, 0.16),
        inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.pod-heart-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 0;
    border-radius: 9999px;
    background: #ffffff;
    color: var(--pod-primary);
    cursor: pointer;
    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.12),
        inset 0 0 0 1px rgba(15, 23, 42, 0.08);
    transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease, opacity 180ms ease;
}

.pod-heart-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:
        0 16px 30px rgba(15, 23, 42, 0.16),
        inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.pod-heart-button:active:not(:disabled) {
    transform: scale(0.92);
}

.pod-heart-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.pod-heart-button-mini {
    width: 2.25rem;
    height: 2.25rem;
}

.pod-heart-button-compact {
    width: 2.75rem;
    height: 2.75rem;
}

.pod-heart-icon {
    position: relative;
    z-index: 2;
    width: 45%;
    height: 45%;
    fill: transparent;
    stroke: #ef476f;
    stroke-width: 2.5;
    transition: fill 220ms ease, stroke 220ms ease, transform 220ms ease, filter 220ms ease;
}

.pod-heart-button.is-liked {
    background: linear-gradient(145deg, #ffffff, #ffe4ec);
}

.pod-heart-button.is-liked .pod-heart-icon {
    fill: #ef476f;
    stroke: #ef476f;
    transform: scale(1.12);
    filter: drop-shadow(0 8px 16px rgba(239, 71, 111, 0.35));
    animation: pod-heart-pop 520ms cubic-bezier(.2, 1.6, .35, 1);
}

.pod-heart-button::before {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: inherit;
    background: rgba(239, 71, 111, 0.2);
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.pod-heart-button.is-liked::before {
    animation: pod-heart-pulse-ring 620ms ease-out;
}

.pod-heart-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pod-heart-particle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    background: var(--color);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.pod-heart-particle:nth-child(1) { --x: 0px; --y: -2.4rem; --color: #ef476f; --delay: 0ms; }
.pod-heart-particle:nth-child(2) { --x: 1.9rem; --y: -1.6rem; --color: #ff9f1c; --delay: 40ms; }
.pod-heart-particle:nth-child(3) { --x: 2.3rem; --y: 0.5rem; --color: #06d6a0; --delay: 20ms; }
.pod-heart-particle:nth-child(4) { --x: 1.2rem; --y: 2.2rem; --color: #118ab2; --delay: 60ms; }
.pod-heart-particle:nth-child(5) { --x: -1.2rem; --y: 2.2rem; --color: #8338ec; --delay: 30ms; }
.pod-heart-particle:nth-child(6) { --x: -2.3rem; --y: 0.5rem; --color: #ff006e; --delay: 50ms; }
.pod-heart-particle:nth-child(7) { --x: -1.9rem; --y: -1.6rem; --color: #fb5607; --delay: 10ms; }

.pod-heart-button.is-liked .pod-heart-particle {
    animation: pod-heart-particle-burst 700ms ease-out forwards;
    animation-delay: var(--delay);
}

.pod-heart-sparkle {
    position: absolute;
    width: 0.8rem;
    height: 0.8rem;
    opacity: 0;
    transform: scale(0) rotate(0deg);
}

.pod-heart-sparkle::before,
.pod-heart-sparkle::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    background: #ffd166;
    border-radius: 9999px;
}

.pod-heart-sparkle::before {
    width: 0.2rem;
    height: 0.8rem;
}

.pod-heart-sparkle::after {
    width: 0.8rem;
    height: 0.2rem;
}

.pod-heart-sparkle.one {
    top: 13%;
    right: 17%;
}

.pod-heart-sparkle.two {
    bottom: 15%;
    left: 15%;
}

.pod-heart-button.is-liked .pod-heart-sparkle {
    animation: pod-heart-sparkle 650ms ease-out forwards;
}

.pod-heart-button.is-liked .pod-heart-sparkle.two {
    animation-delay: 90ms;
}

@keyframes pod-heart-pop {
    0% { transform: scale(0.65); }
    45% { transform: scale(1.28); }
    70% { transform: scale(0.96); }
    100% { transform: scale(1.12); }
}

@keyframes pod-heart-pulse-ring {
    0% { transform: scale(0.3); opacity: 0.75; }
    100% { transform: scale(1.9); opacity: 0; }
}

@keyframes pod-heart-particle-burst {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.3);
    }
    65% { opacity: 1; }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1);
    }
}

@keyframes pod-heart-sparkle {
    0% { opacity: 0; transform: scale(0) rotate(0deg); }
    35% { opacity: 1; transform: scale(1.1) rotate(25deg); }
    100% { opacity: 0; transform: scale(0.2) rotate(90deg); }
}

.pod-repeat-badge {
    position: absolute;
    right: 0.15rem;
    top: 0.15rem;
    display: inline-flex;
    min-width: 0.85rem;
    height: 0.85rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--pod-primary);
    color: #ffffff;
    font-size: 0.55rem;
    font-weight: 800;
    line-height: 1;
}

.pod-mini-player {
    box-sizing: border-box;
    position: fixed !important;
    left: 1rem !important;
    right: 1rem !important;
    bottom: 1rem !important;
    z-index: 60 !important;
    width: auto !important;
    max-width: calc(100vw - 2rem) !important;
    border: 1px solid var(--pod-border) !important;
    border-radius: 1.15rem !important;
    overflow: visible;
}

.pod-mini-play-button {
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--pod-primary);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 26px rgba(237, 115, 119, 0.35);
    transition: background-color 180ms ease, transform 180ms ease;
}

.pod-mini-play-button:hover {
    background: var(--pod-primary-dark);
}

.pod-main-controls .pod-icon-button {
    color: var(--pod-text) !important;
    font-size: 1.25rem;
    font-weight: 900;
    text-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
}

.pod-main-controls .pod-icon-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16) !important;
}

.pod-main-controls .pod-secondary-control {
    font-size: 1.35rem;
}

.pod-mini-previous-button,
.pod-mini-next-button {
    display: inline-flex;
    min-height: 2.5rem;
    min-width: 2.5rem;
    align-items: center;
    justify-content: center;
    color: var(--pod-text);
    font-size: 1.15rem;
    font-weight: 900;
    text-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.12));
}

.pod-page-shell,
.pod-app-frame,
.pod-now-playing-card,
.pod-now-playing-grid,
.pod-controls-wrap,
.pod-main-controls {
    max-width: 100%;
    min-width: 0;
}

.pod-page-shell {
    overflow-x: hidden;
}

.pod-now-playing-card * {
    min-width: 0;
}

.pod-controls-wrap {
    width: 100%;
}

.pod-main-controls {
    width: 100%;
    max-width: 28rem;
}

@media (max-width: 767px) {
    .pod-volume-row {
        display: none !important;
    }

    .pod-now-playing-card {
        contain: layout paint;
    }

    .pod-main-controls {
        grid-template-columns: repeat(5, 1fr) !important;
        overflow: hidden;
    }

    .pod-main-controls .pod-icon-button,
    .pod-main-controls .pod-play-button {
        justify-self: center;
    }
}

@media (max-width: 1023px) {
    .pod-main-controls {
        max-width: 100%;
    }

    .pod-now-playing-card .pod-icon-button {
        flex: 0 0 auto;
    }

    .pod-now-playing-card .pod-play-button {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .pod-page-shell {
        padding: 0 !important;
        background: var(--pod-bg);
    }

    .pod-app-frame {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0.75rem !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }

    .pod-card,
    .pod-soft-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .pod-now-playing-card {
        min-height: 0;
        padding: 1rem !important;
    }

    .pod-now-playing-head {
        padding-right: 3.5rem !important;
    }

    .pod-track-actions {
        display: flex !important;
        right: 0.8rem !important;
        top: 0.8rem !important;
    }

    .pod-now-playing-head h2 {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        font-size: 1.35rem !important;
        line-height: 1.15 !important;
    }

    .pod-now-playing-card .pod-mini-play-button [aria-hidden="true"] {
        display: inline-flex;
        height: auto !important;
        align-items: center;
        justify-content: center;
        line-height: 1;
        opacity: 1;
    }

    .pod-main-controls {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .pod-main-controls .pod-secondary-control {
        display: none !important;
    }

    .pod-main-controls .pod-icon-button,
    .pod-main-controls .pod-play-button {
        justify-self: center;
    }

    .pod-play-button {
        height: 3.25rem !important;
        width: 3.25rem !important;
    }

    .pod-range {
        min-width: 0 !important;
    }
}

@media (max-width: 639px) {
    body:has(.pod-page-shell) {
        background: var(--pod-bg);
    }

    html,
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .pod-page-shell {
        padding: 1rem 0.6rem 7rem;
    }

    .pod-app-frame {
        overflow: hidden;
        border-radius: 1.75rem;
        padding: 0.75rem;
    }

    .pod-card {
        border-radius: 1.25rem;
    }

    .pod-soft-card {
        border-radius: 1.35rem;
    }

    .pod-pill {
        padding: 0.45rem 0.85rem;
        font-size: 0.78rem;
        line-height: 1.1;
    }

    .pod-page-shell,
    .pod-app-frame {
        box-sizing: border-box;
        width: 100%;
        max-width: 100vw;
    }

    .pod-now-playing-card {
        padding: 1rem;
    }

    .pod-now-playing-grid,
    .pod-now-playing-card > div,
    .pod-now-playing-card input,
    .pod-now-playing-card img {
        max-width: 100%;
        min-width: 0;
    }

    .pod-now-playing-head {
        display: block !important;
        padding-right: 4.25rem;
    }

    .pod-now-playing-head img {
        width: 5.75rem;
        border-radius: 1rem;
    }

    .pod-now-playing-head h2 {
        font-size: 1.45rem;
        line-height: 1.1;
    }

    .pod-now-playing-head p {
        font-size: 0.95rem;
    }

    .pod-controls-wrap {
        gap: 1rem;
    }

    .pod-main-controls {
        gap: 0.1rem;
    }

    .pod-main-controls {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        justify-items: center;
        width: 100% !important;
        max-width: 100% !important;
    }

    .pod-volume-row {
        gap: 0.75rem;
        max-width: 100% !important;
    }

    .pod-main-controls .pod-icon-button {
        width: 2rem;
        min-width: 2rem;
        padding: 0;
    }

    .pod-page-shell .space-y-5 > :not([hidden]) ~ :not([hidden]) {
        margin-top: 0.85rem;
    }

    .pod-icon-button {
        height: 2.35rem;
        width: 2.35rem;
    }

    .pod-now-playing-card .pod-icon-button {
        height: 2rem;
        width: 2rem;
    }

    .pod-play-button {
        height: 3.5rem;
        width: 3.5rem;
    }
}

@media (min-width: 640px) {
    .pod-page-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .pod-app-frame {
        padding: 1.5rem;
    }

    .pod-mini-player {
        left: 1.5rem !important;
        right: 1.5rem !important;
        max-width: calc(100vw - 3rem) !important;
    }
}

@media (min-width: 1024px) {
    .pod-page-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .pod-mini-player {
        left: 2rem !important;
        right: 2rem !important;
        max-width: calc(100vw - 4rem) !important;
    }
}

/* Final phone overrides: keep every nested music frame inside the physical viewport. */
@media (max-width: 640px) {
    .pod-track-actions {
        display: flex !important;
        right: 0.75rem !important;
        top: 0.75rem !important;
    }

    .pod-track-actions .pod-heart-button {
        width: 2.35rem !important;
        height: 2.35rem !important;
    }

    .pod-mini-player {
        left: 50% !important;
        right: auto !important;
        bottom: 4.95rem !important;
        width: calc(100vw - 2rem) !important;
        max-width: calc(100vw - 2rem) !important;
        transform: translateX(-50%) !important;
        border-radius: 1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .pod-mini-heart {
        overflow: visible !important;
    }

    .pod-mini-heart .pod-heart-button {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }

    .pod-mini-previous-button,
    .pod-mini-next-button {
        min-width: 2.2rem !important;
        min-height: 2.2rem !important;
    }

    .pod-mini-track-text {
        display: none !important;
    }

    .pod-mini-player > div {
        grid-template-columns: auto 1fr auto !important;
        gap: 0.75rem !important;
    }

    .pod-mini-player > div::after {
        content: "";
        display: block;
        width: 5.2rem;
    }

    .pod-mini-player .flex.min-w-0.items-center {
        min-width: auto !important;
        gap: 0.6rem !important;
    }

    .pod-mini-controls {
        justify-self: center !important;
        justify-content: center !important;
        gap: 0.65rem !important;
    }

    .pod-mini-play-button {
        height: 2.85rem !important;
        width: 2.85rem !important;
    }

    .pod-mini-play-button [aria-hidden="true"] {
        display: inline-flex !important;
        height: auto !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        opacity: 1 !important;
    }

    .pod-now-playing-card,
    .pod-controls-wrap,
    .pod-main-controls {
        overflow: visible !important;
    }

    .pod-main-controls .pod-mini-play-button {
        justify-self: center !important;
    }

    .pod-page-shell {
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding: 0.75rem 0.5rem 7rem !important;
    }

    .pod-app-frame {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .pod-page-shell .pod-card,
    .pod-page-shell .pod-soft-card,
    .pod-page-shell .grid,
    .pod-page-shell .space-y-5,
    .pod-page-shell aside,
    .pod-page-shell section,
    .pod-page-shell article {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .pod-page-shell .pod-card,
    .pod-page-shell .pod-soft-card {
        border-radius: 1.15rem !important;
    }

    .pod-now-playing-card {
        display: block !important;
        padding: 0.9rem !important;
    }

    .pod-now-playing-grid {
        display: block !important;
    }

    .pod-now-playing-card .grid-cols-\[auto_minmax\(0\,1fr\)_auto\] {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        gap: 0.5rem !important;
    }

    .pod-main-controls {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 0.25rem !important;
    }

    .pod-main-controls .pod-secondary-control {
        display: none !important;
    }

    .pod-now-playing-card input[type="range"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .pod-now-playing-card {
        min-height: 0 !important;
        border-radius: 1.35rem !important;
        padding: 0.85rem !important;
    }

    .pod-now-playing-card > .pod-now-playing-grid {
        display: block !important;
    }

    .pod-now-playing-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 7.1rem !important;
        align-items: center !important;
        gap: 0.9rem !important;
        padding-right: 0 !important;
        margin-bottom: 0.75rem !important;
    }

    .pod-now-playing-head .pod-now-playing-art {
        display: block !important;
        width: 7.1rem !important;
        border-radius: 1rem !important;
        justify-self: end !important;
    }

    .pod-now-playing-head h2 {
        margin-top: 0.55rem !important;
        font-size: 1.35rem !important;
        line-height: 1.08 !important;
        white-space: normal !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .pod-now-playing-head p {
        margin-top: 0.35rem !important;
        font-size: 0.82rem !important;
    }

    .pod-track-actions {
        right: 0.65rem !important;
        top: 0.65rem !important;
    }

    .pod-audio-waveform {
        height: 3.15rem !important;
        gap: 0.12rem !important;
    }

    .pod-controls-wrap {
        margin-top: 1rem !important;
        gap: 0.85rem !important;
    }

    .pod-main-controls {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 0.15rem !important;
    }

    .pod-main-controls .pod-secondary-control {
        display: inline-flex !important;
    }

    .pod-main-controls .pod-icon-button {
        width: 2.35rem !important;
        height: 2.35rem !important;
        min-width: 2.35rem !important;
        font-size: 1.2rem !important;
        box-shadow: 0 8px 16px rgba(15, 23, 42, 0.14) !important;
    }

    .pod-main-controls .pod-mini-play-button {
        width: 3.15rem !important;
        height: 3.15rem !important;
    }

    .pod-genre-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.55rem !important;
    }

    .pod-genre-grid .pod-picker-tile {
        min-height: 5.25rem !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.3rem !important;
        padding: 0.55rem 0.35rem !important;
        text-align: center !important;
        border-radius: 0.85rem !important;
    }

    .pod-genre-grid .pod-picker-icon {
        width: 2.15rem !important;
        height: 2.15rem !important;
        border-radius: 0.7rem !important;
        font-size: 1.35rem !important;
    }

    .pod-genre-grid .pod-picker-tile .min-w-0 {
        width: 100% !important;
    }

    .pod-genre-grid .pod-picker-tile .font-bold {
        font-size: 0.58rem !important;
        line-height: 1.08 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .pod-genre-grid .pod-picker-tile .text-sm {
        font-size: 0.54rem !important;
        line-height: 1.05 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .pod-genre-grid .pod-picker-back-tile {
        width: auto !important;
        min-width: 0 !important;
        justify-self: stretch !important;
    }

    .pod-lower-content {
        gap: 1.5rem !important;
        padding-bottom: 10.5rem !important;
    }

    .pod-lower-content > :not([hidden]) ~ :not([hidden]) {
        margin-top: 1.5rem !important;
    }

    .pod-page-shell .xl\:grid-cols-\[24rem_minmax\(0\,1fr\)\] {
        display: block !important;
    }

    .pod-page-shell .min-w-\[14rem\],
    .pod-page-shell .min-w-\[9\.75rem\],
    .pod-page-shell .sm\:min-w-\[11rem\],
    .pod-page-shell .lg\:min-w-\[10\.75rem\] {
        min-width: 0 !important;
    }

    .pod-page-shell .min-w-\[14rem\] {
        min-width: min(14rem, calc(100vw - 3rem)) !important;
    }

    .pod-page-shell .grid-cols-\[1rem_3rem_minmax\(0\,1fr\)_auto_auto\] {
        grid-template-columns: 0.75rem 2.75rem minmax(0, 1fr) auto !important;
    }

    .pod-page-shell .grid-cols-\[1rem_3rem_minmax\(0\,1fr\)_auto_auto\] > :last-child {
        display: none !important;
    }
}

.pod-search-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(15, 23, 42, 0.42);
    padding: 1rem;
    backdrop-filter: blur(8px);
}

.pod-search-modal {
    width: min(42rem, 100%);
    max-height: min(78vh, 42rem);
    overflow: hidden;
    border: 1px solid var(--pod-border);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(255, 231, 229, 0.72), transparent 18rem),
        #ffffff;
    padding: 1rem;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
}

.pod-search-close {
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #ffffff;
    color: var(--pod-text);
    font-size: 1.65rem;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), 0 8px 18px rgba(15, 23, 42, 0.08);
}

.pod-search-input {
    width: 100%;
    border: 1px solid var(--pod-border);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.9rem 1rem;
    color: var(--pod-text);
    font-weight: 600;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 8px 18px rgba(15, 23, 42, 0.05);
}

.pod-search-input:focus {
    border-color: rgba(237, 115, 119, 0.55);
    box-shadow: 0 0 0 3px rgba(237, 115, 119, 0.16), 0 8px 18px rgba(15, 23, 42, 0.05);
}

.pod-search-results {
    max-height: calc(min(78vh, 42rem) - 10rem);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.pod-search-result {
    display: grid;
    width: 100%;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    border-radius: 1rem;
    padding: 0.6rem;
    transition: background-color 180ms ease, transform 180ms ease;
}

.pod-search-result:hover {
    background: var(--pod-primary-soft);
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .pod-search-modal-backdrop {
        align-items: center;
    }
}

/* === end Pod Music Player Design System === */

/* === hearIT Home Page Enhancements === */

@keyframes heroRingPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.06); }
}

@keyframes waveBar {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

.hero-dots {
    background-image: radial-gradient(circle, rgba(203, 213, 225, 0.2) 1px, transparent 1px);
    background-size: 28px 28px;
    animation: dotGridShift 18s linear infinite;
}

@keyframes dotGridShift {
    0% { background-position: 0 0; }
    100% { background-position: 28px 28px; }
}

.hero-gradient-text {
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.hero-card {
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.15),
                0 32px 64px -16px rgba(0, 0, 0, 0.7);
}

.service-card {
    transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 350ms ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(100, 116, 139, 0.2),
                0 8px 16px -8px rgba(0, 0, 0, 0.12);
}

.about-stat-card {
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.about-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -8px rgba(100, 116, 139, 0.25);
}

/* === end hearIT Home Page Enhancements === */

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* === admin operations console === */

.admin-workspace {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.08), transparent 34%),
        linear-gradient(180deg, #07111f 0%, #0b1220 100%);
}

.admin-panel {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.94);
    box-shadow: 0 18px 50px -32px rgba(0, 0, 0, 0.8);
}

.admin-input {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.72);
    padding: 0.65rem 0.75rem;
    color: #f8fafc;
    font-size: 0.8125rem;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.admin-input::placeholder {
    color: #64748b;
}

.admin-input:focus {
    border-color: rgba(103, 232, 249, 0.75);
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}

.admin-primary-button,
.admin-ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    border-radius: 0.5rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.admin-primary-button {
    background: #0891b2;
    color: #f0fdff;
}

.admin-primary-button:hover {
    background: #0e7490;
}

.admin-ghost-button {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
}

.admin-ghost-button:hover {
    border-color: rgba(103, 232, 249, 0.36);
    background: rgba(34, 211, 238, 0.1);
    color: #ffffff;
}

.admin-workspace .rounded-3xl,
.admin-workspace .rounded-2xl,
.admin-workspace .rounded-xl,
.admin-workspace .rounded-full {
    border-radius: 0.5rem !important;
}

.admin-workspace .p-8,
.admin-workspace .sm\:p-8,
.admin-workspace .p-6,
.admin-workspace .sm\:p-6 {
    padding: 1rem !important;
}

.admin-workspace input,
.admin-workspace textarea,
.admin-workspace select,
.admin-workspace button {
    font-size: 0.8125rem;
}

.admin-workspace .shadow-sm {
    box-shadow: 0 14px 40px -30px rgba(15, 23, 42, 0.75) !important;
}

.admin-workspace .border-slate-200 {
    border-color: rgba(148, 163, 184, 0.2) !important;
}

.admin-workspace .border-slate-300 {
    border-color: rgba(148, 163, 184, 0.24) !important;
}

.admin-workspace .bg-white,
.admin-workspace .bg-slate-50,
.admin-workspace .bg-slate-100 {
    background-color: rgba(15, 23, 42, 0.86) !important;
}

.admin-workspace .bg-emerald-50 {
    background-color: rgba(16, 185, 129, 0.12) !important;
}

.admin-workspace .bg-amber-50 {
    background-color: rgba(245, 158, 11, 0.12) !important;
}

.admin-workspace .bg-rose-50 {
    background-color: rgba(244, 63, 94, 0.12) !important;
}

.admin-workspace .bg-slate-950 {
    background-color: rgba(2, 6, 23, 0.92) !important;
}

.admin-workspace .text-slate-900,
.admin-workspace .text-black {
    color: #f8fafc !important;
}

.admin-workspace .text-slate-800,
.admin-workspace .text-slate-700,
.admin-workspace .text-slate-600 {
    color: #cbd5e1 !important;
}

.admin-workspace .text-slate-500 {
    color: #94a3b8 !important;
}

.admin-workspace .text-emerald-800 {
    color: #a7f3d0 !important;
}

.admin-workspace .text-amber-800,
.admin-workspace .text-amber-900 {
    color: #fde68a !important;
}

.admin-workspace .text-rose-700 {
    color: #fecdd3 !important;
}

.admin-workspace .divide-slate-100 > :not([hidden]) ~ :not([hidden]),
.admin-workspace .divide-slate-200 > :not([hidden]) ~ :not([hidden]) {
    border-color: rgba(148, 163, 184, 0.16) !important;
}

.admin-workspace input:not([type="checkbox"]),
.admin-workspace textarea,
.admin-workspace select {
    border-color: rgba(148, 163, 184, 0.24) !important;
    background-color: rgba(15, 23, 42, 0.88) !important;
    color: #f8fafc !important;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.admin-workspace input::placeholder,
.admin-workspace textarea::placeholder {
    color: #64748b !important;
}

.admin-workspace input:not([type="checkbox"]):focus,
.admin-workspace textarea:focus,
.admin-workspace select:focus {
    border-color: rgba(103, 232, 249, 0.72) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14) !important;
}

.admin-workspace button,
.admin-workspace tr,
.admin-workspace label,
.admin-workspace a {
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.admin-workspace button:hover,
.admin-workspace .hover\:bg-white:hover,
.admin-workspace .hover\:bg-slate-50:hover,
.admin-workspace .hover\:bg-slate-800:hover,
.admin-workspace .hover\:bg-cyan-700:hover {
    background-color: rgba(8, 47, 73, 0.86) !important;
    border-color: rgba(103, 232, 249, 0.32) !important;
    color: #ffffff !important;
}

.admin-workspace tbody tr:hover {
    background-color: rgba(8, 47, 73, 0.42) !important;
}

.admin-workspace .terms-editor,
.admin-workspace .terms-preview,
.terms-editor,
.terms-preview {
    background: #ffffff !important;
    color: #1f2937 !important;
}

.admin-workspace .terms-editor *,
.admin-workspace .terms-preview *,
.terms-editor *,
.terms-preview * {
    color: inherit !important;
}

.terms-public h1,
.terms-public h2,
.terms-public h3,
.terms-editor h1,
.terms-editor h2,
.terms-editor h3,
.terms-preview h1,
.terms-preview h2,
.terms-preview h3 {
    margin: 1rem 0 0.5rem;
    color: #020617;
    font-weight: 700;
    line-height: 1.25;
}

.terms-public h1,
.terms-editor h1,
.terms-preview h1 {
    font-size: 1.5rem;
}

.terms-public h2,
.terms-editor h2,
.terms-preview h2 {
    font-size: 1.25rem;
}

.terms-public h3,
.terms-editor h3,
.terms-preview h3 {
    font-size: 1.05rem;
}

.terms-public p,
.terms-public ul,
.terms-public ol,
.terms-editor p,
.terms-editor ul,
.terms-editor ol,
.terms-preview p,
.terms-preview ul,
.terms-preview ol {
    margin: 0.65rem 0;
}

.terms-public ul,
.terms-editor ul,
.terms-preview ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.terms-public ol,
.terms-editor ol,
.terms-preview ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

.admin-workspace .file\:bg-slate-900::file-selector-button {
    background-color: #0891b2 !important;
    color: #ecfeff !important;
    transition: background-color 180ms ease;
}

.admin-workspace .file\:bg-slate-900::file-selector-button:hover {
    background-color: #0e7490 !important;
}

.admin-section-transition {
    animation: adminSectionIn 220ms ease-out both;
}

.admin-workspace .fixed form {
    animation: adminModalIn 240ms ease-out both;
}

.admin-workspace .fixed.inset-0 {
    animation: adminOverlayIn 180ms ease-out both;
}

@keyframes adminSectionIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes adminModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes adminOverlayIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-section-transition,
    .admin-workspace *,
    .admin-workspace *::before,
    .admin-workspace *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* === end admin operations console === */

.maintenance-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1f2937;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), transparent 35%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.22), transparent 35%),
        linear-gradient(135deg, #f8fafc, #eef2ff);
    overflow: hidden;
}

.maintenance-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.maintenance-bubble {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.08);
    animation: maintenanceFloatBubble 12s ease-in-out infinite;
}

.maintenance-bubble:nth-child(1) {
    top: 12%;
    left: 8%;
}

.maintenance-bubble:nth-child(2) {
    width: 220px;
    height: 220px;
    right: 10%;
    bottom: 8%;
    animation-delay: -4s;
}

.maintenance-bubble:nth-child(3) {
    width: 110px;
    height: 110px;
    right: 22%;
    top: 18%;
    animation-delay: -7s;
}

.maintenance-card {
    position: relative;
    width: min(92%, 520px);
    padding: 42px 36px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    animation: maintenanceCardEnter 700ms ease both;
}

.maintenance-gear-wrap {
    width: 96px;
    height: 96px;
    margin: 0 auto 26px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.28);
}

.maintenance-gear {
    width: 54px;
    height: 54px;
    animation: maintenanceSpin 4s linear infinite;
    fill: #ffffff;
}

.maintenance-card h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 14px;
    color: #0f172a;
}

.maintenance-card p {
    max-width: 420px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
}

.maintenance-status {
    margin-top: 30px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(241, 245, 249, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.maintenance-status-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
}

.maintenance-progress-track {
    height: 9px;
    border-radius: 999px;
    overflow: hidden;
    background: #dbeafe;
}

.maintenance-progress-fill {
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #38bdf8, #2563eb);
    background-size: 200% 100%;
    animation: maintenanceProgressGlow 1.8s ease-in-out infinite;
}

.maintenance-footer-note {
    margin-top: 24px;
    font-size: 0.9rem;
    color: #64748b;
}

@keyframes maintenanceSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes maintenanceProgressGlow {
    0% {
        background-position: 0% 50%;
        width: 35%;
    }

    50% {
        background-position: 100% 50%;
        width: 78%;
    }

    100% {
        background-position: 0% 50%;
        width: 35%;
    }
}

@keyframes maintenanceFloatBubble {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(24px, -30px, 0) scale(1.08);
    }
}

@keyframes maintenanceCardEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

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

@media (max-width: 480px) {
    .maintenance-card {
        padding: 34px 24px;
        border-radius: 24px;
    }

    .maintenance-gear-wrap {
        width: 82px;
        height: 82px;
        border-radius: 24px;
    }

    .maintenance-gear {
        width: 46px;
        height: 46px;
    }
}
