/* ── Font Import ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

/* ── Design Tokens ───────────────────────────────────────────────────────── */
:root {
    /* Brand */
    --teal:        #2ec4b6;
    --teal-dark:   #20a89c;
    --teal-deeper: #1a8880;
    --gold:        #f2c14e;
    --gold-dark:   #d9a73a;

    /* Page Background */
    --bg-page:     #05111a;
    --bg-page-end: #0b2233;

    /* Dark Tones */
    --dark:        #071520;
    --dark-mid:    #0d2234;

    /* Neutral */
    --cream:       #f5f0dc;
    --white:       #ffffff;
    --gray-50:     #f6fafb;
    --gray-100:    #eef4f6;
    --gray-200:    #d4e8ed;
    --gray-400:    #7ab3bf;
    --gray-600:    #3d6e7a;
    --gray-800:    #1a3440;

    /* Status */
    --red:         #e05555;
    --green:       #27b07a;

    /* Radius */
    --radius-sm:   10px;
    --radius-md:   14px;
    --radius-lg:   20px;
    --radius-xl:   24px;

    /* Shadows */
    --shadow-card: 0 0 0 1px rgba(46,196,182,0.1),
                   0 32px 80px rgba(5,17,26,0.72),
                   0 8px 24px rgba(5,17,26,0.36);
    --shadow-btn:  0 4px 20px rgba(46,196,182,0.38),
                   0 1px 4px rgba(46,196,182,0.16);
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    background-image:
        radial-gradient(ellipse 65% 50% at 15% 55%, rgba(46,196,182,0.13) 0%, transparent 62%),
        radial-gradient(ellipse 55% 45% at 85% 15%, rgba(242,193,78,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 45% 40% at 65% 90%, rgba(46,196,182,0.06) 0%, transparent 50%),
        linear-gradient(160deg, var(--bg-page) 0%, var(--bg-page-end) 100%);
    min-height: 100vh;
}

/* ── Auth Wrapper (replaces .container on auth pages) ────────────────────── */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

/* Legacy .container (dashboard, etc.) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ── Logo ────────────────────────────────────────────────────────────────── */
.logo-img {
    display: block;
    margin: 0 auto 16px;
    height: 80px;
    width: 80px;
    border-radius: 20px;
    object-fit: cover;
    filter: drop-shadow(0 4px 16px rgba(46,196,182,0.3));
    transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), filter 0.35s;
}

.logo-img:hover {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 8px 28px rgba(46,196,182,0.44));
}

.logo-img--sm {
    height: 36px;
    width: 36px;
    border-radius: 10px;
    margin: 0;
    filter: drop-shadow(0 2px 6px rgba(46,196,182,0.22));
}

.logo-img--login {
    height: 64px;
    width: 64px;
    border-radius: 16px;
}

/* ── Auth Card ───────────────────────────────────────────────────────────── */
.auth-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(46, 196, 182, 0.15);
    border-radius: var(--radius-xl);
    box-shadow:
        0 0 0 1px rgba(46,196,182,0.06),
        0 32px 80px rgba(5,17,26,0.72),
        0 8px 24px rgba(5,17,26,0.36);
    overflow: hidden;
}

/* Teal-to-gold gradient accent bar at top */
.auth-card::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 100%);
    flex-shrink: 0;
}

.auth-card-body {
    padding: 40px 44px 44px;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-card-header h1 {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--teal-deeper);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.auth-card-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.55;
}

/* ── Form Elements ───────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.label-optional {
    font-size: 11px;
    font-weight: 400;
    color: var(--gray-400);
    letter-spacing: 0;
    text-transform: none;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: 'DM Sans', -apple-system, sans-serif;
    color: var(--white);
    background: rgba(255,255,255,0.07);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-group input::placeholder { color: rgba(255,255,255,0.25); }

.form-group input:focus {
    outline: none;
    border-color: var(--teal);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px rgba(46,196,182,0.15);
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 6px;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin-top: 14px;
    line-height: 1.55;
}

input:invalid:not(:placeholder-shown) { border-color: var(--red); }
input:valid:not(:placeholder-shown) { border-color: var(--green); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s, background 0.15s;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.btn:active { transform: translateY(1px) !important; }

.btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    box-shadow: 0 8px 28px rgba(46,196,182,0.52), 0 2px 8px rgba(46,196,182,0.2);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-800);
    border: 1.5px solid var(--gray-200);
    font-size: 14px;
    padding: 11px 20px;
}

.btn-secondary:hover {
    background: var(--gray-200);
    border-color: var(--teal);
    color: var(--teal-deeper);
}

.btn-outline {
    background: transparent;
    color: var(--teal-deeper);
    border: 1.5px solid rgba(46,196,182,0.45);
    font-size: 14px;
}

.btn-outline:hover {
    background: rgba(46,196,182,0.07);
    border-color: var(--teal);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #f87171 0%, var(--red) 100%);
    color: var(--white);
    font-size: 14px;
    padding: 9px 18px;
    box-shadow: 0 2px 10px rgba(224,85,85,0.28);
}

.btn-danger:hover {
    box-shadow: 0 5px 18px rgba(224,85,85,0.4);
    transform: translateY(-1px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    box-shadow: 0 4px 16px rgba(242,193,78,0.42);
}

.btn-gold:hover {
    box-shadow: 0 6px 22px rgba(242,193,78,0.55);
    transform: translateY(-1px);
}

/* ── Messages ────────────────────────────────────────────────────────────── */
.error-message {
    background: #fff5f5;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border-left: 3px solid var(--red);
    font-size: 14px;
    line-height: 1.5;
}

