/* ==========================================================================
   Doctor Workspace - Design System & Stylesheet
   Crafted with editorial serif typography & deep forest green palette
   ========================================================================== */

:root {
    /* Brand Colors */
    --color-forest-dark: #122820;
    --color-forest-primary: #17382c;
    --color-forest-hover: #1f4a3b;
    --color-forest-active: #275d4a;
    --color-forest-surface: #204537;
    
    /* Sage / Olive Accents */
    --color-sage-bg: #eaf1eb;
    --color-sage-border: #d4e1d6;
    --color-sage-text: #1d4d3c;
    --color-sage-light: #f3f7f4;

    /* Backgrounds & Neutrals */
    --bg-page: #f9f8f5;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --bg-subtle: #f4f3ef;
    --bg-highlight: #fbfaf8;

    /* Borders */
    --border-light: #ebe8e2;
    --border-medium: #dfdbd2;
    --border-dark: #17382c;

    /* Typography Colors */
    --text-primary: #1b1e1d;
    --text-secondary: #585e5b;
    --text-muted: #838b87;
    --text-on-dark: #f5f7f6;
    --text-on-dark-muted: #a3b8af;

    /* Status Colors */
    --status-confirmed-bg: #e6f3eb;
    --status-confirmed-text: #1b633f;
    --status-completed-bg: #eef2f5;
    --status-completed-text: #475569;
    --status-warning-bg: #fef3c7;
    --status-warning-text: #92400e;
    --status-danger-bg: #fee2e2;
    --status-danger-text: #991b1b;

    /* Fonts */
    --font-heading: 'Newsreader', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(18, 40, 32, 0.04);
    --shadow-md: 0 4px 12px rgba(18, 40, 32, 0.06);
    --shadow-lg: 0 10px 30px rgba(18, 40, 32, 0.08);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
}

/* ==========================================================================
   Toasts / Alert Messages
   ========================================================================== */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.92rem;
    color: var(--text-primary);
}

.toast-success {
    border-left: 4px solid #16a34a;
}
.toast-success .toast-icon {
    color: #16a34a;
}

.toast-error {
    border-left: 4px solid #dc2626;
}
.toast-error .toast-icon {
    color: #dc2626;
}

.toast-info {
    border-left: 4px solid var(--color-forest-primary);
}
.toast-info .toast-icon {
    color: var(--color-forest-primary);
}

.toast-content {
    flex: 1;
}

.toast-close {
    font-size: 1.3rem;
    line-height: 1;
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 4px;
}
.toast-close:hover {
    color: var(--text-primary);
    background: var(--bg-subtle);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   Apple-level Glassmorphism & Motion Animation System
   ========================================================================== */

/* Ambient Floating Glow Mesh Behind the Panels */
.apple-glass-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    background-color: #11261e;
}

.ambient-mesh-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    opacity: 0.45;
    z-index: 0;
}

.mesh-orb-1 {
    top: -150px;
    left: -100px;
    background: radial-gradient(circle, #2d6b53 0%, rgba(25, 62, 50, 0) 70%);
    animation: orbDrift1 14s infinite alternate ease-in-out;
}

.mesh-orb-2 {
    bottom: -150px;
    left: 20%;
    background: radial-gradient(circle, #3a7a61 0%, rgba(20, 50, 40, 0) 70%);
    animation: orbDrift2 16s infinite alternate ease-in-out;
}

.mesh-orb-3 {
    top: 20%;
    right: -100px;
    background: radial-gradient(circle, #d9e6dc 0%, rgba(240, 237, 230, 0) 65%);
    opacity: 0.35;
    animation: orbDrift3 12s infinite alternate ease-in-out;
}

@keyframes orbDrift1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 80px) scale(1.15); }
}

@keyframes orbDrift2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, -60px) scale(1.1); }
}

@keyframes orbDrift3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 40px) scale(1.2); }
}

/* ==========================================================================
   Left Column: Translucent Deep Forest Glass Card
   ========================================================================== */
