/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Theme Colors (Dark Mode Sleek Theme Base) */
    --bg-main: #0a0b10;
    --bg-card: rgba(18, 20, 29, 0.75);
    --bg-card-hover: rgba(26, 28, 41, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Action Stamp Colors */
    --color-like: #10b981;
    --color-dislike: #ef4444;
    --color-info: #0ea5e9;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
    --glass-blur: blur(16px);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   VERSION-SPECIFIC DYNAMIC THEME TOKENS
   ========================================================================== */
body.mode-fwb {
    --theme-primary: #8b5cf6;       /* Violet */
    --theme-secondary: #6366f1;     /* Indigo */
    --theme-grad: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --theme-glow: rgba(139, 92, 246, 0.18);
    --theme-logo-glow: rgba(99, 102, 241, 0.4);
}

body.mode-temptation {
    --theme-primary: #ff4b72;       /* Coral Pink */
    --theme-secondary: #ff6e40;     /* Sunset Orange */
    --theme-grad: linear-gradient(135deg, #ff4b72 0%, #ff6e40 100%);
    --theme-glow: rgba(255, 75, 114, 0.18);
    --theme-logo-glow: rgba(255, 75, 114, 0.4);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.5s ease;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   GLOWING BACKGROUND & ORBS
   ========================================================================== */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    mix-blend-mode: screen;
    animation: orb-float 25s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--theme-primary) 0%, transparent 70%);
    transition: background 0.8s ease;
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--theme-secondary) 0%, transparent 70%);
    animation-delay: -5s;
    transition: background 0.8s ease;
}

.orb-3 {
    top: 30%;
    left: 40%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes orb-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 8%) scale(1.15); }
}

