:root {
    --bg: #f4f9fc;
    --surface: #ffffff;
    --surface-2: #eef7fb;
    --primary: #0a6d96;
    --primary-dark: #084c69;
    --primary-soft: #d9f0f7;
    --accent: #f3c64d;
    --text: #122536;
    --muted: #5f7283;
    --line: #d7e5ee;
    --success: #1e9e6a;
    --danger: #dc3545;
    --shadow: 0 18px 50px rgba(11, 67, 94, 0.12);
    --radius: 22px;
    --radius-sm: 16px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(10, 109, 150, 0.09), transparent 28%),
        radial-gradient(circle at bottom right, rgba(243, 198, 77, 0.18), transparent 25%),
        var(--bg);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--max-width), calc(100% - 32px));
    margin-inline: auto;
}

.public-main {
    min-height: calc(100vh - 180px);
}

.public-section {
    padding: 48px 0 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: rgba(10, 109, 150, 0.08);
    border: 1px solid rgba(10, 109, 150, 0.12);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.92rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 249, 252, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(215, 229, 238, 0.8);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 35% 30%, #0f87bd 0%, #095a80 58%, #063b56 100%);
    box-shadow: inset 0 0 0 3px #10293a, inset 0 0 0 5px #d9b251, 0 10px 18px rgba(10, 109, 150, 0.18);
    position: relative;
    overflow: hidden;
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px dashed rgba(243, 198, 77, 0.7);
    opacity: 0.75;
}

.brand-mark span {
    position: relative;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.08em;
}

.brand-mark .d {
    color: #23b4ec;
    transform: translateX(3px);
}

.brand-mark .s {
    color: var(--accent);
    margin-left: -7px;
}

.brand-text strong {
    display: block;
    font-size: 1.12rem;
    letter-spacing: -0.02em;
}

.brand-text small {
    color: var(--muted);
    display: block;
    font-size: 0.88rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    color: var(--muted);
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--primary);
    place-items: center;
    font-size: 1.3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.25s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #223146;
    box-shadow: 0 12px 26px rgba(243, 198, 77, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(243, 198, 77, 0.35);
}

.btn-white {
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--line);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.user-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(10, 109, 150, 0.08);
    border: 1px solid rgba(10, 109, 150, 0.12);
    color: var(--primary-dark);
    font-weight: 700;
}

.auth-shell {
    display: flex;
    justify-content: center;
}

