@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors (Matching the logo) */
    --primary-teal: #00A29C;
    --primary-teal-rgb: 0, 162, 156;
    --secondary-blue: #003057;
    --secondary-blue-rgb: 0, 48, 87;
    --accent-cyan: #00e5db;
    
    /* System Colors */
    --bg-light: #f8fafc;
    --bg-card-light: #ffffff;
    --bg-dark: #07162c;
    --bg-dark-card: #0b213f;
    --border-light: rgba(0, 162, 156, 0.12);
    --border-dark: rgba(255, 255, 255, 0.08);
    
    --text-dark-primary: #0f172a;
    --text-dark-secondary: #475569;
    --text-dark-muted: #94a3b8;
    --text-light-primary: #f8fafc;
    --text-light-secondary: #cbd5e1;
    --text-light-muted: #64748b;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    
    /* Constants */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadow Palette */
    --shadow-sm: 0 2px 8px rgba(0, 48, 87, 0.04);
    --shadow-md: 0 8px 20px rgba(0, 48, 87, 0.06);
    --shadow-lg: 0 16px 36px rgba(0, 48, 87, 0.1);
    --shadow-teal: 0 8px 24px rgba(0, 162, 156, 0.2);
    
    /* Sidebar Config */
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 80px;
}

/* General Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 162, 156, 0.2);
    border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-teal);
}

/* Gradients */
.gradient-bg {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #001f3f 50%, #031427 100%);
}
.gradient-teal {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #007c77 100%);
}
.gradient-brand {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-blue) 100%);
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-text-light {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-padding {
    padding: 100px 0;
}
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Responsive Grid Adapters */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .section-padding {
        padding: 60px 0;
    }
}

/* Headings & Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-blue);
}
h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; line-height: 1.3; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast) ease-in-out;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #008781 100%);
    color: var(--white);
    box-shadow: var(--shadow-teal);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 162, 156, 0.35);
}
.btn-secondary {
    background: transparent;
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
}
.btn-secondary:hover {
    background: rgba(0, 48, 87, 0.05);
    transform: translateY(-2px);
}
.btn-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}
.btn-light:hover {
    background: var(--white);
    color: var(--secondary-blue);
    transform: translateY(-2px);
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--border-radius-sm);
}

/* Glassmorphism Card Style */
.card {
    background: var(--bg-card-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--primary-teal), var(--secondary-blue));
    opacity: 0;
    transition: opacity var(--transition-normal);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 162, 156, 0.25);
}
.card:hover::before {
    opacity: 1;
}

/* Header & Landing Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    height: 76px;
    transition: background var(--transition-fast);
}
.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}
.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--secondary-blue);
}
.logo-text span {
    color: var(--primary-teal);
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-link {
    color: var(--text-dark-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0; width: 0; height: 2px;
    background: var(--primary-teal);
    transition: width var(--transition-fast);
}
.nav-link:hover {
    color: var(--secondary-blue);
}
.nav-link:hover::after {
    width: 100%;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--bg-light);
    border: 1.5px solid var(--border-light);
    border-radius: var(--border-radius-md);
    color: var(--text-dark-primary);
    transition: all var(--transition-fast);
}
.form-input:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 162, 156, 0.1);
}
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}
.form-checkbox input {
    accent-color: var(--primary-teal);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(0, 162, 156, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(0, 48, 87, 0.05) 0%, transparent 50%);
}
.hero-content h1 {
    margin-bottom: 24px;
}
.hero-content p {
    font-size: 1.15rem;
    color: var(--text-dark-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}
.hero-cta {
    display: flex;
    gap: 16px;
}

/* Features grid */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    margin-bottom: 16px;
}
.section-title p {
    color: var(--text-dark-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Auth Page layout */
.auth-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}
.auth-banner {
    position: relative;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
}
.auth-banner::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 162, 156, 0.25) 0%, transparent 60%);
    pointer-events: none;
}
.auth-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.auth-banner-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}
.auth-banner-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 480px;
}
.auth-form-container {
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}
.auth-form-box {
    width: 100%;
    max-width: 400px;
}
.auth-form-box h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}
.auth-form-box p.subtitle {
    color: var(--text-dark-secondary);
    margin-bottom: 32px;
    font-size: 0.95rem;
}
.auth-switch {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
}
.auth-switch a {
    color: var(--primary-teal);
    font-weight: 600;
    text-decoration: none;
}