.figma-left-column {
    flex: 0 0 48%;
    width: 48%;
    max-width: 48%;
    background: rgba(18, 44, 35, 0.82);
    backdrop-filter: blur(36px) saturate(190%);
    -webkit-backdrop-filter: blur(36px) saturate(190%);
    color: #ffffff;
    padding: 52px 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow-y: auto;
}

/* Top Doctor Identity: Glass Pill */
.figma-doc-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 8px 14px 8px 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    width: fit-content;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.figma-doc-avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.figma-doc-name {
    font-size: 0.94rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.figma-doc-title {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #a4c4b5;
    font-weight: 700;
    margin-top: 1px;
}

/* Left Content Middle Area */
.figma-left-content {
    margin: auto 0;
}

/* Kicker */
.figma-kicker-text {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #92b8a7;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.figma-kicker-text::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

/* Apple-level Headline */
.figma-main-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.7rem, 3.2vw, 3.45rem);
    font-weight: 400;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.018em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

/* Subhead */
.figma-main-subhead {
    font-size: 1.02rem;
    line-height: 1.6;
    color: #b5c7be;
    max-width: 440px;
    margin-bottom: 28px;
    font-weight: 400;
}

/* Doctor 3D Card: Apple Vision Pro Glass Showcase with Floating Motion */
.figma-image-card-box {
    width: 100%;
    max-width: 480px;
    height: clamp(380px, 46vh, 480px);
    border-radius: 26px;
    overflow: visible;
    position: relative;
    background: linear-gradient(175deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 244, 238, 0.95) 100%);
    box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px 20px 0 20px;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: doctorCardGlow 6s infinite alternate ease-in-out;
}

@keyframes doctorCardGlow {
    0% { box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.3); }
    100% { box-shadow: 0 32px 70px -10px rgba(0, 0, 0, 0.45), 0 0 0 1.5px rgba(255, 255, 255, 0.5), 0 0 35px rgba(74, 222, 128, 0.15); }
}

/* Doctor Image Floating Animation (Git / Motion effect) */
.figma-image-card-box img {
    height: 96%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.12));
    animation: doctorMotionFloat 4.2s infinite ease-in-out;
    transform-origin: bottom center;
}

@keyframes doctorMotionFloat {
    0% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-9px) scale(1.015);
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

/* Floating Greeting Pill: "👋 Hi Dr. Bhavini!" */
.doctor-greeting-pill {
    position: absolute;
    top: -14px;
    right: 20px;
    background: rgba(18, 44, 35, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 7px 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    z-index: 10;
    animation: pillFloat 3.8s infinite ease-in-out;
}

@keyframes pillFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Waving Hand Keyframe */
.waving-hand {
    display: inline-block;
    animation: waveMotion 1.8s infinite ease-in-out;
    transform-origin: 70% 70%;
    font-size: 1.05rem;
}

@keyframes waveMotion {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(16deg); }
    30% { transform: rotate(-10deg); }
    45% { transform: rotate(16deg); }
    60% { transform: rotate(-6deg); }
    75% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}

/* Floating Active Status Pill at Bottom-Left */
.doctor-active-pill {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #193e32;
    z-index: 5;
}

.live-green-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 8px #16a34a;
    animation: pulseGrow 2s infinite;
}

@keyframes pulseGrow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.75; }
}

/* Caption below card */
.figma-caption-text {
    font-size: 0.8rem;
    color: #92b8a7;
    margin-top: 18px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   Right Column: Apple Frosted Liquid Glass Panel
   ========================================================================== */
.figma-right-column {
    flex: 1;
    background: rgba(248, 247, 242, 0.85);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 52px 76px;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Form Container Card with Subtle Glass Rim */
.figma-form-wrapper {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 26px;
    padding: 38px 36px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
}

/* ==========================================================================
   Apple-style Tactile Button Segmented Control Switcher
   ========================================================================== */
.apple-toggle-wrapper {
    margin-bottom: 26px;
}

.apple-button-toggle {
    display: flex;
    background: rgba(228, 224, 215, 0.75);
    border: 1px solid rgba(210, 204, 194, 0.6);
    border-radius: 999px;
    padding: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    position: relative;
}

.apple-toggle-btn {
    flex: 1;
    text-align: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #5d6761;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.apple-toggle-btn:hover {
    color: #193e32;
}

.apple-toggle-btn.active {
    background: #ffffff;
    color: #193e32;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.09), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.apple-toggle-btn:active {
    transform: scale(0.97);
}

/* Soft sage green lock badge */
.figma-lock-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eaf3ec 0%, #d8eae0 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #193e32;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(25, 62, 50, 0.08);
}

/* Form Title: Welcome back, Bhavini. */
.figma-form-headline {
    font-family: var(--font-heading);
    font-size: 2.45rem;
    font-weight: 400;
    color: #193e32;
    line-height: 1.15;
    margin-bottom: 6px;
}

.figma-form-subtext {
    font-size: 0.92rem;
    color: #6b736f;
    margin-bottom: 26px;
}

/* Apple-style Glass Input Fields */
.figma-form-field {
    margin-bottom: 18px;
}

.figma-field-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 500;
    color: #232725;
    margin-bottom: 7px;
}