.auth-card {
    width: min(100%, 640px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.auth-card-head {
    margin-bottom: 20px;
}

.auth-title {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.15;
}

.auth-subtitle {
    margin: 0;
    color: var(--muted);
}

.auth-form {
    display: grid;
    gap: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea,
.public-filter-card .form-control,
.public-filter-card .form-select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    background: #fff;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.public-filter-card .form-control:focus,
.public-filter-card .form-select:focus {
    outline: none;
    border-color: rgba(10, 109, 150, 0.45);
    box-shadow: 0 0 0 4px rgba(10, 109, 150, 0.08);
}

.auth-submit {
    width: 100%;
}

.auth-switch {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    color: var(--muted);
}

.auth-switch a {
    color: var(--primary);
    font-weight: 700;
}

.alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.alert-success-like {
    background: rgba(30, 158, 106, 0.1);
    color: #146a47;
    border-color: rgba(30, 158, 106, 0.14);
}

.alert-danger-like {
    background: rgba(220, 53, 69, 0.08);
    color: #842029;
    border-color: rgba(220, 53, 69, 0.14);
}

.public-page-head {
    margin-bottom: 24px;
}

.public-page-title {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
}

.public-page-subtitle {
    margin: 0;
    color: var(--muted);
    max-width: 70ch;
}

.public-filter-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(18, 37, 54, 0.06);
    padding: 18px;
}

.course-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.public-course-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(18, 37, 54, 0.06);
    display: grid;
    gap: 14px;
}

.public-course-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.public-course-category {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.public-course-card h3 {
    margin: 0;
    font-size: 1.12rem;
}

.public-course-desc {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

.public-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.public-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--primary-dark);
}

.public-chip.free {
    background: rgba(30, 158, 106, 0.1);
    color: var(--success);
    border-color: rgba(30, 158, 106, 0.15);
}

.public-chip.price {
    background: rgba(243, 198, 77, 0.16);
    color: #7a5a00;
    border-color: rgba(243, 198, 77, 0.28);
}

.public-chip.featured {
    background: rgba(10, 109, 150, 0.1);
    color: var(--primary);
    border-color: rgba(10, 109, 150, 0.14);
}

.public-chip.neutral {
    background: rgba(18, 37, 54, 0.05);
    color: var(--text);
}

.public-empty-state {
    text-align: center;
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: 20px;
    padding: 36px 20px;
    color: var(--muted);
}

.site-footer {
    margin-top: 30px;
    background: linear-gradient(180deg, #0b3650 0%, #0a2840 100%);
    color: #fff;
    padding: 28px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.footer-brand-title {
    color: #fff;
}

.footer-brand-subtitle {
    color: rgba(255, 255, 255, 0.72) !important;
}

.footer-text {
    color: rgba(255, 255, 255, 0.78);
    max-width: 50ch;
    margin-top: 14px;
}

.footer-links,
.footer-contact {
    display: grid;
    gap: 10px;
}

.footer-title {
    font-size: 1rem;
    margin: 0 0 10px;
}

.footer-bottom {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

@media (max-width: 1080px) {
    .footer-grid,
    .course-list-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        min-height: 76px;
    }

    .menu-toggle {
        display: grid;
    }

    .nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        padding: 18px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .nav.open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-grid,
    .course-list-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}
.account-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(10, 109, 150, 0.08);
    border: 1px solid rgba(10, 109, 150, 0.12);
    color: var(--primary-dark);
    font-weight: 700;
    min-height: 46px;
}

.account-pill:hover {
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.account-pill-name {
    white-space: nowrap;
}

.account-avatar-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(10, 109, 150, 0.14);
    flex-shrink: 0;
}

.account-avatar-fallback {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
}
.home-hero-section {
    padding: 34px 0 22px;
}

.home-hero-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(135deg, #0c5f82 0%, #1185b0 55%, #28a6d0 100%);
    color: #fff;
    padding: clamp(26px, 5vw, 54px);
    box-shadow: var(--shadow);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 26px;
    align-items: center;
}

.home-hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 14px;
}

.home-hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.04rem;
    max-width: 56ch;
    margin: 0;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.home-stat-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.home-stat-card strong {
    display: block;
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 6px;
}

.home-stat-card span {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.94rem;
}

.home-hero-panel-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(6px);
}

.home-hero-panel-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.home-hero-panel-card p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.86);
}

.home-hero-list {
    margin: 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.86);
}

.home-hero-list li + li {
    margin-top: 8px;
}

.public-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.public-section-title {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2.3rem);
    line-height: 1.15;
}

.public-link-more {
    color: var(--primary);
    font-weight: 700;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-category-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(18, 37, 54, 0.06);
}

.home-category-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.home-category-card p {
    margin: 0;
    color: var(--muted);
}

.public-course-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.home-info-banner {
    background: linear-gradient(135deg, rgba(10, 109, 150, 0.06), rgba(243, 198, 77, 0.12)), var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    box-shadow: 0 8px 24px rgba(18, 37, 54, 0.06);
}

.home-info-banner h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.home-info-banner p {
    margin: 0;
    color: var(--muted);
    max-width: 64ch;
}

.course-detail-hero {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(18, 37, 54, 0.06);
}

.course-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.public-back-link {
    color: var(--primary);
    font-weight: 700;
}

.course-detail-title {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.12;
}

.course-detail-subtitle {
    margin: 0;
    color: var(--muted);
    max-width: 70ch;
}

.course-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.course-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}

.course-detail-note {
    color: var(--muted);
    font-size: 0.94rem;
}