@media(max-width: 992px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }
    .auth-banner {
        display: none;
    }
}

/* Dashboard Shell */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background-color: #f1f5f9;
}
.dashboard-sidebar {
    width: var(--sidebar-width);
    background: var(--bg-dark);
    color: var(--text-light-primary);
    display: flex;
    flex-direction: column;
    transition: width var(--transition-normal);
    z-index: 100;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.dashboard-sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}
.sidebar-header {
    height: 76px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
}
.sidebar-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    transition: opacity var(--transition-fast);
}
.dashboard-sidebar.collapsed .sidebar-logo span {
    opacity: 0;
    width: 0;
}
.sidebar-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-light-muted);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: color var(--transition-fast);
}
.sidebar-toggle-btn:hover {
    color: var(--primary-teal);
}
.sidebar-menu {
    list-style: none;
    padding: 16px 8px;
    flex-grow: 1;
    overflow-y: auto;
}
/* Scrollbar in sidebar */
.sidebar-menu::-webkit-scrollbar {
    width: 4px;
}
.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
}
.sidebar-menu-item {
    margin-bottom: 4px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    color: var(--text-light-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.sidebar-link i {
    font-size: 1.15rem;
    min-width: 24px;
    text-align: center;
}
.sidebar-link span {
    transition: opacity var(--transition-fast);
}
.dashboard-sidebar.collapsed .sidebar-link span {
    opacity: 0;
    pointer-events: none;
}
.sidebar-link:hover, .sidebar-link.active {
    background: rgba(0, 162, 156, 0.15);
    color: var(--accent-cyan);
}
.sidebar-link.active {
    background: var(--primary-teal);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 162, 156, 0.25);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}
.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue));
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-info {
    overflow: hidden;
    white-space: nowrap;
}
.profile-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}
.profile-role {
    font-size: 0.75rem;
    color: var(--text-light-muted);
}
.dashboard-sidebar.collapsed .sidebar-profile .profile-info {
    display: none;
}

.dashboard-main {
    flex-grow: 1;
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    max-width: calc(100% - var(--sidebar-width));
    transition: all var(--transition-normal);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.dashboard-main.expanded {
    margin-left: var(--sidebar-collapsed-width);
    width: calc(100% - var(--sidebar-collapsed-width));
    max-width: calc(100% - var(--sidebar-collapsed-width));
}

.dashboard-header {
    height: 76px;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 90;
}
.dashboard-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.noti-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    position: relative;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--secondary-blue);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}
.noti-btn:hover {
    background: rgba(0, 162, 156, 0.05);
    color: var(--primary-teal);
}
.noti-dot {
    position: absolute;
    top: 10px; right: 10px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--danger);
    border: 1.5px solid var(--white);
}

.dashboard-content {
    padding: 32px;
    flex-grow: 1;
}

/* Dashboard Modules Views */
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
    animation: fadeIn var(--transition-normal) ease-in-out;
}

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

/* Quick Stats Widget */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.stat-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.stat-icon.teal { background: rgba(0, 162, 156, 0.1); color: var(--primary-teal); }
.stat-icon.blue { background: rgba(0, 48, 87, 0.1); color: var(--secondary-blue); }
.stat-icon.success { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.stat-icon.warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.stat-num {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-blue);
    line-height: 1.2;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-dark-secondary);
}

@media(max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* Overview layout with grid columns */
.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}
@media(max-width: 992px) {
    .overview-grid { grid-template-columns: 1fr; }
}

/* SVG Chart styles */
.chart-container {
    height: 300px;
    width: 100%;
    margin-top: 20px;
    position: relative;
}
.svg-chart {
    width: 100%;
    height: 100%;
}
.chart-bar {
    fill: var(--primary-teal);
    transition: fill var(--transition-fast);
}
.chart-bar:hover {
    fill: var(--secondary-blue);
}
.chart-line {
    fill: none;
    stroke: var(--primary-teal);
    stroke-width: 3;
    stroke-linecap: round;
}
.chart-line-blue {
    fill: none;
    stroke: var(--secondary-blue);
    stroke-width: 3;
    stroke-linecap: round;
}
.chart-grid-line {
    stroke: #e2e8f0;
    stroke-width: 1;
    stroke-dasharray: 4,4;
}
.chart-axis-text {
    font-size: 10px;
    fill: var(--text-dark-secondary);
    font-family: var(--font-body);
}