.figma-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #dcd7ce;
    border-radius: 12px;
    font-size: 0.94rem;
    color: #1a1e1c;
    outline: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.figma-input:focus {
    background: #ffffff;
    border-color: #193e32;
    box-shadow: 0 0 0 4px rgba(25, 62, 50, 0.12), 0 6px 16px rgba(0, 0, 0, 0.04);
}

.figma-input::placeholder {
    color: #a4aba7;
    font-size: 0.9rem;
}

.figma-forgot-link {
    display: inline-block;
    font-size: 0.82rem;
    color: #4b534e;
    margin-top: 2px;
    margin-bottom: 22px;
    transition: color 0.15s;
    font-weight: 500;
}

.figma-forgot-link:hover {
    color: #193e32;
    text-decoration: underline;
}

/* Apple Specular Sheen Primary Action Button */
.figma-btn-submit {
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, #1c4537 0%, #133226 100%);
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(19, 50, 38, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.figma-btn-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: 0.75s;
}

.figma-btn-submit:hover {
    background: linear-gradient(180deg, #225241 0%, #163a2c 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 8px 22px rgba(19, 50, 38, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.figma-btn-submit:hover::after {
    left: 150%;
}

.figma-btn-submit:active {
    transform: scale(0.99);
}

/* Note below button */
.figma-auth-info-text {
    font-size: 0.76rem;
    color: #79807b;
    line-height: 1.48;
    margin-top: 14px;
    margin-bottom: 22px;
}

/* Back Link */
.figma-back-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #5a625d;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.figma-back-nav a {
    color: #5a625d;
    transition: color 0.15s;
}

.figma-back-nav a:hover {
    color: #193e32;
}

.figma-switch-btn {
    color: #193e32 !important;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .figma-split-page {
        flex-direction: column;
    }
    .figma-left-column {
        flex: auto;
        width: 100%;
        max-width: 100%;
        padding: 44px 32px;
        min-height: auto;
    }
    .figma-right-column {
        padding: 44px 28px;
        min-height: auto;
    }
    .figma-main-headline {
        font-size: 2.4rem;
    }
    .figma-image-card-box {
        max-width: 100%;
        height: 360px;
    }
}

/* Soft sage green lock badge */
.figma-lock-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #eaf1ed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #193e32;
    margin-bottom: 22px;
}

/* Form Title: Welcome back, Bhavini. */
.figma-form-headline {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 400;
    color: #193e32;
    line-height: 1.15;
    margin-bottom: 8px;
}

.figma-form-subtext {
    font-size: 0.95rem;
    color: #737975;
    margin-bottom: 28px;
}

/* Input Fields */
.figma-form-field {
    margin-bottom: 20px;
}

.figma-field-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #232725;
    margin-bottom: 7px;
}

.figma-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background-color: #ffffff;
    border: 1px solid #e1ded7;
    border-radius: 8px;
    font-size: 0.92rem;
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.figma-input:focus {
    border-color: #193e32;
    box-shadow: 0 0 0 3px rgba(25, 62, 50, 0.1);
}

.figma-input::placeholder {
    color: #a8adaa;
}

