/* ==========================================================================
   SEMAP Azerbaijan — Premium Light SaaS Theme (Haziram.com & JobCV.az Style)
   Clean White / Minimalist Canvas, Crisp Typography, Soft Multi-layer Shadows
   ========================================================================== */

:root {
    --primary: #4f46e5;         /* Royal Indigo */
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --accent: #2563eb;          /* Vibrant Blue */
    --accent-emerald: #10b981;  /* Success / Match */
    --accent-amber: #f59e0b;    /* Warning / Trend */
    --accent-rose: #ef4444;     /* Critical Gap */
    
    --bg-page: #f8fafc;         /* Slate-50 Canvas */
    --bg-card: #ffffff;         /* Pure White Surface */
    --border-light: #e2e8f0;    /* Slate-200 */
    --border-subtle: #f1f5f9;   /* Slate-100 */
    
    --text-primary: #0f172a;    /* Slate-900 */
    --text-secondary: #475569;  /* Slate-600 */
    --text-muted: #94a3b8;      /* Slate-400 */
}

/* Base HTML & Body */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Light Sticky Glass Header */
.light-glass-nav {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Light SaaS Hero Container with Soft Pastel Ambient Glow */
.hero-light-gradient {
    background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f8fafc 100%);
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-light-gradient::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 20%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, rgba(37, 99, 235, 0.05) 40%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    border-radius: 9999px;
}

/* Premium Minimalist SaaS Cards */
.saas-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.03), 0 1px 2px -1px rgba(15, 23, 42, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.saas-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    transform: translateY(-2px);
}

/* JobCV / Haziram Style Job Card */
.job-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.02);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.job-card:hover {
    border-color: #a5b4fc;
    box-shadow: 0 14px 28px -6px rgba(79, 70, 229, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    transform: translateY(-2px);
}

/* Primary SaaS Pill Button */
.btn-saas-primary {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-saas-primary:hover {
    background: #4338ca;
    box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

/* Secondary White Outline Button */
.btn-saas-outline {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease-in-out;
}

.btn-saas-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
}

/* Hero Badge Pills */
.pill-badge-indigo {
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    color: #4338ca;
}

.pill-badge-emerald {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    color: #065f46;
}

.pill-badge-amber {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
}

.pill-badge-rose {
    background: #fff1f2;
    border: 1px solid #ffe4e6;
    color: #9f1239;
}

/* Interactive Range Slider (Sleek Indigo Style) */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    background: #e2e8f0;
    border-radius: 9999px;
    height: 6px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4f46e5;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
    transition: all 0.15s ease-in-out;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #4338ca;
}

/* Tab Animations */
.tab-content {
    display: none;
    animation: fadeIn 0.25s ease-in-out forwards;
}

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

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

/* AI Chatbot Floating Widget & Window */
.chat-fab-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px -4px rgba(79, 70, 229, 0.45), 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.chat-fab-btn:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 16px 36px -4px rgba(79, 70, 229, 0.6) !important;
}

.chat-window {
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.18), 0 0 20px rgba(79, 70, 229, 0.12);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-window.expanded {
    width: 90vw !important;
    max-width: 580px !important;
    height: 80vh !important;
    max-height: 720px !important;
}

.chat-bubble-bot {
    background: #ffffff;
    color: #1e293b;
    border-bottom-left-radius: 4px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.03);
}

.chat-bubble-user {
    background: #4f46e5;
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

/* Typing Dots Animation */
.typing-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4f46e5;
    animation: typingBounce 1.2s infinite ease-in-out;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

/* Fallback & Compatibility Aliases */
.gradient-orange-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.35) !important;
}

.gradient-orange-btn:hover {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%) !important;
    box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.45) !important;
}

.orange-glow {
    box-shadow: 0 0 25px rgba(79, 70, 229, 0.4) !important;
}

/* Print Styles */
@media print {
    .no-print, #chat-widget-container {
        display: none !important;
    }
}

/* ======================================================== */
/* STUDENT CABINET 2.0 DEDICATED STYLING (MATCHING SCREENSHOT) */
/* ======================================================== */

.cabinet-sidebar {
    background-color: #0f172a; /* Dark Navy Slate-900 */
    border-radius: 1.5rem;
    color: #94a3b8;
}

.sidebar-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.15s ease-in-out;
    text-align: left;
}

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

.sidebar-nav-btn.active {
    background-color: #2563eb; /* Royal Blue */
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.sidebar-help-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1rem;
}

/* Segmented Bar for Top Skill Gap */
.segmented-gap-bar {
    display: flex;
    gap: 4px;
    height: 8px;
    width: 100%;
    margin-top: 6px;
}
.segmented-gap-bar span {
    flex: 1;
    height: 100%;
    border-radius: 2px;
}

/* Dual Bar for Skill Gap Table */
.dual-bar-container {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dual-bar-track {
    height: 6px;
    width: 48px;
    background-color: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}
.dual-bar-fill {
    height: 100%;
    border-radius: 9999px;
}

/* Dark Mode for Student Cabinet */
.student-cabinet-dark {
    background-color: #0b1120 !important;
    color: #f1f5f9 !important;
}
.student-cabinet-dark .bg-white {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}
.student-cabinet-dark .text-slate-900 {
    color: #f8fafc !important;
}
.student-cabinet-dark .text-slate-700,
.student-cabinet-dark .text-slate-600 {
    color: #cbd5e1 !important;
}
.student-cabinet-dark .text-slate-500 {
    color: #94a3b8 !important;
}
.student-cabinet-dark .bg-slate-50 {
    background-color: #0f172a !important;
    border-color: #334155 !important;
}