.error-message strong { font-weight: 700; }

.success-message {
    background: #f0fdf8;
    color: #0f7a56;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border-left: 3px solid var(--green);
    font-size: 14px;
    line-height: 1.5;
}

.auth-link {
    text-align: center;
    margin-top: 22px;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}

.auth-link a {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
}

.auth-link a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ── Check Email / Success State ─────────────────────────────────────────── */
.check-email-state {
    text-align: center;
    padding: 8px 0 20px;
}

.check-email-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(46,196,182,0.12) 0%, rgba(242,193,78,0.1) 100%);
    border: 1.5px solid rgba(46,196,182,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    animation: check-pop 0.4s cubic-bezier(.34,1.56,.64,1);
}

@keyframes check-pop {
    from { transform: scale(0.65); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.check-email-state h3 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.check-email-state p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
}

.resend-link {
    display: block;
    margin-top: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.28);
}

.resend-link a {
    color: var(--teal-deeper);
    font-weight: 600;
    text-decoration: none;
}

.resend-link a:hover { text-decoration: underline; }

/* ── Status State (verify-email, magic-login) ───────────────────────────── */
.status-state {
    text-align: center;
    padding: 16px 0 24px;
}

.status-spinner {
    width: 44px;
    height: 44px;
    margin: 0 auto 20px;
    border: 3px solid rgba(46,196,182,0.18);
    border-top-color: var(--teal);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.status-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
}

.status-icon-wrap--success {
    background: rgba(39,176,122,0.12);
    border: 1.5px solid rgba(39,176,122,0.25);
    color: var(--green);
}

.status-icon-wrap--error {
    background: rgba(224,85,85,0.1);
    border: 1.5px solid rgba(224,85,85,0.22);
    color: var(--red);
}

.status-state h3 {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.status-state p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

/* ── Password Toggle Section ─────────────────────────────────────────────── */
.toggle-section {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.toggle-section.open {
    max-height: 350px;
    opacity: 1;
}

.toggle-link-wrap {
    text-align: center;
    margin: 16px 0 4px;
}

.toggle-link-wrap button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255,255,255,0.28);
    font-family: 'DM Sans', -apple-system, sans-serif;
    padding: 4px 8px;
    transition: color 0.2s;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
}

.toggle-link-wrap button:hover {
    color: var(--teal);
    text-decoration-color: rgba(46,196,182,0.4);
}

/* ── Divider ─────────────────────────────────────────────────────────────── */
.divider {
    text-align: center;
    margin: 22px 0;
    position: relative;
    overflow: hidden;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
    z-index: 0;
}

.divider span {
    position: relative;
    background: transparent;
    padding: 0 14px;
    color: rgba(255,255,255,0.25);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

/* ── OAuth Buttons ───────────────────────────────────────────────────────── */
.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 4px;
}

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: 'DM Sans', -apple-system, sans-serif;
    transition: all 0.2s;
    border: 1.5px solid;
    cursor: pointer;
    background: none;
}

.oauth-btn svg { flex-shrink: 0; }

.google-btn {
    background: rgba(255,255,255,0.92);
    color: #3c4043;
    border-color: transparent;
}

.google-btn:hover {
    background: #fff;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(66,133,244,0.18);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    border-color: transparent;
}

.instagram-btn:hover {
    opacity: 0.9;
    box-shadow: 0 4px 14px rgba(188,24,136,0.32);
    transform: translateY(-1px);
}

/* ── Landing Page ────────────────────────────────────────────────────────── */
.landing-card {
    width: 100%;
    max-width: 440px;
}

.landing-brand {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}

.landing-card .logo-img {
    height: 96px;
    width: 96px;
    border-radius: 22px;
    margin-bottom: 18px;
}

.landing-tagline {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0 0 28px;
    line-height: 1.65;
    text-align: center;
}

.landing-tagline strong {
    color: var(--teal-deeper);
    font-weight: 700;
}

.landing-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-actions a { text-decoration: none; }

/* ── Checkbox Group ──────────────────────────────────────────────────────── */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    cursor: pointer;
}

/* ── Overrides ───────────────────────────────────────────────────────────── */
.overrides-container { display: flex; flex-direction: column; gap: 10px; }
.override-item { border-left: 3px solid var(--teal); }
.override-item.closed-day { border-left-color: var(--red); background-color: #fff5f5; }
.override-time { color: var(--teal-deeper); font-weight: 600; }
.closed-day .override-time { color: var(--red); }
.override-reason { color: var(--gray-400); font-size: 14px; font-style: italic; }
.hint { color: var(--gray-400); font-size: 14px; margin: 10px 0; }

/* ── FullCalendar ────────────────────────────────────────────────────────── */
#calendar {
    max-width: 100%;
    height: auto;
    min-height: 600px;
    margin: 20px 0;
}