.figma-forgot-link {
    display: inline-block;
    font-size: 0.84rem;
    color: #4b534e;
    margin-top: 4px;
    margin-bottom: 22px;
    transition: color 0.15s;
}

.figma-forgot-link:hover {
    color: #193e32;
    text-decoration: underline;
}

/* Sign in securely Button */
.figma-btn-submit {
    width: 100%;
    height: 48px;
    background-color: #193e32;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.figma-btn-submit:hover {
    background-color: #133329;
}

.figma-btn-submit:active {
    transform: scale(0.99);
}

/* Note below button */
.figma-auth-info-text {
    font-size: 0.78rem;
    color: #79807b;
    line-height: 1.5;
    margin-top: 16px;
    margin-bottom: 26px;
}

/* Back Link */
.figma-back-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    color: #5a625d;
    padding-top: 12px;
    border-top: 1px solid #e9e6df;
}

.figma-back-nav a {
    color: #5a625d;
    transition: color 0.15s;
}

.figma-back-nav a:hover {
    color: #193e32;
}

.figma-switch-btn {
    color: #193e32 !important;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .figma-split-page {
        flex-direction: column;
    }
    .figma-left-column {
        padding: 40px 28px;
        min-height: auto;
    }
    .figma-right-column {
        padding: 40px 24px;
        min-height: auto;
    }
    .figma-main-headline {
        font-size: 2.3rem;
    }
}

/* Wording Hierarchy: Badi Choti classes */
.figma-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #92b0a3;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.figma-kicker-dark {
    color: var(--text-muted);
}

.figma-headline {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.figma-headline-dark {
    color: var(--text-primary);
    font-size: 2.35rem;
}

.figma-subhead {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #c4d7cf;
    margin-bottom: 28px;
    font-weight: 400;
}

.figma-subhead-dark {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 22px;
}

/* Doctor Hero Card Showcase */
.doctor-hero-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin: 28px 0;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.doctor-hero-content {
    display: flex;
    gap: 22px;
    align-items: center;
}

.doctor-portrait-container {
    position: relative;
    width: 130px;
    height: 165px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-md);
}

.doctor-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.doctor-status-dot-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: rgba(16, 38, 30, 0.85);
    backdrop-filter: blur(6px);
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    color: #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 600;
}

.status-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80;
}

.doctor-hero-meta {
    flex: 1;
}

.doctor-hero-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 2px;
}

.doctor-hero-specialty {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #92b0a3;
    margin-bottom: 12px;
}

.doctor-hero-quote {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #e5ece8;
    font-style: italic;
    margin-bottom: 14px;
}

.doctor-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.doctor-tag {
    font-size: 0.74rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Feature bullets */
.auth-brand-perks {
    display: flex;
    gap: 20px;
    z-index: 2;
    margin-top: 10px;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #c4d7cf;
}

.perk-item svg {
    color: #4ade80;
    flex-shrink: 0;
}

.auth-brand-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: #92b0a3;
    z-index: 2;
}

/* Auth Form Side */
.auth-form-side {
    flex: 1;
    background-color: var(--bg-page);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 44px 36px;
    overflow-y: auto;
}

.auth-card {
    width: 100%;
    max-width: 470px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 38px 36px;
    box-shadow: 0 4px 20px rgba(18, 40, 32, 0.04);
}

.auth-doctor-mini-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    margin-bottom: 22px;
    width: fit-content;
}

.auth-doctor-mini-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.auth-doctor-mini-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.auth-doctor-mini-text strong {
    color: var(--text-primary);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-on-dark);
    letter-spacing: 0.02em;
}

.brand-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
}

.auth-brand-content {
    max-width: 520px;
    z-index: 1;
    margin: 60px 0;
}

.brand-logo-symbol {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #ffffff;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 20px;
    color: #ffffff;
}

.brand-title em {
    font-style: italic;
    color: #d1e7dc;
}

.brand-description {
    color: var(--text-on-dark-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 36px;
}

/* Feature checklist in brand panel */
.brand-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.brand-feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a7f3d0;
    flex-shrink: 0;
    margin-top: 2px;
}

.brand-feature-text strong {
    display: block;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
}