/* ==========================================================================
   NAVIGATION BAR & SLIDER TOGGLE
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 11, 16, 0.6);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
}

.logo-icon {
    background: var(--theme-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.6rem;
    transition: var(--transition-smooth);
}

.highlight {
    background: var(--theme-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-smooth);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.matches-badge-container .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--theme-grad);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg-main);
    transition: var(--transition-smooth);
}

.hidden {
    display: none !important;
}

/* --- Toggle Switch Slider (FWB vs. Temp-tation) --- */
.mode-toggle-container {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mode-toggle-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

body.mode-fwb .label-fwb {
    color: var(--theme-primary);
    text-shadow: 0 0 8px var(--theme-logo-glow);
}

body.mode-temptation .label-temp {
    color: var(--theme-primary);
    text-shadow: 0 0 8px var(--theme-logo-glow);
}

/* Switch Foundation */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #334155;
    transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Checked Actions */
input:checked + .slider {
    background-color: var(--theme-primary);
}

input:checked + .slider::before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round::before {
    border-radius: 50%;
}

/* ==========================================================================
   APP SCREENS CONTAINER
   ========================================================================== */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.screen {
    width: 100%;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.screen.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   SCREEN 1: SPLASH SCREEN & VERSION SELECTION TABS
   ========================================================================== */
.splash-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.splash-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.gradient-text {
    background: var(--theme-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-smooth);
}

.splash-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.25rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* Version tabs switcher */
.version-select-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.45rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.version-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.75rem 1.6rem;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.version-tab:hover {
    color: var(--text-primary);
}

.version-tab.active {
    background: var(--theme-grad);
    color: white;
    box-shadow: 0 4px 15px var(--theme-glow);
}

/* Role Selector Cards */
.role-selector-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

.role-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.role-card:hover {
    transform: translateY(-8px);
    border-color: var(--theme-primary);
    box-shadow: var(--shadow-lg), 0 0 22px var(--theme-glow);
}

.role-card:hover::before {
    opacity: 1;
}

.role-card-icon {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--theme-primary);
    transition: var(--transition-smooth);
}

.role-card:hover .role-card-icon {
    background: var(--theme-grad);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}

.role-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.role-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.role-card-action {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.role-card:hover .role-card-action {
    color: var(--theme-primary);
}

.role-card:hover .role-card-action i {
    transform: translateX(4px);
}

/* ==========================================================================
   SCREEN 2: CANDIDATE PROFILE FORM
   ========================================================================== */
.form-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.back-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.back-btn:hover {
    color: var(--text-primary);
    transform: translateX(-3px);
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input[type="text"],
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 0.85rem 1.1rem;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    border-color: var(--theme-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 12px var(--theme-glow);
}

/* Image & PDF Upload Drag Areas */
.image-upload-wrapper,
.pdf-upload-wrapper {
    position: relative;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    height: 180px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.image-upload-wrapper:hover,
.pdf-upload-wrapper:hover,
.image-upload-wrapper.dragover,
.pdf-upload-wrapper.dragover {
    border-color: var(--theme-primary);
    background: rgba(255, 255, 255, 0.01);
}

.file-input-hidden {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.image-preview-container,
.pdf-preview-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.upload-placeholder i {
    font-size: 2.2rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.image-upload-wrapper:hover .upload-placeholder i,
.pdf-upload-wrapper:hover .upload-placeholder i {
    color: var(--theme-primary);
    transform: translateY(-3px);
}

.upload-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
}

.upload-placeholder small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

#profile-img-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5;
}

.remove-upload-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(10, 11, 16, 0.8);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition-smooth);
}

.remove-upload-btn:hover {
    background: #ef4444;
    transform: scale(1.1);
}

.pdf-file-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    z-index: 5;
    padding: 1rem;
}

.pdf-file-details i {
    font-size: 2.5rem;
    color: #ef4444;
}

.pdf-name {
    font-weight: 600;
    font-size: 0.95rem;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdf-size {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Checkboxes Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-top: 0.2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
    transition: var(--transition-smooth);
}

.checkbox-label:hover {
    color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--theme-primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Submit Actions */
.form-actions {
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

.submit-btn {
    background: var(--theme-grad);
    border: none;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px var(--theme-glow);
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--theme-glow);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* ==========================================================================
   SCREEN 3: RECRUITER SWIPER & DECK
   ========================================================================== */
.recruiter-layout {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swipe-container {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.card-deck {
    width: 100%;
    height: 520px;
    position: relative;
    perspective: 1000px;
}

/* Swiper Card */
.tinder-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #1e293b;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: grab;
    user-select: none;
    touch-action: none;
    transform-origin: 50% 99%;
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.1s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tinder-card:active {
    cursor: grabbing;
}

.card-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Card Vignette & Bottom Text Overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3.5rem 1.5rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(10, 11, 16, 0.95) 0%, rgba(10, 11, 16, 0.6) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    pointer-events: none;
}

.card-info-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.card-info-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

.card-info-header .detail-tag {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    margin-left: auto;
}

.card-title-badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    backdrop-filter: blur(4px);
}

.card-bio-snippet {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.3rem;
}

.tag-mini {
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* Drag Overlay Badges (LIKE / NOPE) */
.swipe-stamp {
    position: absolute;
    top: 35px;
    border: 4px solid;
    padding: 0.4rem 1.2rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    z-index: 100;
    pointer-events: none;
    transition: opacity 0.1s ease;
}

.swipe-stamp.like {
    left: 30px;
    border-color: var(--color-like);
    color: var(--color-like);
    transform: rotate(-15deg);
}

.swipe-stamp.nope {
    right: 30px;
    border-color: var(--color-dislike);
    color: var(--color-dislike);
    transform: rotate(15deg);
}

/* Empty Deck State */
.empty-deck-message {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
}

.empty-icon {
    font-size: 3.5rem;
    color: var(--color-like);
    margin-bottom: 1.5rem;
    animation: pulse-ring 2s infinite;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2); }
    70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.empty-deck-message h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.empty-deck-message p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.85rem 1.8rem;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Tinder Buttons Bar */
.swipe-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    width: 100%;
}

.swipe-action-btn {
    border: none;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.swipe-action-btn:active {
    transform: scale(0.9) !important;
}

.swipe-action-btn.dislike {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--color-dislike);
}

.swipe-action-btn.dislike:hover {
    background: var(--color-dislike);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.swipe-action-btn.like {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--color-like);
    font-size: 1.5rem;
    width: 66px;
    height: 66px;
}

.swipe-action-btn.like:hover {
    background: var(--color-like);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.swipe-action-btn.info {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--color-info);
}

.swipe-action-btn.info:hover {
    background: var(--color-info);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

/* Keyboard Helpers */
.keyboard-helper {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.keyboard-helper kbd {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
    margin-right: 2px;
}

/* ==========================================================================
   RESUME DRAWER (SLIDE-IN PANEL)
   ========================================================================== */
.resume-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 200;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.4s;
}

.resume-drawer.open {
    visibility: visible;
    pointer-events: auto;
}

.drawer-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.resume-drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -600px;
    width: 100%;
    max-width: 580px;
    height: 100%;
    background: #0f172a;
    border-left: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(0);
}

.resume-drawer.open .drawer-content {
    transform: translateX(-600px);
}

.drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

/* Candidate Detail Info */
.candidate-detail-intro {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.detail-avatar {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid var(--theme-primary);
    transition: border-color 0.4s ease;
}

.detail-meta h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
}

.detail-meta h4 {
    font-size: 0.95rem;
    color: var(--theme-primary);
    font-weight: 600;
    margin-top: 0.2rem;
    transition: color 0.4s ease;
}

.drawer-section h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    border-left: 3px solid var(--theme-primary);
    padding-left: 0.6rem;
    transition: border-color 0.4s ease;
}

.drawer-section p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-detail {
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

.tag-drawer-highlight {
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--theme-glow);
    color: var(--theme-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

/* Resume PDF Section */
.pdf-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.download-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--theme-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.download-link:hover {
    text-decoration: underline;
    transform: translateY(-1px);
}

.pdf-viewer-frame-container {
    width: 100%;
    min-height: 400px;
    background: #1e293b;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.pdf-iframe {
    width: 100%;
    height: 480px;
    border: none;
    background: white;
}

/* Fallback Dynamic HTML Resume */
.web-resume-fallback {
    padding: 2rem;
    color: #1e293b;
    background: #f8fafc;
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 400px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.web-cv-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

.web-cv-header h2 {
    font-family: 'Outfit', sans-serif;
    color: #0f172a;
    font-size: 1.8rem;
    font-weight: 700;
}

.web-cv-header p {
    color: #475569;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 0.2rem;
}

.web-cv-section h3 {
    font-family: 'Outfit', sans-serif;
    color: #0f172a;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 0.3rem;
}

.web-cv-section p {
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.5;
}

.web-cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.web-cv-skill-tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: #e2e8f0;
    color: #1e293b;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

.web-cv-experience-item {
    margin-bottom: 1rem;
}

.web-cv-exp-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
}

.web-cv-exp-company {
    font-style: italic;
    color: #475569;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

/* ==========================================================================
   MATCH OVERLAY (FULL SCREEN CELEBRATION)
   ========================================================================== */
.match-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.match-overlay.open {
    visibility: visible;
    opacity: 1;
}

.match-overlay-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(6, 7, 10, 0.95);
}

.match-modal {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 480px;
    padding: 3rem 2rem;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    z-index: 10;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.match-overlay.open .match-modal {
    transform: scale(1);
}

.match-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--theme-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 25px var(--theme-glow);
    transition: background 0.4s ease;
}

.match-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--theme-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.match-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.match-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.match-avatar-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.match-avatar-wrapper img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.match-avatar-wrapper.candidate img {
    border-color: var(--theme-primary);
}

.match-avatar-wrapper.recruiter img {
    border-color: #3b82f6;
}

.avatar-label {
    position: absolute;
    bottom: -24px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    color: var(--text-secondary);
}

.match-avatar-wrapper.heart-icon {
    font-size: 2.5rem;
    color: var(--theme-primary);
    animation: heart-pulse 1s infinite alternate;
}

@keyframes heart-pulse {
    0% { transform: scale(0.9); filter: drop-shadow(0 0 2px var(--theme-glow)); }
    100% { transform: scale(1.1); filter: drop-shadow(0 0 10px var(--theme-glow)); }
}

.match-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.match-btn {
    width: 100%;
    justify-content: center;
}

.primary-btn {
    background: var(--theme-grad);
    border: none;
    color: white;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.95rem 2rem;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px var(--theme-glow);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--theme-glow);
}

/* ==========================================================================
   SHORTLISTED MATCHES SIDEBAR
   ========================================================================== */
.shortlist-sidebar {
    position: fixed;
    top: 0;
    right: -360px;
    width: 340px;
    height: 100vh;
    background: #0f172a;
    border-left: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 150;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.shortlist-sidebar.open {
    right: 0;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-header h3 i {
    color: var(--theme-primary);
    transition: color 0.4s ease;
}

.sidebar-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
    position: relative;
}

.no-matches-msg {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.no-matches-msg i {
    font-size: 2.5rem;
}

.no-matches-msg p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.matches-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.match-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.match-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.match-item img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.match-item-info {
    flex-grow: 1;
    overflow: hidden;
}

.match-item-info h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-item-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-item-action {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.match-item:hover .match-item-action {
    color: var(--theme-primary);
    transform: translateX(2px);
}

/* ==========================================================================
   CONFETTI CANVAS
   ========================================================================== */
.confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 290;
    pointer-events: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN MODIFICATIONS
   ========================================================================== */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .app-container {
        padding: 1rem;
    }
    
    .splash-title {
        font-size: 2.3rem;
    }
    
    .role-selector-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .drawer-content {
        max-width: 100%;
        right: -100%;
    }
    
    .resume-drawer.open .drawer-content {
        transform: translateX(-100%);
    }
}

/* ==========================================================================
   SOCIAL LOGIN AUTOFILL
   ========================================================================== */
.social-login-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.social-login-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.social-btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
}

.social-auth-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    color: white;
}

.social-auth-btn i {
    font-size: 1rem;
}

.google-auth {
    background: #ffffff;
    color: #1f2937;
    border-color: #e5e7eb;
}

.google-auth:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.apple-auth {
    background: #000000;
    border-color: #27272a;
}

.apple-auth:hover {
    background: #18181b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.facebook-auth {
    background: #1877f2;
}

.facebook-auth:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.linkedin-auth {
    background: #0077b5;
}

.linkedin-auth:hover {
    background: #006295;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

/* Mock OAuth Dialog Modal styling */
.mock-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mock-auth-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.mock-auth-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.mock-auth-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    z-index: 10;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mock-auth-modal.open .mock-auth-container {
    transform: scale(1);
}

/* Brand specific styling for mock authentication screens */
/* --- Google Layout --- */
.google-oauth-box {
    background: #ffffff;
    color: #202124;
    padding: 2.5rem 2rem;
    font-family: 'Roboto', 'Google Sans', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.google-logo-wrapper {
    display: flex;
    gap: 0.2rem;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.google-blue { color: #4285F4; }
.google-red { color: #EA4335; }
.google-yellow { color: #FBBC05; }
.google-green { color: #34A853; }

.google-oauth-box h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #202124;
    margin-bottom: 0.4rem;
}

.google-oauth-box p {
    font-size: 0.9rem;
    color: #5f6368;
    margin-bottom: 2rem;
    text-align: center;
}

.google-accounts-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.google-account-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #dadce0;
    border-radius: 8px;
    cursor: pointer;
    background: white;
    transition: background 0.2s ease;
}

.google-account-item:hover {
    background: #f8f9fa;
}

.google-account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.google-account-info {
    display: flex;
    flex-direction: column;
}

.google-account-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #3c4043;
}

.google-account-email {
    font-size: 0.75rem;
    color: #70757a;
}

/* --- Apple Layout --- */
.apple-oauth-box {
    background: #000000;
    color: #ffffff;
    padding: 3rem 2rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apple-oauth-box i {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.apple-oauth-box h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.apple-accounts-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.apple-account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #1c1c1e;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.apple-account-item:hover {
    background: #2c2c2e;
}

.apple-account-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.apple-account-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.apple-account-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.apple-chevron {
    color: #8e8e93;
    font-size: 0.85rem;
}

/* --- Facebook Layout --- */
.facebook-oauth-box {
    background: #f0f2f5;
    color: #1c1e21;
    font-family: Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

.facebook-header {
    background: #1877f2;
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.facebook-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.facebook-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.facebook-body p {
    font-size: 0.85rem;
    color: #606770;
    margin-bottom: 1.5rem;
    text-align: center;
}

.facebook-accounts-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.facebook-account-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.facebook-account-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.facebook-account-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.facebook-account-info {
    display: flex;
    flex-direction: column;
}

.facebook-account-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1c1e21;
}

.facebook-account-status {
    font-size: 0.75rem;
    color: #606770;
}

.mock-close-btn {
    margin-top: 1.5rem;
    background: transparent;
    border: none;
    font-size: 0.85rem;
    color: #8e8e93;
    cursor: pointer;
    text-decoration: underline;
}

.mock-close-btn:hover {
    color: #4b5563;
}

/* ==========================================================================
   AUTHENTICATION, DASHBOARD, & MESSAGING STYLES
   ========================================================================== */

/* Auth Tab Toggle Styling */
.version-select-tabs {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
}
.version-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.version-tab.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

/* Dashboard Layout */
.dashboard-layout {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.user-profile-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.user-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    margin-top: 0.25rem;
    border: 1px solid var(--border-color);
}

/* Dashboard Tab Selectors */
.dashboard-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.dash-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-tab:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.dash-tab.active {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
    box-shadow: inset 0 -2px 0 var(--primary-color);
}

/* Split-Pane Inbox & Chats */
.matches-chat-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.5rem;
    min-height: 480px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.matches-list-panel {
    border-right: 1px solid var(--border-color);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.01);
}

.matches-list-panel h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.candidate-matches-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    max-height: 400px;
    padding: 0;
    margin: 0;
}

.candidate-match-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.candidate-match-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.candidate-match-item.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color);
}

.match-item-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.match-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex-grow: 1;
    min-width: 0;
}

.match-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-item-preview {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-matches-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    flex-grow: 1;
}

.no-matches-msg i {
    font-size: 2.25rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Chat Viewport Area */
.chat-viewport {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: rgba(0, 0, 0, 0.08);
}

.chat-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

.chat-placeholder i {
    font-size: 3rem;
    opacity: 0.4;
}

.chat-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-box-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.chat-recruiter-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-recruiter-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.chat-status {
    font-size: 0.75rem;
    color: var(--primary-color);
}

.chat-messages {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: 340px;
}

/* Message Bubbles styling */
.msg-bubble {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
    display: inline-block;
}

.msg-bubble.sent {
    align-self: flex-end;
    background: var(--primary-gradient);
    color: white;
    border-bottom-right-radius: 4px;
}

.msg-bubble.received {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border-color);
}

.msg-meta {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.25rem;
    display: block;
    text-align: right;
}

.msg-bubble.received .msg-meta {
    color: var(--text-secondary);
    text-align: left;
}

.chat-input-area {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.chat-input-area input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 0.75rem 1.1rem;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.chat-input-area input:focus {
    border-color: var(--primary-color);
}

.chat-input-area .send-btn {
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chat-input-area .send-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Edit profile wrapper in dashboard */
.profile-edit-box {
    background: rgba(255, 255, 255, 0.01);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