/* Services Hub Workspaces styles */
.services-menu {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
    border-bottom: 1.5px solid var(--border-light);
}
.services-menu::-webkit-scrollbar {
    height: 3px;
}
.service-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.service-tab-btn.active {
    background: rgba(0, 162, 156, 0.1);
    color: var(--primary-teal);
}
.service-tab-btn:hover:not(.active) {
    background: rgba(0, 48, 87, 0.03);
    color: var(--secondary-blue);
}

.service-workspace-box, .ai-workspace-box {
    display: none;
    animation: fadeIn 0.25s ease-in-out;
}
.service-workspace-box.active, .ai-workspace-box.active {
    display: block;
}

/* Form layouts in dashboard */
.brief-form {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
}

/* Social Media Calendar Grid */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: var(--white);
}
.calendar-day-label {
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-size: 0.8rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-light);
    color: var(--secondary-blue);
}
.calendar-grid-cell {
    min-height: 120px;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background var(--transition-fast);
}
.calendar-grid-cell:nth-child(7n) {
    border-right: none;
}
.calendar-grid-cell.other-month {
    background: #fdfdfd;
    color: var(--text-dark-muted);
}
.calendar-grid-cell:hover {
    background: #f0fdfa;
}
.calendar-day-num {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.calendar-posts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    max-height: 70px;
}
.calendar-post-badge {
    background: var(--primary-teal);
    color: var(--white);
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}
.calendar-post-badge.instagram { background: #e1306c; }
.calendar-post-badge.linkedin { background: #0077b5; }
.calendar-post-badge.facebook { background: #1877f2; }
.calendar-post-badge.youtube { background: #ff0000; }
.calendar-post-badge:hover {
    filter: brightness(0.9);
}

/* Kanban Board styling (for HR candidate tracking) */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}
@media(max-width: 992px) {
    .kanban-board { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 600px) {
    .kanban-board { grid-template-columns: 1fr; }
}
.kanban-col {
    background: #f8fafc;
    border-radius: var(--border-radius-md);
    padding: 16px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    min-height: 450px;
}
.kanban-col-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 8px;
}
.kanban-col-count {
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.kanban-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    overflow-y: auto;
}
.kanban-card {
    background: var(--white);
    padding: 14px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1.5px solid transparent;
    cursor: grab;
    transition: all var(--transition-fast);
}
.kanban-card:hover {
    border-color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.kanban-card-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary-blue);
    margin-bottom: 4px;
}
.kanban-card-desc {
    font-size: 0.78rem;
    color: var(--text-dark-secondary);
    margin-bottom: 10px;
}
.kanban-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-dark-muted);
}
.kanban-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.kanban-badge.urgent { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.kanban-badge.medium { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.kanban-badge.low { background: rgba(16, 185, 129, 0.1); color: var(--success); }

/* AI Assistant Chat UI */
.chat-window {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.chat-header {
    padding: 16px 24px;
    background: var(--secondary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 16px;
}
.chat-bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.chat-bot-status {
    font-size: 0.75rem;
    color: var(--accent-cyan);
}
.chat-messages {
    flex-grow: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8fafc;
}
.chat-msg {
    max-width: 75%;
    padding: 12px 18px;
    border-radius: var(--border-radius-md);
    font-size: 0.92rem;
    line-height: 1.5;
}
.chat-msg.bot {
    align-self: flex-start;
    background: var(--white);
    color: var(--text-dark-primary);
    border: 1px solid var(--border-light);
    border-top-left-radius: 0;
}
.chat-msg.user {
    align-self: flex-end;
    background: var(--primary-teal);
    color: var(--white);
    border-top-right-radius: 0;
}
.chat-input-bar {
    padding: 16px 24px;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 12px;
}
.chat-input-field {
    flex-grow: 1;
    border: 1px solid var(--border-light);
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-size: 0.92rem;
    resize: none;
    height: 44px;
}
.chat-input-field:focus {
    outline: none;
    border-color: var(--primary-teal);
}
.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-md);
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}
.chat-send-btn:hover {
    background: #008781;
}

/* Prompt Library dropdown */
.prompt-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 24px;
    background: #f1f5f9;
    border-top: 1px solid var(--border-light);
}
.prompt-chip {
    background: var(--white);
    border: 1.5px solid var(--border-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    white-space: nowrap;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
}
.prompt-chip:hover {
    border-color: var(--primary-teal);
    background: rgba(0, 162, 156, 0.05);
    color: var(--primary-teal);
}

/* Interactive Calculators Widgets */
.calc-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 24px;
    border: 1px solid var(--border-light);
}
.calc-results-box {
    background: #f0fdfa;
    border: 1px solid rgba(0, 162, 156, 0.2);
    border-radius: var(--border-radius-md);
    padding: 20px;
    height: 100%;
}
.calc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(0, 162, 156, 0.15);
}
.calc-result-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.calc-result-val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary-blue);
}
.calc-result-val.total {
    font-size: 1.6rem;
    color: var(--primary-teal);
}