.brand-feature-text span {
    font-size: 0.85rem;
    color: var(--text-on-dark-muted);
}

.auth-brand-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: var(--text-on-dark-muted);
    z-index: 1;
}

/* Auth Form Side */
.auth-form-side {
    flex: 1;
    background-color: var(--bg-page);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 40px;
    overflow-y: auto;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
}

.auth-header {
    margin-bottom: 28px;
}

.auth-header h1 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Tabs switcher at top of form */
.auth-tabs {
    display: flex;
    background: var(--bg-subtle);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.auth-tab.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

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

.form-row {
    display: flex;
    gap: 14px;
}

.form-row .form-group {
    flex: 1;
}

.form-label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
    outline: none;
}

.input-wrapper .form-input {
    padding-left: 42px;
}

.input-wrapper .password-input {
    padding-right: 42px;
}

.form-input:focus {
    border-color: var(--color-forest-primary);
    box-shadow: 0 0 0 3px rgba(23, 56, 44, 0.12);
}

.form-input::placeholder {
    color: #a8adaa;
    font-size: 0.9rem;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
}
.password-toggle-btn:hover {
    color: var(--text-primary);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.form-error-msg {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Utilities row: remember me & forgot password */
.form-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    font-size: 0.85rem;
}

.remember-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-input {
    width: 16px;
    height: 16px;
    accent-color: var(--color-forest-primary);
    border-radius: 4px;
    cursor: pointer;
}

.forgot-link {
    color: var(--color-forest-primary);
    font-weight: 500;
}
.forgot-link:hover {
    text-decoration: underline;
}

/* Buttons */
.btn-primary {
    width: 100%;
    height: 46px;
    background-color: var(--color-forest-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(23, 56, 44, 0.18);
}

.btn-primary:hover {
    background-color: var(--color-forest-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(23, 56, 44, 0.24);
}

.btn-primary:active {
    transform: translateY(0);
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--color-forest-primary);
    font-weight: 600;
    margin-left: 4px;
}
.auth-footer a:hover {
    text-decoration: underline;
}

/* Demo Credentials Hint Box */
.demo-hint-box {
    margin-top: 24px;
    background: var(--bg-subtle);
    border: 1px dashed var(--border-medium);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.demo-hint-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   Dashboard Layout (Appointments & Practice Management)
   Replicating "Doctor appointments.png" faithfully
   ========================================================================== */
.app-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-page);
}

/* Sidebar */
.app-sidebar {
    width: 260px;
    background-color: var(--color-forest-dark);
    color: var(--text-on-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 20px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Doctor Profile Header in Sidebar */
.sidebar-doctor-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-forest-surface);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2ede6;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-doctor-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
}

.sidebar-doctor-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-on-dark-muted);
    font-weight: 600;
    margin-top: 3px;
}

/* Sidebar Navigation */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: #cadbd3;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.sidebar-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.sidebar-nav-item.active {
    background-color: var(--color-forest-surface);
    color: #ffffff;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.sidebar-nav-item svg {
    opacity: 0.85;
}

/* Sidebar Footer */
.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.workspace-badge-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-on-dark-muted);
    font-weight: 700;
}

.sidebar-doctor-email {
    font-size: 0.85rem;
    color: #e5ece8;
    word-break: break-all;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: #cadbd3;
    transition: color 0.15s;
}
.sidebar-link:hover {
    color: #ffffff;
}

.sidebar-link.logout {
    color: #f87171;
}
.sidebar-link.logout:hover {
    color: #fca5a5;
}

/* Dashboard Main View */
.app-main {
    flex: 1;
    padding: 36px 44px;
    overflow-y: auto;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.dashboard-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 6px;
}

.dashboard-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pill-badge {
    background-color: #ebeae6;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Metric Stats Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px 22px;
}

.metric-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: capitalize;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Filter Bar & Search */
.content-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-pills {
    display: flex;
    gap: 18px;
    align-items: center;
}

.filter-pill-item {
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    padding-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-pill-item.active {
    color: var(--text-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--text-primary);
}

.search-input-wrapper {
    position: relative;
    width: 260px;
}

.search-input-wrapper svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    height: 38px;
    padding: 0 14px 0 38px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    outline: none;
}
.search-input:focus {
    border-color: var(--color-forest-primary);
}