.course-detail-panel {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
}

.course-detail-panel h3 {
    margin: 0 0 14px;
    font-size: 1.1rem;
}

.course-detail-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.course-detail-list li + li {
    margin-top: 8px;
}
.home-premium-hero {
    padding: 30px 0 18px;
}

.home-premium-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 22%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.14), transparent 20%),
        linear-gradient(135deg, #0b5f82 0%, #1185b0 56%, #27a6d1 100%);
    color: #fff;
    padding: clamp(26px, 5vw, 52px);
    box-shadow: 0 22px 54px rgba(11, 67, 94, 0.18);
}

.home-premium-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 26px;
    align-items: center;
}

.home-premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.home-premium-title {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 14px;
}

.home-premium-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.04rem;
    max-width: 58ch;
}

.home-premium-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.home-premium-microcopy {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    max-width: 58ch;
}

.home-premium-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.home-premium-stat {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 16px 16px;
}

.home-premium-stat strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1;
    margin-bottom: 6px;
}

.home-premium-stat span {
    display: block;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.84);
}

.home-premium-visual {
    position: relative;
}

.nurse-dashboard-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    padding: 22px;
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(6, 54, 76, 0.18);
}

.nurse-dashboard-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.nurse-dashboard-label {
    font-size: 0.95rem;
    font-weight: 700;
}

.nurse-dashboard-badge {
    background: rgba(243, 198, 77, 0.18);
    color: #fff2c5;
    border: 1px solid rgba(243, 198, 77, 0.28);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.nurse-dashboard-body {
    display: grid;
    gap: 14px;
}

.nurse-mini-panel {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: start;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.nurse-mini-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.4rem;
}

.nurse-mini-panel strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.98rem;
}

.nurse-mini-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
}

.nurse-dashboard-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.nurse-progress-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 14px;
}

.nurse-progress-card span {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 5px;
}

.nurse-progress-card strong {
    font-size: 0.98rem;
}

.floating-pill {
    position: absolute;
    z-index: 2;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #084c69;
    font-weight: 700;
    font-size: 0.82rem;
    box-shadow: 0 10px 22px rgba(6, 54, 76, 0.14);
}

.floating-pill-top {
    top: 18px;
    right: -8px;
}

.floating-pill-bottom {
    bottom: 18px;
    left: -8px;
}

.health-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.health-category-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 26px rgba(18, 37, 54, 0.06);
    transition: 0.25s ease;
}

.health-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(18, 37, 54, 0.1);
}

.health-category-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #e8f8fd 0%, #f7fcff 100%);
    border: 1px solid #cfe7f2;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.health-category-card h3 {
    margin: 0 0 8px;
    font-size: 1.06rem;
}

.health-category-card p {
    margin: 0;
    color: var(--muted);
}

.premium-course-grid {
    gap: 24px;
}

.premium-course-card {
    overflow: hidden;
    padding: 0;
}

.premium-course-thumb {
    position: relative;
    min-height: 220px;
    background: linear-gradient(135deg, #c8f1fb 0%, #dff8ff 40%, #99dff5 100%);
    border-bottom: 1px solid var(--line);
}

.premium-course-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.premium-thumb-fallback {
    position: relative;
    min-height: 220px;
    padding: 18px;
    overflow: hidden;
}

.premium-thumb-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(8, 76, 105, 0.88);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.premium-thumb-visual {
    position: absolute;
    inset: 0;
}

.premium-thumb-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    top: -28px;
    right: -16px;
    background: rgba(255, 255, 255, 0.35);
}

.premium-thumb-box {
    position: absolute;
    right: 30px;
    top: 52px;
    width: 96px;
    height: 68px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(10, 109, 150, 0.12);
}

.premium-thumb-line {
    position: absolute;
    left: 26px;
    bottom: 28px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(10, 109, 150, 0.12);
}

.premium-course-card .public-course-top,
.premium-course-card .public-course-desc,
.premium-course-card .premium-course-meta,
.premium-course-card .public-course-actions {
    padding-left: 20px;
    padding-right: 20px;
}