/* Template customizer */
.template-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 24px;
}
@media(max-width: 992px) {
    .template-grid { grid-template-columns: 1fr; }
}
.template-preview {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 30px;
    min-height: 620px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* QR Code & Business Name elements */
.qr-preview-box {
    width: 200px;
    height: 200px;
    border: 1.5px dashed var(--border-light);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    margin: 0 auto 20px;
    position: relative;
}
.name-suggestions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}
.name-card {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    padding: 14px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.name-card:hover {
    border-color: var(--primary-teal);
    background: rgba(0, 162, 156, 0.05);
    color: var(--primary-teal);
}

/* Marketplace directory cards */
.directory-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.dir-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 992px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .dir-grid { grid-template-columns: 1fr; }
    .directory-filters { flex-direction: column; }
}
.dir-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    padding: 20px;
}
.dir-tag {
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(0, 162, 156, 0.1);
    color: var(--primary-teal);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Bookkeeping entries list */
.ledger-table-container {
    overflow-x: auto;
    margin-top: 20px;
    background: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
}
.ledger-table {
    width: 100%;
    border-collapse: collapse;
}
.ledger-table th, .ledger-table td {
    padding: 14px 20px;
    text-align: left;
}
.ledger-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--secondary-blue);
    border-bottom: 1.5px solid var(--border-light);
}
.ledger-table td {
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}
.ledger-table tr:last-child td {
    border-bottom: none;
}
.ledger-amount.income { color: var(--success); font-weight: 600; }
.ledger-amount.expense { color: var(--danger); font-weight: 600; }

/* Pricing Tier Design for Premium */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}
@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 450px; margin: 40px auto 0; }
}
.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1.5px solid var(--border-light);
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}
.pricing-card.premium {
    border-color: var(--primary-teal);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}
.pricing-card.premium::after {
    content: 'RECOMMENDED';
    position: absolute;
    top: 15px; right: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary-teal);
    padding: 4px 10px;
    border-radius: 20px;
}
.pricing-price {
    font-size: 2.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--secondary-blue);
    margin: 20px 0;
}
.pricing-price span {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
    font-weight: 400;
}
.pricing-features-list {
    list-style: none;
    text-align: left;
    margin: 32px 0;
}
.pricing-features-list li {
    margin-bottom: 12px;
    font-size: 0.92rem;
    color: var(--text-dark-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-features-list li i {
    color: var(--primary-teal);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 48, 87, 0.4);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}
.modal-box {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-dark-secondary);
}
.modal-close:hover {
    color: var(--danger);
}

/* Interactive custom elements (checklists) */
.todo-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.todo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-light);
}
.todo-item.done {
    text-decoration: line-through;
    opacity: 0.65;
    background: #f0fdf4;
    border-color: rgba(16, 185, 129, 0.15);
}

