/* SF Pro: system font stack (SF Pro available on macOS/iOS, fallbacks for other OS) */

html, body { height: 100%; }
body.body-base {
    background: #ffffff;
    color: #1d1d1f;
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.47;
    font-size: 17px;
    letter-spacing: -0.374px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #1d1d1f;
}

h1 { font-size: 56px; line-height: 1.07; letter-spacing: -0.28px; }
h2 { font-size: 40px; line-height: 1.10; letter-spacing: normal; margin-bottom: 1.5rem; }
h3 { font-size: 21px; line-height: 1.19; letter-spacing: 0.231px; }
p, a, button, input, select, textarea {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: rgba(0, 0, 0, 0.8);
}

main {
    flex: 1;
}

/* Apple-style full-width sections with centered content */
.section {
    max-width: 980px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}
.section-lg { padding-top: 80px; padding-bottom: 80px; }
@media (min-width: 768px) {
    .section-lg { padding-top: 120px; padding-bottom: 120px; }
}
.section-muted { background: #f5f5f7; }
/* Full-bleed wrapper for alternating dark/light sections */
.section-dark {
    background: #000000;
    color: #ffffff;
    padding: 80px 24px;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #ffffff; }
.section-dark p, .section-dark a { color: rgba(255, 255, 255, 0.8); }
.section-light {
    background: #f5f5f7;
    padding: 80px 24px;
}
@media (min-width: 768px) {
    .section-dark, .section-light { padding: 120px 24px; }
}
.container-wide {
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 768px) {
    .container-wide { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Nav adapts: dark on dark sections, light on light sections (JS toggles .nav-light) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background .4s, border-color .4s;
}
.site-header.nav-light {
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.site-header.nav-light .brand-link,
.site-header.nav-light .nav-link,
.site-header.nav-light .nav-user-email,
.site-header.nav-light .nav-welcome { color: #1d1d1f; }
.site-header.nav-light .nav-link:hover { color: rgba(0,0,0,0.5); }
.site-header.nav-light .hamburger-line { background: #1d1d1f; }
.site-header.nav-light .btn-login {
    background: #0a7e8c; color: #fff; border-color: #0a7e8c;
}
.site-header.nav-light .btn-logout { color: rgba(0,0,0,0.5); }
.site-header.nav-light .role-badge { opacity: 0.9; }
.header-row {
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 8px; }
.logo-box {
    width: 20px;
    height: 20px;
    border-radius: 0;
    background: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 17px;
    box-shadow: none;
}
.brand-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.224px;
    color: #ffffff;
    text-decoration: none;
}
@media (min-width: 768px) {
    .brand-link { font-size: 14px; }
}
.brand-link:hover { color: rgba(255, 255, 255, 0.8); }
.brand-link .logo-box {
    width: 20px;
    height: 20px;
    border-radius: 0;
    background: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: none;
}

/* Hamburger button */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2rem;
    height: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 60;
}
.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}
.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 768px) {
    .hamburger { display: none; }
}

/* Main navigation */
.main-nav {
    display: none;
    font-size: .9rem;
}
/* Mobile: open state */
.main-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    padding: 1rem 1.5rem;
    gap: .75rem;
    z-index: 50;
}
/* Desktop */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
    .main-nav.nav-open {
        position: static;
        flex-direction: row;
        background: none;
        border-bottom: none;
        box-shadow: none;
        padding: 0;
    }
}
.nav-link {
    color: #ffffff;
    text-decoration: none;
    transition: color .2s ease;
    padding: .25rem 0;
    font-size: 12px;
    font-weight: 400;
}
.nav-link:hover { color: rgba(255, 255, 255, 0.7); }

.btn-login {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 980px;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 500;
    font-size: 12px;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}
.btn-login:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}

.site-footer { margin-top: 0; background: #f5f5f7; border-top: 1px solid #d2d2d7; padding: 20px 0; }
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }
.footer-text { color: rgba(0, 0, 0, 0.48); font-size: 12px; letter-spacing: -0.12px; }
.footer-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: -0.12px;
}
.footer-link:hover { text-decoration: underline; }
.footer-link:focus { outline: 2px solid #0071e3; outline-offset: 2px; }

.headline-xl {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.07;
    letter-spacing: -0.28px;
    color: #1d1d1f;
}
@media (min-width: 768px) { .headline-xl { font-size: 56px; } }
.subtext-lg {
    margin-top: 16px;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.19;
    letter-spacing: 0.231px;
    color: rgba(0, 0, 0, 0.8);
    max-width: 600px;
}

.card-glass {
    background: #f5f5f7;
    border-radius: 8px;
    box-shadow: none;
    border: none;
    padding: 1.5rem;
}
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: none;
    border: none;
    transition: box-shadow .25s ease;
}
.card:hover { box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0px; }
.value-card {
    background: #f5f5f7;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: none;
    border: none;
    transition: box-shadow .25s ease;
}
.value-card:hover { box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0px; }
.feature-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: none;
    border: none;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    transition: all .25s ease;
}
.feature-card:hover {
    box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0px;
    transform: translateY(-2px);
}
.feature-card .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f5f5f7;
    border: none;
    color: #0071e3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-card h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.19;
    letter-spacing: 0.231px;
    color: #1d1d1f;
    margin: 0;
}
.feature-card p {
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: -0.224px;
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
}
.hero-frame {
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f7;
    box-shadow: none;
    border: none;
}

.btn-primary, .btn-outline, .btn-cta {
    text-decoration: none;
}

.btn-primary {
    background: #0071e3;
    color: #fff;
    font-weight: 400;
    font-size: 17px;
    border: none;
    border-radius: 980px;
    padding: 12px 24px;
    text-decoration: none;
    transition: background 0.25s ease;
    display: inline-block;
    letter-spacing: -0.374px;
}
.btn-primary:hover {
    background: #0077ED;
}