.fc {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.fc .fc-button-primary {
    background-color: var(--teal);
    border-color: var(--teal-dark);
    border-radius: 6px;
}

.fc .fc-button-primary:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-deeper);
}

.fc .fc-button-primary:not(:disabled):active,
.fc .fc-button-primary:not(:disabled).fc-button-active {
    background-color: var(--teal-deeper);
    border-color: var(--teal-deeper);
}

.fc-theme-standard .fc-scrollgrid { border-color: var(--gray-200); }
.fc-theme-standard td, .fc-theme-standard th { border-color: var(--gray-200); }
.fc .fc-col-header-cell-cushion { color: var(--teal-deeper); font-weight: 700; }
.fc .fc-timegrid-slot-label-cushion { color: var(--gray-600); }
.fc-event-subtitle { font-size: 11px; opacity: 0.9; margin-top: 2px; }
.fc-event:hover { cursor: pointer; opacity: 0.9; }
.fc .fc-day-today { background-color: rgba(46,196,182,0.06) !important; }
.fc .fc-timegrid-now-indicator-line { border-color: var(--gold); border-width: 2px; }
.fc .fc-timegrid-now-indicator-arrow { border-color: var(--gold); }

@media (max-width: 768px) {
    #calendar { min-height: 400px; }
    .fc .fc-toolbar { flex-direction: column; gap: 10px; }
    .fc .fc-toolbar-chunk { display: flex; justify-content: center; }
}

/* ── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(5,17,26,0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease-in;
    backdrop-filter: blur(4px);
}

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

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-card);
    animation: slideUp 0.25s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    background: linear-gradient(90deg, rgba(46,196,182,0.06) 0%, transparent 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header h3 { margin: 0; color: var(--dark); font-size: 18px; font-weight: 700; }

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.modal-close:hover { background-color: var(--gray-100); color: var(--dark); }

.modal-content form { padding: 24px; }

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

.modal-actions .btn { min-width: 100px; width: auto; }

.modal-content .form-group { margin-bottom: 20px; }

.modal-content .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-800);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.modal-content input,
.modal-content select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: 'DM Sans', -apple-system, sans-serif;
    background: var(--gray-50);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-content input:focus,
.modal-content select:focus {
    outline: none;
    border-color: var(--teal);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(46,196,182,0.15);
}

/* ── Dashboard ───────────────────────────────────────────────────────────── */
.dashboard {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(5,17,26,0.2);
    padding: 30px;
    margin-top: 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-100);
}

.dashboard-header h1 { color: var(--dark); font-weight: 800; }

.nav-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
    border-bottom: 2px solid var(--gray-100);
}

.nav-tab {
    padding: 10px 18px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    border-radius: 6px 6px 0 0;
    transition: color 0.15s, background 0.15s;
    font-family: 'DM Sans', -apple-system, sans-serif;
}

.nav-tab:hover { color: var(--teal-deeper); background: rgba(46,196,182,0.07); }

.nav-tab.active {
    color: var(--teal-deeper);
    border-bottom-color: var(--teal);
    font-weight: 700;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.card {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid var(--gray-100);
}

.card h3 { margin-bottom: 15px; color: var(--dark); font-weight: 700; }

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.15s;
}

.list-item:hover {
    box-shadow: 0 2px 10px rgba(46,196,182,0.1);
    border-color: var(--gray-200);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.status-pending { background: rgba(242,193,78,0.18); color: #8a6400; }
.status-confirmed { background: rgba(39,176,122,0.15); color: #0d6b44; }

.integration-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid var(--gray-100);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-connected { background: var(--green); box-shadow: 0 0 0 3px rgba(39,176,122,0.2); }
.status-disconnected { background: var(--red); box-shadow: 0 0 0 3px rgba(224,85,85,0.2); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 520px) {
    .auth-card-body { padding: 32px 24px 36px; }
}

@media (max-width: 380px) {
    .auth-card-body { padding: 28px 18px 32px; }
}

/* ── Doti Welcome Card ──────────────────────────────────────────────────── */
.doti-welcome {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(46,196,182,0.08) 0%, rgba(242,193,78,0.05) 100%);
    border: 1px solid rgba(46,196,182,0.15);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.doti-welcome-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(46,196,182,0.3));
}

.doti-welcome-text {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
}

.doti-welcome-text strong {
    color: var(--teal);
    font-weight: 700;
}

/* Billing page variant (light background) */
.dashboard .doti-welcome {
    background: linear-gradient(135deg, rgba(46,196,182,0.06) 0%, rgba(242,193,78,0.04) 100%);
    border-color: rgba(46,196,182,0.12);
}

.dashboard .doti-welcome-text {
    color: var(--gray-600);
}

.dashboard .doti-welcome-text strong {
    color: var(--teal-deeper);
}