.premium-course-card .public-course-top {
    padding-top: 18px;
}

.premium-course-card .public-course-actions {
    padding-bottom: 20px;
}

.premium-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.why-health-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.why-health-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(18, 37, 54, 0.06);
}

.why-health-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #e8f8fd 0%, #f8fcff 100%);
    border: 1px solid #cde7f2;
    font-size: 1.8rem;
}

.why-health-card h3 {
    margin: 0 0 8px;
}

.why-health-card p {
    margin: 0;
    color: var(--muted);
}

.study-flow-banner {
    background: linear-gradient(135deg, rgba(10, 109, 150, 0.06), rgba(243, 198, 77, 0.12)), #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    box-shadow: 0 10px 26px rgba(18, 37, 54, 0.06);
}

.study-flow-left p {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 64ch;
}

.study-flow-steps {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.study-step-card {
    min-width: 128px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(18, 37, 54, 0.04);
}

.study-step-card strong {
    display: block;
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.study-step-card span {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.92rem;
}

.final-health-cta {
    background: linear-gradient(135deg, #0a6d96 0%, #0b5f82 100%);
    color: #fff;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 18px 42px rgba(10, 109, 150, 0.18);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

.final-health-cta h2 {
    margin-top: 0;
}

.final-health-cta p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.86);
    max-width: 65ch;
}

.final-health-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.medical-course-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(18, 37, 54, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.25s ease;
}

.medical-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(18, 37, 54, 0.12);
}

.medical-course-media {
    position: relative;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #c8f1fb 0%, #dff8ff 40%, #99dff5 100%);
}

.medical-course-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.medical-course-fallback {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #d8f4fb 0%, #eef9fd 45%, #c4eefa 100%);
}

.medical-course-fallback-art {
    position: absolute;
    inset: 0;
}

.medical-fallback-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    top: -24px;
    right: -12px;
    background: rgba(255, 255, 255, 0.38);
}

.medical-fallback-box {
    position: absolute;
    right: 32px;
    top: 56px;
    width: 98px;
    height: 68px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(10, 109, 150, 0.12);
}

.medical-fallback-cross {
    position: absolute;
    left: 28px;
    bottom: 26px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(10, 109, 150, 0.12);
    color: #0a6d96;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
}

.medical-course-overlay {
    position: absolute;
    inset: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.medical-course-top-badges {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.medical-course-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(8, 76, 105, 0.9);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    width: fit-content;
}

.medical-course-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.medical-course-title {
    margin: 0;
    min-height: 3.2em;
    font-size: 1.12rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.medical-course-title a {
    color: var(--text);
    text-decoration: none;
}

.medical-course-title a:hover {
    color: var(--primary);
}

.medical-course-description {
    margin: 12px 0 16px;
    color: var(--muted);
    min-height: 3.1em;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.medical-course-instructor {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid #eef3f7;
    border-bottom: 1px solid #eef3f7;
}

.medical-course-instructor-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(10, 109, 150, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
}

.medical-course-instructor-text {
    min-width: 0;
}

.medical-course-instructor-text small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 2px;
}

.medical-course-instructor-text strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.medical-course-meta-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding: 12px 0 4px;
    color: var(--muted);
    border-top: 1px solid #eef3f7;
}

.medical-meta-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--muted);
}

.medical-meta-chip strong {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.medical-meta-chip small {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.2;
}

.medical-meta-divider {
    color: #9bb0bf;
    font-size: 0.95rem;
    line-height: 1;
}

.medical-course-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.medical-course-actions .btn {
    flex: 1;
}
.enroll-page-shell {
    background: transparent;
}

.enroll-page-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 24px;
    align-items: start;
}

.enroll-course-summary,
.enroll-action-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(18, 37, 54, 0.06);
}

.enroll-page-title {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.14;
}

.enroll-page-subtitle {
    margin: 0;
    color: var(--muted);
}