/* Footer Section */
.footer {
    background: var(--bg-dark);
    color: var(--text-light-secondary);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
}
.footer-logo-text span {
    color: var(--primary-teal);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
.footer-col h5 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--text-light-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}
.footer-links a:hover {
    color: var(--accent-cyan);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.85rem;
}
@media (max-width: 600px) {
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* Print layout for Resume/Invoice/SWOT Reports */
@media print {
    /* Hide navigation bars, sidebars, topbars, and action buttons */
    .dashboard-sidebar,
    .dashboard-header,
    .sidebar,
    .topbar,
    .services-menu,
    .no-print,
    .btn,
    button,
    .actions-bar {
        display: none !important;
    }

    body, html {
        background: #ffffff !important;
        color: #0f172a !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .dashboard-container,
    .dashboard-main,
    .tab-content,
    .service-workspace-box {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        position: static !important;
        background: transparent !important;
    }

    /* Ensure printable areas are fully visible */
    .print-area,
    .template-preview,
    #aiTemplatePreviewContainer,
    #resumeRenderContainer,
    #service-templates {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .print-area *,
    .template-preview *,
    #aiTemplatePreviewContainer *,
    #resumeRenderContainer * {
        visibility: visible !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .card {
        page-break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #cbd5e1 !important;
        margin-bottom: 12px !important;
    }
}

/* =========================================
   VyapaarSaathi Executive Report & PDF Export Styles
   ========================================= */
.vyapaar-report-wrapper {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border-light, #e2e8f0);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
    padding: 32px;
    font-family: var(--font-body, 'Inter', system-ui, -apple-system, sans-serif);
    color: #1e293b;
    line-height: 1.6;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.rpt-banner {
    background: linear-gradient(135deg, #003057 0%, #004c80 100%);
    border-radius: 10px;
    padding: 24px 28px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    box-shadow: 0 4px 12px rgba(0,48,87,0.15);
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.rpt-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 162, 156, 0.25);
    color: #5eead4;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.rpt-main-title {
    color: #ffffff !important;
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.rpt-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.78rem;
    color: #cbd5e1;
}

.rpt-meta-strip i {
    color: var(--primary-teal, #00a29c);
}

.rpt-banner-logo {
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rpt-section-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    margin: 28px 0 16px 0;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
}

.rpt-section-title {
    color: #003057;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    page-break-after: avoid !important;
    break-after: avoid !important;
}

.rpt-section-title i {
    color: var(--primary-teal, #00a29c);
    font-size: 1.1rem;
}

.rpt-sub-title {
    color: #334155;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 18px 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    page-break-after: avoid !important;
    break-after: avoid !important;
}

.rpt-callout {
    background: #f0fdfa;
    border-left: 4px solid var(--primary-teal, #00a29c);
    border-radius: 6px;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 0.88rem;
    color: #0f766e;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.rpt-callout i {
    color: var(--primary-teal, #00a29c);
    font-size: 1.2rem;
    margin-top: 2px;
}

.rpt-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 18px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rpt-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #334155;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.rpt-check-icon {
    color: var(--primary-teal, #00a29c);
    font-size: 0.85rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.rpt-arrow-icon {
    color: #6366f1;
    font-size: 0.8rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.rpt-bold {
    color: #0f172a;
    font-weight: 700;
}

.rpt-currency-tag {
    background: #ecfdf5;
    color: #047857;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #a7f3d0;
    font-size: 0.85rem;
    display: inline-block;
}

.rpt-table-responsive {
    overflow-x: auto;
    margin: 16px 0 20px 0;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.rpt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.rpt-table thead {
    display: table-header-group !important;
}

.rpt-table th {
    background: #f8fafc;
    color: #003057;
    font-weight: 700;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid #cbd5e1;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.rpt-table tr {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.rpt-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.rpt-table tr:nth-child(even) td {
    background: #f8fafc;
}

.rpt-p {
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 12px;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.rpt-summary-cards,
.rpt-premium-cta {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.rpt-footer {
    border-top: 1.5px solid #e2e8f0;
    padding-top: 16px;
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94a3b8;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

/* PDF Render Mode Optimization */
.pdf-export-mode .vyapaar-report-wrapper {
    box-shadow: none !important;
    border: none !important;
    padding: 20px !important;
}

.pdf-export-mode .rpt-banner {
    box-shadow: none !important;
}

/* Spinner Loader */
.rpt-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 162, 156, 0.15);
    border-top-color: var(--primary-teal, #00a29c);
    border-radius: 50%;
    animation: rptSpin 0.9s linear infinite;
    margin: 0 auto;
}

@keyframes rptSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