/* Workspace 2-Column Split: Appointments List + Details Drawer */
.appointments-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    align-items: start;
}

/* Appointment List Side */
.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.date-section-header {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.appointment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.15s ease;
    cursor: pointer;
}

.appointment-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.appointment-card.selected {
    border: 2px solid var(--text-primary);
}

.apt-time-block {
    display: flex;
    flex-direction: column;
    min-width: 90px;
}

.apt-time-main {
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.1;
    font-family: var(--font-heading);
}

.apt-time-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.apt-main-info {
    flex: 1;
    padding: 0 20px;
}

.apt-patient-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.apt-patient-email {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.apt-session-type {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.apt-status-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
}

.badge-confirmed {
    background-color: var(--status-confirmed-bg);
    color: var(--status-confirmed-text);
}

.badge-completed {
    background-color: var(--status-completed-bg);
    color: var(--status-completed-text);
}

.apt-price {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Notice banners */
.banner-buffer {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #eef5f1;
    border: 1px solid #dbeae0;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 0.86rem;
    color: #17382c;
}

.banner-buffer strong {
    font-weight: 600;
}

.banner-tomorrow {
    background: #f1efea;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-tomorrow-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.banner-tomorrow-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.banner-tomorrow-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.banner-tomorrow-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Appointment Details Panel (Right Card) */
.appointment-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.detail-ref-id {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: monospace;
}

.detail-patient-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 4px;
}

.detail-patient-email, .detail-patient-phone {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.detail-divider {
    height: 1px;
    background: var(--border-light);
    margin: 22px 0;
}

.detail-session-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.detail-session-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.detail-session-reason {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
    background: var(--bg-subtle);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.detail-payment-box {
    background: #eef5f1;
    border: 1px solid #dcebe1;
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.payment-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #17382c;
}

.payment-meta {
    font-size: 0.78rem;
    color: #4b6a5e;
    margin-top: 2px;
}

.detail-meet-box {
    margin-bottom: 24px;
}

.meet-status-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.meet-link-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.btn-open-meeting {
    width: 100%;
    height: 42px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    background: #ffffff;
    transition: all 0.15s ease;
}
.btn-open-meeting:hover {
    background: var(--bg-subtle);
}

.btn-reschedule {
    width: 100%;
    height: 44px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    background: #ffffff;
    margin-bottom: 12px;
    transition: all 0.15s ease;
}
.btn-reschedule:hover {
    background: var(--bg-subtle);
}

.btn-cancel {
    width: 100%;
    text-align: center;
    color: #b91c1c;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px;
}
.btn-cancel:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .auth-split-wrapper {
        flex-direction: column;
    }
    .auth-brand-side {
        padding: 36px 28px;
    }
    .appointments-layout {
        grid-template-columns: 1fr;
    }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }
    .app-sidebar {
        width: 100%;
    }
    .app-main {
        padding: 24px 16px;
    }
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .doctor-hero-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .doctor-portrait-container {
        width: 100%;
        height: 220px;
    }
    .auth-brand-perks {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================================================
   Creative Floating Auth Showcase (Inspired by Modern 3D Interactive Design)
   Deep Forest Emerald, Soft Sage Mint, and Frosted Glass Luxury System
   ========================================================================== */

.creative-auth-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 15%, #183e30 0%, #0d261e 50%, #05140f 100%);
    position: relative;
    overflow-x: hidden;
    padding: 40px 20px;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Background Animated Glow Spheres */
.creative-mesh-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
    opacity: 0.4;
    z-index: 0;
}

.creative-orb-1 {
    width: 550px;
    height: 550px;
    top: -80px;
    left: 10%;
    background: radial-gradient(circle, #2d6b53 0%, rgba(45, 107, 83, 0) 70%);
    animation: orbDrift1 14s infinite alternate ease-in-out;
}

.creative-orb-2 {
    width: 500px;
    height: 500px;
    bottom: -80px;
    right: 12%;
    background: radial-gradient(circle, #34d399 0%, rgba(52, 211, 153, 0) 65%);
    opacity: 0.25;
    animation: orbDrift2 16s infinite alternate ease-in-out;
}

/* Central Floating Glassmorphism Showcase Card */
.creative-auth-card {
    width: 100%;
    max-width: 960px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(45px) saturate(190%);
    -webkit-backdrop-filter: blur(45px) saturate(190%);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 32px;
    box-shadow: 0 35px 90px rgba(5, 20, 15, 0.38), 0 10px 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1);
    display: flex;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Left Character Stage */
.creative-character-stage {
    flex: 0 0 42%;
    background: linear-gradient(160deg, rgba(14, 61, 47, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
    border-right: 1px solid rgba(215, 210, 200, 0.6);
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}

.creative-brand-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(210, 205, 195, 0.6);
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.creative-brand-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0e3d2f;
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
}

.creative-brand-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0e3d2f;
    letter-spacing: -0.01em;
}

.creative-brand-sub {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Standing 3D Doctor Box */
.creative-doctor-display {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 16px 0 10px;
}

.creative-doctor-img {
    height: 330px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(7, 28, 21, 0.22));
    animation: doctorBreathing 4.5s ease-in-out infinite alternate;
    transition: transform 0.25s ease-out;
}

@keyframes doctorBreathing {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-7px) scale(1.015); }
}

.creative-character-shadow {
    width: 140px;
    height: 18px;
    background: radial-gradient(ellipse at center, rgba(14, 61, 47, 0.35) 0%, rgba(14, 61, 47, 0) 72%);
    border-radius: 50%;
    margin-top: -6px;
    filter: blur(2px);
}

.creative-speech-bubble {
    background: #ffffff;
    border: 1px solid rgba(215, 210, 200, 0.8);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0e3d2f;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
}

.creative-status-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #5d6761;
    font-weight: 500;
}

/* Right Form Stage */
.creative-form-stage {
    flex: 1;
    padding: 42px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    background: transparent;
}

/* Input with Left-Embedded Icon */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-with-icon .field-icon {
    position: absolute;
    left: 15px;
    width: 18px;
    height: 18px;
    color: #64748b;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-with-icon .figma-input {
    padding-left: 44px;
    padding-right: 16px;
}

.input-with-icon .figma-input:focus + .field-icon,
.input-with-icon:focus-within .field-icon {
    color: #0e3d2f;
}

/* Password Toggle Icon Button */
.input-with-icon .password-toggle-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #71717a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.input-with-icon .password-toggle-btn:hover {
    color: #0e3d2f;
}

@media (max-width: 900px) {
    .creative-auth-card {
        flex-direction: column;
        max-width: 520px;
    }
    .creative-character-stage {
        flex: none;
        border-right: none;
        border-bottom: 1px solid rgba(215, 210, 200, 0.6);
        padding: 28px 24px;
    }
    .creative-doctor-img {
        height: 220px;
    }
    .creative-form-stage {
        padding: 32px 26px;
    }
}

/* Live 3D Doctor Video Showcase */
.creative-video-container {
    position: relative;
    width: 215px;
    height: 345px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(7, 28, 21, 0.25), 0 4px 14px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: #0d261e;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    margin-bottom: 8px;
}

.creative-video-container:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 26px 60px rgba(7, 28, 21, 0.32);
}

.creative-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   3D Card Flip Mechanism (Login <-> Signup Seamless 3D Rotation)
   ========================================================================== */

.flip-viewport {
    perspective: 1800px;
    -webkit-perspective: 1800px;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transition: min-height 0.28s ease;
}

.flip-cube {
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.25, 1);
    will-change: transform;
}

.flip-cube.is-flipped {
    transform: rotateY(180deg);
}

.flip-side {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 32px;
}

.flip-side-front {
    position: relative;
    z-index: 2;
    transform: rotateY(0deg);
}

.flip-side-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: rotateY(180deg);
    z-index: 1;
}

.flip-cube.is-flipped .flip-side-front {
    pointer-events: none;
    z-index: 1;
}

.flip-cube.is-flipped .flip-side-back {
    pointer-events: auto;
    z-index: 3;
}