.enroll-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.enroll-info-card {
    background: #f8fbfd;
    border: 1px solid #e8f0f5;
    border-radius: 18px;
    padding: 16px;
}

.enroll-info-card span {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
    margin-bottom: 6px;
}

.enroll-info-card strong {
    font-size: 1rem;
    color: var(--text);
}

.enroll-state-card {
    background: #fff;
    border: 1px solid #e8f0f5;
    border-radius: 20px;
    padding: 22px;
}

.enroll-state-card h4 {
    margin: 0 0 10px;
}

.enroll-state-card.success {
    border-left: 4px solid #198754;
}

.enroll-state-card.warning {
    border-left: 4px solid #f0ad4e;
}

.enroll-payment-form .form-control,
.enroll-payment-form .form-select {
    border-radius: 14px;
    padding: 12px 14px;
}

.my-learning-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.my-learning-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 10px 26px rgba(18, 37, 54, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.my-learning-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.my-learning-head h3 {
    margin: 0;
    font-size: 1.08rem;
}

.my-learning-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.my-learning-status.status-active {
    background: #d1e7dd;
    color: #0f5132;
}

.my-learning-status.status-pending {
    background: #fff3cd;
    color: #856404;
}

.my-learning-status.status-expired {
    background: #f8d7da;
    color: #842029;
}

.my-learning-meta {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.92rem;
}

.my-learning-meta strong {
    color: var(--text);
}

.my-learning-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.my-learning-actions .btn {
    flex: 1;
}

@media (max-width: 992px) {
    .enroll-page-grid,
    .my-learning-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .enroll-info-grid {
        grid-template-columns: 1fr;
    }

    .my-learning-actions {
        flex-direction: column;
    }

    .my-learning-actions .btn {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .medical-course-actions {
        flex-direction: column;
    }

    .medical-course-actions .btn {
        width: 100%;
    }

    .medical-course-meta-line {
        gap: 6px;
        font-size: 0.84rem;
    }

    .medical-meta-divider {
        display: none;
    }

    .medical-meta-chip {
        width: 100%;
    }
}
@media (max-width: 1080px) {
    .home-premium-grid,
    .study-flow-banner,
    .final-health-cta {
        grid-template-columns: 1fr;
    }

    .health-category-grid,
    .why-health-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-premium-stats,
    .health-category-grid,
    .why-health-grid {
        grid-template-columns: 1fr;
    }

    .home-premium-actions .btn,
    .public-course-actions .btn,
    .final-health-cta-actions .btn {
        width: 100%;
    }

    .nurse-dashboard-footer {
        grid-template-columns: 1fr;
    }

    .floating-pill {
        position: static;
        margin-top: 12px;
        display: inline-flex;
    }

    .study-flow-steps {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1080px) {
    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-hero-grid,
    .course-detail-grid,
    .home-info-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .public-section-head {
        flex-direction: column;
        align-items: start;
    }

    .home-stats-grid,
    .home-category-grid {
        grid-template-columns: 1fr;
    }

    .public-course-actions .btn,
    .home-hero-actions .btn {
        width: 100%;
    }
}
@media (max-width: 560px) {
    .container {
        width: min(var(--max-width), calc(100% - 20px));
    }

    .auth-card {
        padding: 22px 18px;
    }
}
.auth-forgot-link {
    margin-top: -4px;
    margin-bottom: 6px;
    text-align: right;
}

.auth-forgot-link a {
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.auth-forgot-link a:hover {
    text-decoration: underline;
}
:root {
    --bg: #f4f8ff;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-2: rgba(255, 255, 255, 0.58);
    --primary: #0362fc;
    --primary-dark: #023fad;
    --primary-soft: rgba(3, 98, 252, 0.08);
    --accent: #fcba03;
    --text: #10243d;
    --muted: #60738a;
    --line: rgba(255, 255, 255, 0.42);
    --success: #fcba03;
    --danger: #dc3545;
    --shadow: 0 22px 55px rgba(7, 28, 62, 0.12);
}

body.public-body {
    background:
        radial-gradient(circle at top left, rgba(3, 98, 252, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(3, 98, 252, 0.05), transparent 24%),
        linear-gradient(180deg, #f6f9ff 0%, #eef4ff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(13, 32, 71, 0.06);
}

.brand-logo-wrap {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 24px rgba(3, 98, 252, 0.12);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.brand-logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.footer-brand-logo-wrap {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.18);
}

.footer-brand-logo-img {
    width: 36px;
    height: 36px;
}

.btn-primary {
    background: linear-gradient(135deg, #0362fc 0%, #2f7bff 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(3, 98, 252, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 20px 38px rgba(3, 98, 252, 0.34);
}

.btn-white,
.account-pill,
.public-filter-card,
.public-course-card,
.home-category-card,
.health-category-card,
.home-info-banner,
.auth-card,
.course-detail-hero,
.course-detail-panel {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 40px rgba(8, 31, 74, 0.08);
}

.public-course-card,
.home-category-card,
.health-category-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.public-course-card:hover,
.home-category-card:hover,
.health-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 42px rgba(8, 31, 74, 0.14);
}

.public-chip.free,
.nurse-dashboard-badge,
.section-badge.gold,
.badge-premium,
.public-chip.price {
    background: rgba(252, 186, 3, 0.16);
    color: #8c6700;
    border-color: rgba(252, 186, 3, 0.3);
}

.home-premium-wrap,
.home-hero-wrap {
    position: relative;
    overflow: hidden;
}

.home-premium-wrap::after,
.home-hero-wrap::after {
    content: "";
    position: absolute;
    background-image: url('../branding/ds-nursing-logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.12;
    pointer-events: none;
    width: 240px;
    height: 240px;
    right: -32px;
    bottom: -24px;
}

.auth-card-head {
    position: relative;
    padding-top: 0;
}

.auth-card-head::before {
    display: none !important;
    content: none !important;
}

.home-premium-wrap::before,
.home-hero-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.16;
    pointer-events: none;
}

.global-toast-container {
    position: fixed;
    z-index: 3000;
    display: grid;
    gap: 12px;
    width: min(380px, calc(100vw - 32px));
    pointer-events: none;
}
.global-toast-top-right { top: 20px; right: 20px; }
.global-toast {
    --toast-duration: 12000ms;
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr 34px;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.74);
    box-shadow: 0 18px 40px rgba(8,31,74,0.16);
    overflow: hidden;
    pointer-events: auto;
    animation: globalToastIn 0.24s ease;
}
.global-toast.is-removing { animation: globalToastOut 0.22s ease forwards; }
.global-toast-icon {
    width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
}
.global-toast-message { color: #10243d; font-size: 0.94rem; line-height: 1.55; font-weight: 600; word-break: break-word; }
.global-toast-close { width: 34px; height: 34px; border: 0; border-radius: 12px; background: transparent; color: #6b7280; display: inline-flex; align-items: center; justify-content: center; }
.global-toast-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(15,23,42,0.06); overflow: hidden; }
.global-toast-progress span { display:block; width:100%; height:100%; transform-origin:left center; animation: globalToastProgress var(--toast-duration) linear forwards; }
.global-toast-success .global-toast-icon { background:#fef1c8; color:#8c6700; }
.global-toast-success .global-toast-progress span { background:#fcba03; }
.global-toast-error .global-toast-icon { background:#f8d7da; color:#842029; }
.global-toast-error .global-toast-progress span { background:#dc3545; }
.global-toast-warning .global-toast-icon { background:#fff3cd; color:#856404; }
.global-toast-warning .global-toast-progress span { background:#fcba03; }
.global-toast-info .global-toast-icon { background:#dbeafe; color:#1d4ed8; }
.global-toast-info .global-toast-progress span { background:#0362fc; }

.logout-confirm-modal {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.82);
    border-radius: 22px;
}

@keyframes globalToastIn { from { opacity:0; transform:translateY(-8px) scale(.98);} to { opacity:1; transform:translateY(0) scale(1);} }
@keyframes globalToastOut { from { opacity:1; transform:translateY(0) scale(1);} to { opacity:0; transform:translateY(-6px) scale(.98);} }
@keyframes globalToastProgress { from { transform:scaleX(1);} to { transform:scaleX(0);} }

@media (max-width: 767.98px) {
    .global-toast-container { width: calc(100vw - 24px); }
    .global-toast-top-right { top: 12px; right: 12px; }
    .header-actions { width: 100%; }
    .header-actions .btn,
    .header-actions .account-pill,
    .header-actions .js-logout-trigger { width: 100%; }
    .brand-logo-wrap { width: 38px; height: 38px; }
    .brand-logo-img { width: 30px; height: 30px; }
    .auth-card-head { padding-top: 74px; }
    .auth-card-head::before { width: 72px; height: 72px; }
}
/* ===== Logo shape refinement ===== */
.brand-logo-wrap {
    border-radius: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.brand-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.footer-brand-logo-img {
    width: 42px;
    height: 42px;
}

@media (max-width: 768px) {
    .brand-logo-img,
    .footer-brand-logo-img {
        width: 38px;
        height: 38px;
    }
}
/* ===== Premium auth form refinement ===== */

.auth-page-section {
    padding-top: 42px;
}

.auth-card-premium {
    max-width: 640px;
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 24px 60px rgba(3, 98, 252, 0.08);
}

.auth-card-head-centered {
    text-align: left;
}

.auth-form-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.auth-form-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.auth-form-premium .form-group input,
.auth-form-premium .form-group select,
.auth-form-premium .form-group textarea {
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid rgba(3, 98, 252, 0.16);
    color: #10233f;
    min-height: 50px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.auth-form-premium .form-group input::placeholder,
.auth-form-premium .form-group textarea::placeholder {
    color: #7b8ca7;
    opacity: 1;
}

.auth-form-premium .form-group input:focus,
.auth-form-premium .form-group select:focus,
.auth-form-premium .form-group textarea:focus {
    border-color: rgba(3, 98, 252, 0.42);
    box-shadow:
        0 0 0 4px rgba(3, 98, 252, 0.10),
        0 10px 24px rgba(3, 98, 252, 0.06);
    background: #ffffff;
}

.auth-form-premium .form-group label {
    color: #0f4ab8;
}

.auth-inline-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.auth-inline-link:hover {
    color: #0362fc;
}

.auth-help-text {
    display: block;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .auth-page-section {
        padding-top: 24px;
    }

    .auth-form-logo {
        width: 70px;
        height: 70px;
        border-radius: 22px;
    }

    .auth-card-premium {
        padding: 22px;
    }
}
/* ===== Auth pages: hide layout logo so only the centered form logo shows ===== */

.public-auth-page .site-header .brand-logo-wrap,
.public-auth-page .site-footer .brand-logo-wrap,
.public-auth-page .site-header .footer-brand-logo-wrap,
.public-auth-page .site-footer .footer-brand-logo-wrap {
    display: none !important;
}

.public-auth-page .site-header .brand,
.public-auth-page .site-footer .brand {
    gap: 0 !important;
}

.public-auth-page .site-header .brand-text,
.public-auth-page .site-footer .brand-text {
    display: none !important;
}

.public-auth-page .header-inner {
    justify-content: flex-end;
}

.public-auth-page .site-header .brand {
    pointer-events: none;
}
.auth-form-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.auth-form-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    border-radius: 24px;
}
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.92rem;
    transition: 0.25s ease;
}

.footer-social-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

.footer-social-link i {
    font-size: 1rem;
    color: #fcba03;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: 0.2s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-socials {
        gap: 8px;
    }

    .footer-social-link {
        width: 100%;
        justify-content: flex-start;
    }
}
.footer-contact a,
.footer-contact span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 18px;
    text-align: center;
    color: #fcba03;
    flex: 0 0 auto;
}