.btn-outline {
    background: transparent;
    color: #0066cc;
    font-weight: 400;
    font-size: 17px;
    border-radius: 980px;
    border: 1px solid #0066cc;
    padding: 8px 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}
.btn-outline:hover {
    text-decoration: underline;
}

.btn-cta { background: #0071e3; color: #fff; border-radius: 8px; padding: 8px 15px; border: none; }
.btn-cta:hover { background: #0077ED; }

.icon-square, .icon-circle { display: flex; align-items: center; justify-content: center; background: #f5f5f7; }
.icon-square { width: 2.75rem; height: 2.75rem; border-radius: 8px; }
.icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0071e3;
    box-shadow: none;
    transition: transform 0.25s ease;
}

.icon-circle svg {
    width: 1.75rem;
    height: 1.75rem;
    stroke-width: 1.8;
}

.feature-card:hover .icon-circle {
    transform: scale(1.08);
}

.pill-badge {
    display: inline-block;
    padding: .25rem .65rem;
    font-size: .72rem;
    border-radius: 980px;
    letter-spacing: .05em;
    background: rgba(0,113,227,.1);
    color: #0071e3;
    border: none;
}

.contact-list {
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    color: #334155;
}
.contact-row {
    display: grid;
    grid-template-columns: 24px auto;
    gap: .75rem;
    align-items: start;
    margin-bottom: 1rem;
}
.contact-row svg {
    width: 1.1rem;
    height: 1.1rem;
    color: #0071e3;
    margin-top: 2px;
}
.contact-row a:hover { color: #0071e3; text-decoration: underline; }

.timeline-line {
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #cbd5e1;
}
.timeline-dot {
    width: .7rem;
    height: .7rem;
    border-radius: 9999px;
    background: #0071e3;
    position: absolute;
    left: 8px;
    margin-top: .5rem;
}

.page-bg { background: #ffffff; }
.grid-2 { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.mt-10 { margin-top: 1rem; }
.mt-12 { margin-top: 2.75rem; }
.mt-16 { margin-top: 3.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.pb-16 { padding-bottom: 4rem; }
.text-center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.relative { position: relative; }
.abs-badge { position: absolute; right: 1.5rem; bottom: -1.5rem; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .hero-img { height: 440px; } }
.story-img { width: 100%; height: 300px; object-fit: cover; }
@media (min-width: 768px) { .story-img { height: 360px; } }
.card {
    transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

img { display: block; max-width: 100%; height: auto; }


.hero {
    display: grid;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 768px) {
    .hero { grid-template-columns: 1.05fr .95fr; }
}


.hero .headline-xl {
    margin: 0 0 12px 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.07;
    letter-spacing: -0.28px;
}
.hero .subtext-lg {
    margin-top: 8px;
    font-size: clamp(17px, 2vw, 21px);
    max-width: 600px;
    line-height: 1.19;
}

.hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 24px;
}


.hero-frame {
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f7;
    box-shadow: none;
    border: none;
    aspect-ratio: 16 / 9;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .hero-frame {
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f7;
    box-shadow: none;
    border: none;
    aspect-ratio: 16 / 13;
}
.hero .hero-frame .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}

@media (max-width: 767px) {
    .contact-form .form-grid { grid-template-columns: 1fr; }
}

.form-field { display: flex; flex-direction: column; margin-bottom: 2rem; }

.form-label {
    font-size: .9rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: .2rem;
}

.form-input,
.form-textarea {
    width: 100%;
    border: 1px solid #d2d2d7;
    background: #fff;
    border-radius: .75rem;
    padding: .7rem 1rem;
    font-size: 1rem;
    color: #1d1d1f;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
    box-sizing: border-box;
}
.form-input {
    height: 2.5rem;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-input:hover,
.form-textarea:hover { border-color: #d6dee8; }

.form-textarea { resize: vertical; min-height: 160px; }

.form-hint {
    margin-top: .35rem;
    font-size: .8rem;
    color: #64748b;
}


.info-list { list-style: none; margin: 0; padding: 0; }
.info-item { display: grid; grid-template-columns: 24px auto; gap: .6rem; align-items: center; margin: .85rem 0; }
.info-item svg { width: 1.1rem; height: 1.1rem; color: #0071e3; }
.info-item a { color: #0071e3; text-decoration: none; }
.info-item a:hover { text-decoration: underline; }

*, *::before, *::after { box-sizing: border-box; }


.contact-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}


.contact-col{ display:flex; }
.contact-col > .card{
    flex:1;
    margin:0;
    border-radius: 1.25rem;
    padding: 2rem;
}


.contact-side-note.card{
    margin-top:1.25rem;
    padding:1rem;
    border-radius:1rem;
}


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

.form-card {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        align-items: start;
    }
}

.flash-message {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem 1.25rem;
    border-radius: .75rem;
    font-weight: 500;
    font-size: .95rem;
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease;
}


.flash-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}


.flash-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}


.flash-message.warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fcd34d;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}


.flash-message {
    position: relative;
    transition: opacity 0.4s ease;
}
.flash-message.fade-out {
    opacity: 0;
}

/* ===== Login Page — CareerCompass Style ===== */

/* Split layout */
.lg-split {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}
@media (min-width: 1024px) {
    .lg-split { grid-template-columns: 1fr 1fr; }
}

/* ---------- Left decorative panel ---------- */
.lg-panel {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    background: #000000;
    padding: 2.5rem 3rem;
    overflow: hidden;
}
@media (min-width: 1024px) {
    .lg-panel { display: flex; }
}

/* Grid overlay */
.lg-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* ---- Colorful blobs ---- */
.lg-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    filter: blur(60px);
    will-change: transform;
}
.lg-blob--orange {
    width: 240px; height: 240px;
    background: #f97316;
    opacity: .4;
    top: 12%; right: 10%;
    animation: lg-float-1 16s ease-in-out infinite alternate;
}
.lg-blob--purple {
    width: 280px; height: 280px;
    background: #8b5cf6;
    opacity: .35;
    bottom: 15%; left: 8%;
    animation: lg-float-2 20s ease-in-out infinite alternate;
}
.lg-blob--yellow {
    width: 180px; height: 180px;
    background: #eab308;
    opacity: .3;
    top: 55%; right: 30%;
    animation: lg-float-3 14s ease-in-out infinite alternate;
}
.lg-blob--blue {
    width: 200px; height: 200px;
    background: #3b82f6;
    opacity: .3;
    top: 30%; left: 20%;
    animation: lg-float-4 18s ease-in-out infinite alternate;
}

@keyframes lg-float-1 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(-25px, 30px) rotate(15deg) scale(1.1); }
}
@keyframes lg-float-2 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(30px, -20px) rotate(-10deg) scale(1.15); }
}
@keyframes lg-float-3 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(-20px, -25px) rotate(12deg) scale(.9); }
}
@keyframes lg-float-4 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(20px, 20px) rotate(-8deg) scale(1.12); }
}

/* ---------- Animated Characters (CareerCompass match) ---------- */
.ac-scene {
    position: absolute;
    z-index: 5;
    width: 550px;
    height: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -40%);
    pointer-events: none;
}

/* Character body — absolute positioned, anchored to bottom */
.ac-c {
    position: absolute;
    bottom: 0;
    transform-origin: bottom center;
    transition: transform .7s ease-in-out, height .7s ease-in-out;
}

/* Eyes container — positioned inside character */
.ac-eyes {
    position: absolute;
    display: flex;
    transition: transform .2s ease-out;
}

/* White eyeball (Purple + Black) */
.ac-eyeball {
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: height .15s ease;
}

/* Dark pupil inside eyeball */
.ac-pupil {
    border-radius: 50%;
    background: #2D2D2D;
    transition: transform .1s ease-out;
}

/* Dark dot eye (Orange + Yellow — no white) */
.ac-dot {
    border-radius: 50%;
    background: #2D2D2D;
    transition: transform .1s ease-out;
}

/* Mouth (Yellow only) */
.ac-mouth {
    position: absolute;
    width: 50px;
    height: 4px;
    background: #2D2D2D;
    border-radius: 4px;
    transition: transform .2s ease-out;
}

/* === Purple: 180x400, z1 === */
.ac-c--purple {
    left: 70px;
    width: 180px;
    height: 400px;
    background: #6C3FF5;
    border-radius: 10px 10px 0 0;
    z-index: 1;
}
.ac-c--purple .ac-eyes { left: 45px; top: 40px; gap: 32px; }
.ac-c--purple .ac-eyeball { width: 18px; height: 18px; }
.ac-c--purple .ac-pupil { width: 7px; height: 7px; }

/* === Black: 120x310, z2 === */
.ac-c--black {
    left: 240px;
    width: 120px;
    height: 310px;
    background: #2D2D2D;
    border-radius: 8px 8px 0 0;
    z-index: 2;
}
.ac-c--black .ac-eyes { left: 26px; top: 32px; gap: 24px; }
.ac-c--black .ac-eyeball { width: 16px; height: 16px; }
.ac-c--black .ac-pupil { width: 6px; height: 6px; }

/* === Orange: 240x200, z3 === */
.ac-c--orange {
    left: 0;
    width: 240px;
    height: 200px;
    background: #FF9B6B;
    border-radius: 120px 120px 0 0;
    z-index: 3;
}
.ac-c--orange .ac-eyes { left: 82px; top: 90px; gap: 32px; }
.ac-c--orange .ac-dot { width: 12px; height: 12px; }

/* === Yellow: 140x230, z4 === */
.ac-c--yellow {
    left: 310px;
    width: 140px;
    height: 230px;
    background: #E8D754;
    border-radius: 70px 70px 0 0;
    z-index: 4;
}
.ac-c--yellow .ac-eyes { left: 42px; top: 40px; gap: 24px; }
.ac-c--yellow .ac-dot { width: 12px; height: 12px; }
.ac-c--yellow .ac-mouth { left: 40px; top: 88px; }

/* === State: hiding (password hidden, squint) === */
.ac-scene--hide .ac-eyeball {
    height: 2px !important;
    border-radius: 2px;
}

/* Panel branding top */
.lg-panel-top {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.lg-panel-logo {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .5rem;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.lg-panel-brand {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

/* Panel footer */
.lg-panel-footer {
    position: relative;
    z-index: 5;
    font-size: .8rem;
    color: rgba(255,255,255,.35);
}

/* ---------- Right form side ---------- */
.lg-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    background: #fff;
    overflow-y: auto;
}
.lg-form-wrap {
    width: 100%;
    max-width: 420px;
}

/* Slide-in + fade */
.lg-fadein {
    animation: lg-enter .5s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes lg-enter {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Mobile logo */
.lg-mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2rem;
}
.lg-panel-logo--mobile {
    background: rgba(15, 91, 112, .08);
    color: #0071e3;
}
.lg-mobile-brand {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #1d1d1f;
}
@media (min-width: 1024px) {
    .lg-mobile-logo { display: none; }
}

/* Header */
.lg-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.lg-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #020817;
    margin: 0 0 .4rem 0;
    letter-spacing: -.025em;
}
.lg-subtitle {
    font-size: .875rem;
    color: #64748b;
    margin: 0;
}

/* Form */
.lg-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Field */
.lg-field {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.lg-label {
    font-size: .875rem;
    font-weight: 500;
    color: #1d1d1f;
}

/* Input — pill shape */
.lg-input {
    width: 100%;
    height: 3rem;
    border: 1px solid rgba(226, 232, 240, .6);
    background: #fff;
    border-radius: 9999px;
    padding: 0 1rem;
    font-size: 1rem;
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #1d1d1f;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lg-input::placeholder { color: #94a3b8; }
.lg-input:hover { border-color: #cbd5e1; }
.lg-input:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 2px rgba(63, 78, 184, .15);
}
.lg-input--pw {
    padding-right: 3rem;
}

/* Password toggle */
.lg-pw-wrap { position: relative; }
.lg-pw-btn {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: .2rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .15s;
    border-radius: .25rem;
}
.lg-pw-btn:hover { color: #1d1d1f; }
.lg-pw-btn:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
.lg-pw-ico { width: 1.25rem; height: 1.25rem; }

/* Remember + Forgot row */
.lg-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lg-check-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: rgba(0, 0, 0, 0.56);
    cursor: pointer;
    user-select: none;
}
.lg-check {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.lg-check-box {
    flex-shrink: 0;
    width: 1rem; height: 1rem;
    border: 1.5px solid #0071e3;
    border-radius: 2px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}
.lg-check:checked + .lg-check-box {
    background: #0071e3;
    border-color: #0071e3;
}
.lg-check:checked + .lg-check-box::after {
    content: '';
    display: block;
    width: .3rem; height: .55rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.lg-check:focus-visible + .lg-check-box {
    outline: 2px solid #0071e3;
    outline-offset: 2px;
}
.lg-link {
    font-size: .875rem;
    font-weight: 500;
    color: #0071e3;
    text-decoration: none;
    transition: color .15s;
}
.lg-link:hover { text-decoration: underline; }

/* Submit button */
.lg-btn {
    width: 100%;
    height: 3rem;
    border: none;
    border-radius: 9999px;
    background: #1d1d1f;
    color: #fff;
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: .25rem;
    transition: background .2s ease, transform .1s ease, box-shadow .2s ease;
}
.lg-btn:hover {
    background: #1e293b;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .18);
}
.lg-btn:active {
    transform: scale(.97);
}
.lg-btn:focus-visible {
    outline: 2px solid #0071e3;
    outline-offset: 2px;
}

/* Footer */
.lg-form-footer {
    text-align: center;
    margin-top: 2rem;
}
.lg-back-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none;
    transition: color .2s;
}
.lg-back-link:hover { color: #1d1d1f; }
.lg-back-link svg { flex-shrink: 0; }

/* Forgot password page (reuses shared styles) */
.forgot-icon-wrap {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: .85rem;
    background: rgba(63, 78, 184, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0071e3;
    margin-bottom: 1.25rem;
}
.forgot-back-to-login {
    text-align: center;
    margin-top: 1.5rem;
}
.forgot-signin-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .88rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    transition: color .2s;
}
.forgot-signin-link:hover { color: #0071e3; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
    .lg-panel { display: none; }
    .lg-form-side { min-height: 100vh; }
}
@media (max-width: 480px) {
    .lg-form-side { padding: 2rem 1.25rem; }
    .lg-title { font-size: 1.5rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .lg-blob { animation: none !important; }
    .lg-fadein { animation: none !important; }
}


.page-narrow {
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}
.form-card {
    max-width: 60rem;
    margin: 0 auto;
    border-radius: 1rem;
}

.hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 20vh;
    background-color: #f9fafb;
    line-height: 1.5;
}

.hero-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-header p {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.56);
    max-width: 36rem;
    margin: 0 auto;
}

.avatar-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}
.avatar-circle {
    width: 120px; height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px dashed #cbd5e1;
    display: flex; align-items: center; justify-content: center;
    background: #f5f5f7;
}
.btn-upload {
    display: inline-block; padding: .5rem .9rem;
    border-radius: .5rem;
    background: #eef2ff; color: #1e293b; font-weight: 600;
    cursor: pointer;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem .75rem;
}
@media (max-width: 768px) {
    .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .skills-grid { grid-template-columns: 1fr; }
}

/* Official Documents Card */
.official-docs-card {
    margin-top: 1.25rem;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e7eef5;
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.05);
}
.official-docs-card h3 {
    margin: 0 0 .4rem 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1d1d1f;
}
.official-docs-card p {
    margin: .25rem 0 1rem 0;
    color: rgba(0, 0, 0, 0.56);
    line-height: 1.55;
}
.official-docs-card hr {
    border: 0;
    height: 1px;
    background: #e5e9ef;
    margin: 1.25rem 0;
}

/* File Upload */
.file-upload-block input[type="file"] {
    border: 1.5px solid #d6dee8;
    border-radius: 12px;
    background: #fff;
    padding: .5rem;
    cursor: pointer;
}
.file-upload-block input[type="file"]::file-selector-button,
.file-upload-block input[type="file"]::-webkit-file-upload-button {
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .55rem 1rem;
    margin-right: .6rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .1s;
}
.file-upload-block input[type="file"]:hover::file-selector-button {
    background: #0077ED;
}
.file-upload-block input[type="file"]:active::file-selector-button {
    transform: scale(0.97);
}

/* Document Grid */
.doc-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.doc-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}
@media (max-width: 768px) {
    .doc-row {
        grid-template-columns: 1fr;
    }
}

/* Remove button */
.doc-remove {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: .45rem .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}
.doc-remove:hover {
    background: #fecaca;
}

/* Add button */
.btn-add {
    display: inline-block;
    margin-top: .75rem;
    padding: .55rem 1rem;
    border-radius: 10px;
    background: #f5f5f7;
    border: 1px solid #d6dee8;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .1s;
}
.btn-add:hover {
    background: #d2d2d7;
    transform: translateY(-1px);
}

/* Footer button */
.form-footer {
    margin-top: 1.5rem;
    text-align: center;
}
@media (max-width: 640px) {
    .form-footer { text-align: center; }
    .form-footer .btn-primary { width: 100%; }
}

/* ===== Modern form field look ===== */

.form-control,
.form-input,
.form-select,
input[type="text"],
input[type="email"],
input[type="date"],
select {
    border: 1px solid #d4dbe3;
    border-radius: 10px;
    background: #f9fafb;
    padding: .7rem .9rem;
    font-size: 1rem;
    color: #1d1d1f;
    transition: all .2s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.form-control:hover,
.form-input:hover,
.form-select:hover,
input[type="text"]:hover,
input[type="email"]:hover,
input[type="date"]:hover,
select:hover {
    border-color: #c2ccd8;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.form-control:focus,
.form-input:focus,
.form-select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
select:focus {
    border-color: #0071e3;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.06);
    outline: none;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23647589' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

input[type="date"] {
    color-scheme: light;
}

/* 让 placeholder 更柔和 */
::placeholder {
    color: #9ca3af;
}

.btn-upload {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: .5rem 1rem;
    border-radius: .5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
}
.btn-upload:hover {
    background: #1e40af;
}

.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: .5rem;
    padding: .4rem 1rem;
    font-weight: 500;
    color: #1d1d1f;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.btn-upload:hover {
    background: #f5f5f7;
}
.btn-upload span::before {
    content: "⇧";
    font-size: 1rem;
    margin-right: .4rem;
    display: inline-block;
    transform: translateY(-1px);
}

.visually-hidden{
    position:absolute !important;
    width:1px; height:1px;
    padding:0; margin:-1px;
    overflow:hidden; clip:rect(0 0 0 0); clip-path: inset(50%);
    white-space:nowrap; border:0;
}

.equip-grid{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));}
.equip-chip{
    display:flex;align-items:center;gap:.5rem;
    border:1px solid #e5e7eb;border-radius:12px;padding:.5rem .75rem;background:#fff;
}


.error-message {
    color: #dc2626;
    font-size: .9rem;
    margin-top: .35rem;
}

.account-edit .card.form-card { padding: 1.25rem; }

.account-edit h2.headline-md { margin: 0 0 1rem 0; }

.account-edit .avatar-wrap {
    display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem;
}
.account-edit .avatar {
    width: 88px; height: 88px; border-radius: 50%;
    overflow: hidden; border: 1px solid #d2d2d7; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.account-edit .avatar img { width:100%; height:100%; object-fit: cover; }
.account-edit .avatar-help { font-size: .875rem; color: #64748b; margin-top: .25rem; }

.account-edit .form-grid {
    display: grid; gap: 1rem 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) {
    .account-edit .form-grid { grid-template-columns: 1fr; }
}

.account-edit .form-label { font-weight: 600; color:#1d1d1f; }

/* -------- Skills Section -------- */
.skills-chips{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
    gap:.75rem 1rem;
}

.chip{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:.45rem;
    padding:.42rem .7rem;
    border:1.5px solid #d2d2d7;
    border-radius:9999px;
    background:#fff;
    box-shadow:0 1px 1px rgba(0,0,0,.02);
    transition:border-color .15s, box-shadow .15s, background .15s;
}
.chip .chip-text{
    font-size:.95rem;
    white-space:nowrap;
}

.chip input[type="checkbox"]{
    position:absolute; inset:0;
    width:100%; height:100%;
    opacity:0; margin:0; cursor:pointer;
}

.chip:hover{
    border-color:#cbd5e1;
    box-shadow:0 1px 4px rgba(15,23,42,.06);
}

.chip:has(input:checked){
    border-color:#3b82f6;
    background:#f1f8ff;
    box-shadow:0 0 0 2px rgba(59,130,246,.18);
}

.chip:has(input:focus-visible){
    outline:2px solid #60a5fa;
    outline-offset:2px;
}

@supports not(selector(:has(*))){
    .chip input[type="checkbox"]:checked + .chip-text{ font-weight:600; }
}

@media (max-width: 720px){
    .skills-chips{
        grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
        gap:.75rem .75rem;
    }
}

.account-edit .actions {
    margin-top: 1.25rem;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.account-edit .actions{
    margin-top: 1.25rem;
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    flex-wrap: wrap;
}

.account-edit .actions .btn-primary,
.account-edit .actions .btn-login{
    appearance: none;
    border-radius: 12px;
    padding: .66rem 1.1rem;
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1;
    border: 1px solid transparent;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    transition: background-color .15s ease, border-color .15s ease,
    color .15s ease, box-shadow .15s ease, transform .02s ease;
}

.account-edit .actions .btn-primary{
    background: #19465a;
    color: #fff;
    border-color: #163b4d;
}
.account-edit .actions .btn-primary:hover{
    background: #1c5167;
    border-color: #184a5f;
    box-shadow: 0 2px 6px rgba(16, 24, 40, .12);
}
.account-edit .actions .btn-primary:active{
    transform: translateY(1px);
}
.account-edit .actions .btn-primary:focus-visible{
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.account-edit .actions .btn-login{
    background: #fff;
    color: #1d1d1f;
    border-color: #d6dde6;
}
.account-edit .actions .btn-login:hover{
    background: #f5f5f7;
    border-color: #c8d2df;
    box-shadow: 0 1px 4px rgba(16,24,40,.08);
}
.account-edit .actions .btn-login:focus-visible{
    outline: 2px solid #94c6ff;
    outline-offset: 2px;
}

.account-edit .actions .btn-primary[disabled],
.account-edit .actions .btn-login[disabled]{
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}

.page-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.site-footer {
    margin-top: auto;
}

/* ===== About Section ===== */
.about-section {
    background: #fff;
    border-top: 1px solid #f5f5f7;
    border-bottom: 1px solid #f5f5f7;
}

.about-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) {
    .about-layout {
        grid-template-columns: .45fr .55fr;
        gap: 4rem;
    }
}

.about-photo-frame {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 91, 112, .1);
    border: 1px solid #d2d2d7;
    position: relative;
}
.about-photo {
    width: 100%;
    height: auto;
    display: block;
}

.about-content-col .pill-badge {
    margin-bottom: .75rem;
}
.about-heading {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: .75rem 0 1rem 0;
    letter-spacing: -.02em;
}
@media (min-width: 768px) {
    .about-heading { font-size: 2.25rem; }
}

.about-lead {
    font-size: 1.05rem;
    color: rgba(0, 0, 0, 0.56);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.about-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.about-detail-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .75rem;
    background: rgba(15, 91, 112, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0071e3;
}
.about-detail-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}
.about-detail-item strong {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: .2rem;
}
.about-detail-item p {
    font-size: .88rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ===== Services Section ===== */
.services-section {
    background: #f5f5f7;
}
.services-heading {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: .75rem 0 .5rem 0;
}
@media (min-width: 768px) {
    .services-heading { font-size: 2.25rem; }
}
.services-sub {
    color: rgba(0, 0, 0, 0.56);
    font-size: 1.05rem;
    line-height: 1.7;
}

.services-grid {
    align-items: stretch;
}

.service-card {
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid #d2d2d7;
    box-shadow: 0 4px 14px rgba(15, 91, 112, .06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s ease, transform .25s ease;
}
.service-card:hover {
    box-shadow: 0 12px 30px rgba(15, 91, 112, .12);
    transform: translateY(-3px);
}

.service-card-header {
    padding: 2rem 2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.service-card-header--online {
    background: #f5f5f7;
    border-bottom: 1px solid rgba(15, 91, 112, .08);
}
.service-card-header--inperson {
    background: #f5f5f7;
    border-bottom: 1px solid rgba(34, 139, 34, .08);
}

.service-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #0071e3;
    flex-shrink: 0;
}
.service-card-header--inperson .service-icon {
    color: #228b22;
}

.service-card-header h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
}

.service-card-body {
    padding: 1.5rem 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-desc {
    font-size: .95rem;
    color: rgba(0, 0, 0, 0.56);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    flex: 1;
}
.service-features li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .9rem;
    color: #334155;
    line-height: 1.5;
}
.service-features li svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    color: #0071e3;
    margin-top: .15rem;
}
.service-card-header--inperson ~ .service-card-body .service-features li svg {
    color: #228b22;
}

.service-btn {
    align-self: flex-start;
    margin-top: auto;
}

/* ===== CTA Section ===== */
.cta-section {
    background: #f5f5f7;
}
.cta-card {
    background: #0071e3;
    border-radius: 1.5rem;
    padding: 3.5rem 2rem;
    box-shadow: 0 16px 40px rgba(15, 91, 112, .2);
}
.cta-card h2 {
    color: #fff;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .cta-card h2 { font-size: 2.25rem; }
    .cta-card { padding: 4rem 3rem; }
}
.cta-card p {
    color: rgba(255, 255, 255, .85);
    font-size: 1.05rem;
    line-height: 1.7;
}
.cta-card .btn-primary {
    background: #fff;
    color: #0071e3;
}
.cta-card .btn-primary:hover {
    background: #f5f5f7;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}
.cta-card .btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}
.cta-card .btn-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
    color: #fff;
}

/* ===== Hero pill badge spacing ===== */
.hero .pill-badge {
    margin-bottom: .75rem;
    display: inline-block;
}

/* ===== Smooth Scroll ===== */
html { scroll-behavior: smooth; }

/* ===== How It Works Section ===== */
.how-it-works-section {
    background: #fff;
    border-top: 1px solid #f5f5f7;
}
.step-card {
    background: #f5f5f7;
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    text-align: center;
    border: 1px solid #d2d2d7;
    transition: all .25s ease;
    position: relative;
}
.step-card:hover {
    background: #fff;
    box-shadow: 0 8px 25px rgba(15, 91, 112, .1);
    transform: translateY(-3px);
}
.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #0071e3;
    color: #fff;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(15, 91, 112, .2);
}
.step-card h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 .75rem 0;
}
.step-card p {
    font-size: .9rem;
    color: rgba(0, 0, 0, 0.56);
    line-height: 1.65;
    margin: 0;
}

/* ===== Stats Section ===== */
.stats-section {
    background: #0071e3;
    border-radius: 1.5rem;
    max-width: 76rem;
    margin: 0 auto;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.stat-number {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1.1;
}
@media (min-width: 768px) {
    .stat-number { font-size: 3rem; }
}
.stat-label {
    font-size: .9rem;
    color: rgba(255, 255, 255, .75);
    font-weight: 500;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: #fff;
    border-top: 1px solid #f5f5f7;
}
.testimonials-grid {
    align-items: stretch;
}
.testimonial-card {
    background: #f5f5f7;
    border-radius: 1.25rem;
    border: 1px solid #d2d2d7;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all .25s ease;
}
.testimonial-card:hover {
    background: #fff;
    box-shadow: 0 8px 25px rgba(15, 91, 112, .1);
    transform: translateY(-2px);
}
.testimonial-stars {
    display: flex;
    gap: .15rem;
    color: #f59e0b;
}
.testimonial-quote {
    font-size: .95rem;
    color: #334155;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-top: 1rem;
    border-top: 1px solid #d2d2d7;
}
.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #0071e3;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-author strong {
    display: block;
    font-size: .9rem;
    color: #1d1d1f;
}
.testimonial-author span {
    display: block;
    font-size: .8rem;
    color: #64748b;
}

/* ===== Enhanced Footer ===== */
.footer-grid {
    display: grid;
    gap: 2.5rem;
    padding: 3rem 0 2rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.2fr .8fr 1fr; }
}
.footer-brand {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #1d1d1f;
    display: block;
    margin-bottom: .75rem;
}
.footer-about {
    font-size: .88rem;
    color: #64748b;
    line-height: 1.65;
    max-width: 28rem;
}
.footer-heading {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: .9rem;
    font-weight: 700;
    color: #1d1d1f;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1rem;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.footer-nav-link {
    color: rgba(0, 0, 0, 0.56);
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s;
}
.footer-nav-link:hover { color: #0071e3; }
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .88rem;
    color: rgba(0, 0, 0, 0.56);
    margin: 0;
}
.footer-contact-item svg {
    flex-shrink: 0;
    color: #0071e3;
}
.footer-bottom {
    border-top: 1px solid #d2d2d7;
    padding: 1.5rem 0;
    text-align: center;
}
.footer-bottom .footer-text {
    margin: 0;
    font-size: .85rem;
    color: #94a3b8;
}

/* ===== Contact Page ===== */
.contact-page-header {
    margin-bottom: 1rem;
}
.contact-page-header h1 {
    margin: .75rem 0 .5rem 0;
}
.contact-page-layout {
    display: grid;
    gap: 2rem;
}
@media (min-width: 992px) {
    .contact-page-layout {
        grid-template-columns: 1.2fr .8fr;
        align-items: start;
    }
}
.contact-form-card {
    padding: 0;
}
.contact-form-inner {
    padding: 2.5rem 2rem;
}
@media (max-width: 640px) {
    .contact-form-inner { padding: 1.75rem 1.25rem; }
}
.contact-form-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 1.75rem 0;
}
.contact-submit-btn {
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    cursor: pointer;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: .5rem 0 .75rem;
}
.captcha-display {
    display: inline-block;
    background: #f5f5f7;
    padding: .6rem 1.5rem;
    border-radius: .75rem;
    border: 1px solid #cbd5e1;
}
.captcha-code {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: .3em;
    color: #1d1d1f;
    font-family: 'Courier New', monospace;
    user-select: none;
}
.captcha-refresh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .6rem;
    border: 1px solid #d2d2d7;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all .2s ease;
    flex-shrink: 0;
}
.captcha-refresh:hover {
    color: #0071e3;
    border-color: #0071e3;
    background: rgba(15, 91, 112, .04);
}
.captcha-refresh:active { transform: scale(.95); }
.captcha-refresh:disabled { opacity: .5; cursor: not-allowed; }
.captcha-spinning svg {
    animation: captcha-spin .6s linear infinite;
}
@keyframes captcha-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-info-card,
.contact-hours-card {
    padding: 0;
}
.contact-info-inner {
    padding: 1.75rem 1.5rem;
}
.contact-info-inner h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 1.25rem 0;
}
.hours-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid #f5f5f7;
}
.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.hours-row span { color: rgba(0, 0, 0, 0.56); }
.hours-row strong { color: #1d1d1f; font-weight: 600; }

/* ===== Nav enhancement ===== */
.nav-welcome {
    font-size: .9rem;
    color: #0071e3;
    font-weight: 600;
}

/* ===== Header scroll effect ===== */
.site-header.header-scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

/* ===== Scroll animations ===== */
.animate-target {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.animate-target.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.grid-3 .animate-target:nth-child(2) { transition-delay: .1s; }
.grid-3 .animate-target:nth-child(3) { transition-delay: .2s; }
.grid-2 .animate-target:nth-child(2) { transition-delay: .15s; }
.stats-grid .animate-target:nth-child(2) { transition-delay: .1s; }
.stats-grid .animate-target:nth-child(3) { transition-delay: .2s; }
.stats-grid .animate-target:nth-child(4) { transition-delay: .3s; }

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    margin-top: 2.5rem;
    color: #94a3b8;
    font-size: .8rem;
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator svg { color: #94a3b8; }
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== Why Choose Us ===== */
.why-choose-section { background: #fff; border-radius: 1.5rem; }
.why-choose-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f5f5f7;
    border-radius: 1rem;
    border: 1px solid #f5f5f7;
    transition: box-shadow .25s ease, transform .25s ease;
}
.why-choose-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}
.why-choose-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .75rem;
    background: rgba(0, 0, 0, 0.08);
    color: #0071e3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-choose-icon svg { width: 1.4rem; height: 1.4rem; }
.why-choose-item h3 { font-size: 1rem; margin: 0 0 .35rem; color: #1d1d1f; }
.why-choose-item p { font-size: .9rem; margin: 0; color: rgba(0, 0, 0, 0.56); }

/* ===== Bottom CTA Bar ===== */
.bottom-cta-bar {
    background: #f5f5f7;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

/* ===== Admin Responsive ===== */
.admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 768px) {
    .admin-table-wrap table { min-width: 600px; }
}

/* ===== Contacts Card Layout ===== */
.message-cards { display: flex; flex-direction: column; gap: 1rem; }
.message-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #d2d2d7;
    padding: 1.25rem 1.5rem;
    transition: box-shadow .2s ease;
    cursor: pointer;
}
.message-card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }
.message-card.unread { border-left: 4px solid #0071e3; }
.message-card.read { border-left: 4px solid #cbd5e1; opacity: .85; }
.message-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
}
.message-card-sender {
    font-weight: 700;
    font-size: 1rem;
    color: #1d1d1f;
}
.message-card-time {
    font-size: .8rem;
    color: #94a3b8;
}
.message-card-email {
    font-size: .85rem;
    color: #64748b;
    margin-bottom: .5rem;
}
.message-card-subject {
    font-weight: 600;
    font-size: .95rem;
    color: #334155;
    margin-bottom: .35rem;
}
.message-card-preview {
    font-size: .9rem;
    color: rgba(0, 0, 0, 0.56);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.message-card-full {
    display: none;
    padding-top: .75rem;
    margin-top: .75rem;
    border-top: 1px solid #d2d2d7;
    font-size: .9rem;
    color: rgba(0, 0, 0, 0.56);
    line-height: 1.7;
    white-space: pre-wrap;
}
.message-card.expanded .message-card-preview { display: none; }
.message-card.expanded .message-card-full { display: block; }
.message-card-actions {
    display: flex;
    gap: .75rem;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid #f5f5f7;
}
.message-card-actions a {
    font-size: .85rem;
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}
.message-card-actions a:hover { text-decoration: underline; }
.message-card-actions a.delete-link { color: #dc2626; }
.message-card-badge {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 9999px;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.message-card-badge.badge-unread { background: #dbeafe; color: #1d4ed8; }
.message-card-badge.badge-read { background: #f5f5f7; color: #64748b; }

/* ===== Admin Nav Badge ===== */
.btn-logout {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 400;
    font-size: 12px;
}
.btn-logout:hover { color: #ffffff; text-decoration: underline; }
.admin-nav-badge {
    display: inline-block;
    padding: .2rem .6rem;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 600;
}
.nav-welcome {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

/* ===== Admin Table ===== */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table thead { background: #f5f5f7; }
.admin-table th {
    padding: 12px 14px;
    text-align: left;
    font-size: .85rem;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}
.admin-table td {
    padding: 12px 14px;
    border-top: 1px solid #d2d2d7;
    font-size: .9rem;
    color: rgba(0, 0, 0, 0.56);
}
.admin-table tbody tr:hover { background: #f5f5f7; }

.btn-view-msg {
    background: #f5f5f7;
    color: #0071e3;
    border: 1px solid #d2d2d7;
    padding: .35rem .85rem;
    border-radius: .5rem;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.btn-view-msg:hover { background: #d2d2d7; }

@keyframes popIn {
    from { opacity: 0; transform: scale(.9); }
    to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .admin-table thead { display: none; }
    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td { display: block; width: 100%; }
    .admin-table tr {
        margin-bottom: 1rem;
        border: 1px solid #d2d2d7;
        border-radius: .75rem;
        padding: .5rem;
        background: #fff;
    }
    .admin-table td {
        border: none;
        padding: 6px 12px;
        text-align: right;
        position: relative;
        padding-left: 45%;
        white-space: normal;
        max-width: none;
        overflow: visible;
    }
    .admin-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        font-weight: 600;
        color: #1d1d1f;
        text-align: left;
    }
}

/* ── Role badge in nav ── */
.role-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.nav-user-email {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* ===========================================
   Client Dashboard
   =========================================== */

.cd-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* Hero section */
.cd-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 32px;
    border-bottom: 1px solid #d2d2d7;
    margin-bottom: 40px;
    gap: 24px;
    flex-wrap: wrap;
}
.cd-hero-overline {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0a7e8c;
    margin: 0 0 8px;
}
.cd-hero-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #1d1d1f;
    margin: 0;
}

/* Stats grid */
.cd-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.cd-stat-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 28px;
    transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.cd-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,.08);
}
.cd-stat-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .02em;
    color: #6e6e73;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.cd-stat-num {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.5px;
    color: #0a7e8c;
    margin: 0 0 12px;
}
.cd-stat-link {
    font-size: 14px;
    color: #6e6e73;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .3s, color .2s;
}
.cd-stat-link:hover { gap: 8px; color: #0a7e8c; }
.cd-stat-link::after {
    content: '\203A';
    font-size: 18px;
    line-height: 1;
}

/* Main grid */
.cd-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}
@media (max-width: 800px) {
    .cd-main { grid-template-columns: 1fr; }
}

.cd-panel {
    background: #ffffff;
    border: 1px solid #e5e5e0;
    border-radius: 16px;
    padding: 32px;
    transition: box-shadow .25s ease;
}
.cd-panel:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.05);
}
.cd-panel-overline {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0a7e8c;
    margin: 0 0 20px;
}

/* Next appointment */
.cd-next-time {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 0 0 6px;
}
.cd-next-date {
    font-size: 17px;
    color: #6e6e73;
    margin: 0 0 28px;
}
.cd-next-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid #e5e5e0;
    border-bottom: 1px solid #e5e5e0;
    margin-bottom: 24px;
}
@media (max-width: 600px) {
    .cd-next-meta { grid-template-columns: 1fr 1fr; }
}
.cd-next-meta-label {
    font-size: 11px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 4px;
    font-weight: 500;
}
.cd-next-meta-value {
    font-size: 15px;
    color: #1d1d1f;
    font-weight: 500;
    margin: 0;
}
.cd-next-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Dashboard buttons */
.cd-btn-primary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    background: #0a7e8c;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: -0.2px;
    transition: background .3s, transform .25s cubic-bezier(.16,1,.3,1), box-shadow .3s;
    border: none;
    cursor: pointer;
}
.cd-btn-primary:hover {
    background: #0d9bab;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(10,126,140,.15);
}
.cd-btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 980px;
    background: #f5f5f7;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .2s;
}
.cd-btn-secondary:hover {
    background: #e5e5e0;
    color: #1d1d1f;
}
.cd-btn-danger {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 980px;
    background: transparent;
    color: #c0392b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #f5d5d0;
    cursor: pointer;
    transition: all .2s;
}
.cd-btn-danger:hover {
    background: #fef2f0;
    border-color: #c0392b;
}

/* Empty state */
.cd-empty {
    padding: 20px 0;
}
.cd-empty p {
    font-size: 16px;
    color: #6e6e73;
    margin: 0 0 20px;
}

/* Quick actions sidebar */
.cd-actions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cd-actions-list li {
    border-bottom: 1px solid #e5e5e0;
}
.cd-actions-list li:last-child {
    border-bottom: none;
}
.cd-actions-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    color: #1d1d1f;
    font-size: 15px;
    text-decoration: none;
    transition: color .2s, padding .2s;
}
.cd-actions-list a:hover {
    color: #0a7e8c;
    padding-left: 4px;
}
.cd-actions-list a::after {
    content: '\203A';
    font-size: 20px;
    line-height: 1;
    color: #86868b;
    transition: transform .3s, color .2s;
}
.cd-actions-list a:hover::after {
    transform: translateX(3px);
    color: #0a7e8c;
}
