/* Andy brand fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@500,600,700&display=swap');

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Prevent scrollbar from causing layout shifts */
    overflow-y: scroll;
}

:root {
    /* ===== ANDY BRAND — Cream / Navy / Gold ===== */
    --navy-950:#0a1024; --navy-900:#0f1830; --navy-800:#16213e; --navy-700:#21305a;
    --navy-600:#2f4378; --navy-500:#445c98; --navy-400:#6e83b8; --navy-200:#b7c0d6;
    --cream-50:#fffdf8; --cream-100:#faf6ec; --cream-200:#f4ecdb; --cream-300:#ebdfc6; --cream-400:#ddcaa6;
    --gold-300:#f0d28f; --gold-400:#e6bb5e; --gold-500:#d29a3a; --gold-600:#b27f2b;

    --primary: #2f4378;          /* navy-600 */
    --primary-hover: #21305a;    /* navy-700 */
    --primary-light: #445c98;    /* navy-500 */
    --primary-dark: #16213e;     /* navy-800 */

    --accent-purple: #2f4378;
    --accent-cyan: #d29a3a;      /* gold */
    --accent-emerald: #10B981;
    --accent-amber: #e6bb5e;     /* gold-400 */
    --accent-rose: #F43F5E;
    --accent-gold: #d29a3a;

    --bg-main: linear-gradient(180deg, #fffdf8 0%, #faf6ec 55%, #f4ecdb 100%);
    --bg-card: rgba(255, 253, 248, 0.96);
    --bg-sidebar: linear-gradient(180deg, #0f1830 0%, #0a1024 100%);
    --bg-elevated: #fffdf8;

    --text-primary: #0f1830;
    --text-secondary: #21305a;
    --text-tertiary: #445c98;
    --text-muted: #6e83b8;

    --border: rgba(15, 24, 48, 0.08);
    --border-light: rgba(15, 24, 48, 0.05);
    --border-strong: rgba(15, 24, 48, 0.14);

    --shadow-sm: 0 1px 2px 0 rgba(15, 24, 48, 0.06);
    --shadow-md: 0 4px 10px -2px rgba(15, 24, 48, 0.08), 0 2px 6px -2px rgba(15, 24, 48, 0.05);
    --shadow-lg: 0 12px 24px -10px rgba(15, 24, 48, 0.18), 0 6px 12px -6px rgba(15, 24, 48, 0.10);
    --shadow-xl: 0 24px 40px -14px rgba(15, 24, 48, 0.22), 0 12px 18px -10px rgba(15, 24, 48, 0.12);
    --shadow-inner: inset 0 1px 2px 0 rgba(15, 24, 48, 0.06);

    --glass-bg: rgba(255, 253, 248, 0.72);
    --glass-border: rgba(255, 255, 255, 0.5);

    --status-urgent: #EF4444;
    --status-in-progress: #e6bb5e;
    --status-pending: #10B981;

    --reminder-gradient: linear-gradient(135deg, #2f4378 0%, #16213e 100%);
    --list-gradient: linear-gradient(135deg, #e6bb5e 0%, #d29a3a 100%);
    --meeting-gradient: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    --lux-gold: #d29a3a;
    --lux-gold-soft: rgba(210, 154, 58, 0.25);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-weight: 400;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== DASHBOARD CONTAINER ===== */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    background: var(--bg-sidebar);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.sidebar-header {
    padding: 0.75rem 1.5rem; /* reduce vertical padding to minimize whitespace */
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-elevated);
}

.brand-bar { display:flex; align-items:center; justify-content:center; padding: 0; }
.brand-logo { width: 100%; height: 56px; object-fit: contain; margin: 0; }

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

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(47, 67, 120, 0.2);
    border: 2px solid rgba(47, 67, 120, 0.1);
}

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

.user-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info h3 {
    font-size: 0.938rem;
    font-weight: 700;
    color: var(--text-primary);
}

.collapse-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    color: var(--text-muted);
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.collapse-btn:hover {
    color: var(--primary);
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    border-radius: 0.625rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-item::before { content: none; }

.nav-item:hover {
    background: rgba(15, 24, 48, 0.04);
    color: var(--text-primary);
}

.nav-item.active {
    background: #f4ecdb;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.nav-item.active::before {
    height: 60%;
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: 0.5rem;
    padding: 1rem 0.75rem 1.5rem;
    border-top: 1px solid var(--border-light);
    background: linear-gradient(180deg, transparent 0%, rgba(47, 67, 120, 0.02) 100%);
}

.tasks-summary {
    margin-bottom: 1.25rem;
}

.tasks-summary h4 {
    font-size: 0.688rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    padding: 0 0.875rem;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.813rem;
    color: var(--text-secondary);
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.task-item:hover {
    background: rgba(15, 24, 48, 0.04);
}

.task-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ddcaa6;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(15, 24, 48, 0.08);
}

.settings-section {
    margin-top: 1rem;
}

.settings-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.875rem;
    border-radius: 0.625rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.settings-link:hover {
    background: rgba(15, 24, 48, 0.04);
    color: var(--text-primary);
    border-color: var(--border);
}

.settings-link .label {
    flex: 1;
    margin: 0 0.5rem;
}

.dots-icon {
    width: 18px;
    height: 18px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-width: 0; /* Prevent flex item from overflowing */
}

/* Content Area */
.content-area {
    padding: 3rem 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #fffdf8 60%, #faf6ec 100%) padding-box,
                linear-gradient(135deg, rgba(47, 67, 120, 0.18), var(--lux-gold-soft)) border-box;
    border: 1px solid transparent;
    border-radius: 1rem;
    box-shadow: 0 30px 80px -30px rgba(15, 24, 48, 0.18), 0 12px 24px -14px rgba(15, 24, 48, 0.12);
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.welcome-content {
    flex: 1;
}

.welcome-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.welcome-subtitle {
    font-size: 1.375rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

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

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* Action Cards - Premium Design */
.action-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(135deg, rgba(47, 67, 120, 0.14), var(--lux-gold-soft)) border-box;
    border: 1px solid transparent;
    border-radius: 0.875rem; /* ~14px */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(15, 24, 48,0.02) 0%, rgba(15, 24, 48,0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-card::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -60%;
    width: 220%;
    height: 220%;
    background: radial-gradient(circle, rgba(15, 24, 48,0.08) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
}

.action-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

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

.action-card:hover::after {
    opacity: 1;
    top: -20%;
    right: -20%;
}

.action-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-sm), 0 0 0 2px rgba(255,255,255,0.6) inset, 0 8px 16px -10px var(--lux-gold-soft);
    transition: all 0.3s ease;
    background: radial-gradient(120% 120% at 80% 0%, rgba(47, 67, 120,0.18) 0%, rgba(47, 67, 120,0.06) 28%, #FFFFFF 60%);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.action-card:hover .action-icon-wrapper {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: var(--shadow-xl);
}

.reminder-card .action-icon-wrapper,
.list-card .action-icon-wrapper,
.meetings-card .action-icon-wrapper {
    background: radial-gradient(120% 120% at 80% 0%, rgba(47, 67, 120,0.18) 0%, rgba(47, 67, 120,0.06) 28%, #FFFFFF 60%);
    color: var(--text-primary);
}

.action-icon {
    width: 32px;
    height: 32px;
}

.action-content {
    position: relative;
    z-index: 1;
}

.action-content h3 {
    font-size: 1.188rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.action-content p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.action-arrow {
    position: absolute;
    left: 1.75rem;
    top: 1.75rem;
    font-size: 1.375rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    opacity: 0.4;
}

.action-card:hover .action-arrow {
    color: var(--text-secondary);
    transform: translateX(-4px);
    opacity: 1;
}

/* Tasks Section */
.tasks-section {
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(135deg, rgba(47, 67, 120, 0.14), var(--lux-gold-soft)) border-box;
    border-radius: 0.875rem;
    padding: 2rem;
    border: 1px solid transparent;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

/* Subtle monogram watermark (wow but barely there) */
.tasks-section {
    position: relative;
}
.tasks-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      radial-gradient(circle at 12px 12px, rgba(47, 67, 120, 0.035) 2px, transparent 3px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.06) 30%, rgba(0,0,0,0.02) 70%, transparent 100%);
    border-radius: inherit;
}

.tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.tasks-title {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.section-icon {
    width: 24px;
    height: 24px;
    color: var(--text-tertiary);
}

.tasks-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.task-count {
    background: linear-gradient(180deg, #fffdf8 0%, #faf6ec 100%);
    color: var(--text-primary);
    padding: 0.25rem 0.625rem;
    border-radius: 0.75rem;
    font-size: 0.813rem;
    font-weight: 700;
    border: 1px solid rgba(47, 67, 120, 0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.tasks-actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(135deg, rgba(47, 67, 120, 0.14), var(--lux-gold-soft)) border-box;
    padding: 0.625rem 1.125rem;
    border-radius: 0.75rem; /* keep 12px look */
    border: 1px solid transparent;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
    background: white;
    box-shadow: 0 0 0 3px rgba(47, 67, 120, 0.12), var(--shadow-md);
}

.search-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.875rem;
    color: var(--text-primary);
    font-family: inherit;
    min-width: 180px;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.prioritize-btn {
    background: linear-gradient(180deg, #FFFFFF 0%, #fffdf8 100%);
    color: var(--text-primary);
    border: 1px solid rgba(47, 67, 120, 0.18);
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
}

.prioritize-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.prioritize-btn:hover::before { opacity: 0; }
.prioritize-btn:hover {
    background: linear-gradient(180deg, #fffdf8 0%, #faf6ec 100%);
    border-color: rgba(47, 67, 120, 0.28);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.prioritize-btn span {
    position: relative;
    z-index: 1;
}

/* Tasks List */
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.task-row {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(135deg, rgba(47, 67, 120, 0.12), rgba(47, 67, 120, 0.04)) border-box;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.task-row::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(15, 24, 48,0.06) 100%);
    transition: width 0.3s ease;
}

.task-row:hover {
    background: white;
    box-shadow: 0 16px 28px -16px rgba(15, 24, 48,0.18), 0 4px 12px -6px rgba(47, 67, 120,0.16);
    transform: translateX(-2px);
}

.task-row:hover::before {
    width: 100%;
}

.task-status {
    display: flex;
    align-items: flex-start;
    padding-top: 0.188rem;
}

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

.status-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.urgent {
    background: var(--status-urgent);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.status-dot.urgent::after {
    background: var(--status-urgent);
}

.status-dot.in-progress {
    background: var(--status-in-progress);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.status-dot.in-progress::after {
    background: var(--status-in-progress);
}

.status-dot.pending {
    background: #6e83b8;
    box-shadow: 0 0 0 3px rgba(110, 131, 184, 0.20);
}

.status-dot.pending::after {
    background: #10B981;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.8);
    }
}

.task-info {
    flex: 1;
}

.task-info h4 {
    font-size: 0.938rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.task-meta {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-wrap: wrap;
}

.task-badge {
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.688rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(135deg, rgba(47, 67, 120, 0.3), rgba(47, 67, 120, 0.3)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px -6px rgba(47, 67, 120, 0.35), inset 0 1px 0 rgba(255,255,255,0.7);
}

.urgent-badge {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: var(--status-urgent);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.in-progress-badge {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
    color: #B45309;
    border: 1px solid rgba(245, 158, 11, 0.30);
}

.pending-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%);
    color: #065F46;
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.task-time, .task-date {
    font-size: 0.813rem;
    color: var(--text-tertiary);
}

.task-action {
    font-size: 0.813rem;
    color: var(--text-primary);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    background: linear-gradient(90deg, #16213e, #21305a);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.task-action:hover {
    color: var(--text-secondary);
}

/* Input Section */
.input-section {
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(135deg, rgba(47, 67, 120, 0.14), var(--lux-gold-soft)) border-box;
    border-radius: 0.75rem; /* 12px */
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.input-section:focus-within {
    border-color: var(--border-strong);
    box-shadow: 0 0 0 3px rgba(15, 24, 48, 0.06), var(--shadow-lg);
}

.add-btn {
    background: #FFFFFF;
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 0.625rem;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.add-btn:hover {
    background: #f4ecdb;
    color: var(--text-primary);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
    transform: rotate(90deg);
}

.main-input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 0.938rem;
    color: var(--text-primary);
    font-family: inherit;
}

.main-input::placeholder {
    color: var(--text-muted);
}

.send-btn {
    background: #111827;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0.625rem;
    font-size: 1.125rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.send-btn:hover {
    background: #0B1220;
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

/* ===== ANALYTICS SECTION ===== */
.analytics-section {
    margin-top: 2rem;
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(135deg, rgba(110, 131, 184, 0.18), var(--lux-gold-soft)) border-box;
    border: 1px solid transparent;
    border-radius: 0.875rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.analytics-header {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.analytics-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.analytics-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.analytics-subtitle { display: none; }

.analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.analytics-card {
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(135deg, rgba(47, 67, 120,0.18), rgba(47, 67, 120,0.12)) border-box;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.card-head { display:flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.5rem; }
.card-head h3 { font-size: 1rem; font-weight: 700; }
.card-sub { display: none; }

/* Fixed-height chart wrapper to prevent stretch on scroll */
.chart-fixed {
    position: relative;
    height: 220px;
    width: 100%;
}
.chart-fixed canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }

.recent-activity { margin-top: 1.25rem; }
.recent-head h2 { font-size: 1.5rem; font-weight: 700; }

.recent-list {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(135deg, rgba(47, 67, 120, 0.12), rgba(47, 67, 120, 0.04)) border-box;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.recent-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #2f4378;
    box-shadow: 0 0 0 3px rgba(47, 67, 120,0.20);
}

.recent-text { flex: 1; }
.recent-time { color: var(--text-tertiary); font-size: 0.8rem; }

@media (max-width: 900px) {
    .analytics-grid { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }

    .content-area {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        right: -280px;
        z-index: 1000;
        transition: right 0.3s ease;
    }

    .sidebar.open {
        right: 0;
    }

    .content-area {
        padding: 1.5rem 1rem;
    }

    .welcome-section {
        flex-direction: column;
        gap: 1.5rem;
    }

    .welcome-title {
        font-size: 1.75rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .whatsapp-btn {
        align-self: stretch;
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
        justify-content: center;
        order: 2;
    }

    .whatsapp-btn svg {
        width: 20px;
        height: 20px;
    }

    .welcome-content {
        order: 1;
    }

    .tasks-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tasks-actions {
        width: 100%;
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }

    .prioritize-btn {
        width: 100%;
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ebdfc6 0%, #ddcaa6 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ddcaa6 0%, #9CA3AF 100%);
}

/* ===== SMOOTH TRANSITIONS ===== */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== LUXURY OVERRIDES (non-breaking, appended) ===== */

:where(a, button, input, select, textarea, [role="button"]) {
    -webkit-tap-highlight-color: transparent;
}

:where(button, .nav-item, .prioritize-btn, .add-btn, .send-btn, input, select, textarea):focus { outline: none; }

:where(button, .nav-item, .prioritize-btn, .add-btn, .send-btn, input, select, textarea):focus-visible {
    box-shadow: 0 0 0 3px rgba(47, 67, 120, 0.14), 0 0 0 6px rgba(210, 154, 58, 0.10);
    border-color: var(--border-strong);
}

::selection { background: rgba(47, 67, 120, 0.18); color: var(--text-primary); }

.nav-item.active { background: rgba(47, 67, 120,0.06); color: var(--text-primary); border: 1px solid rgba(47, 67, 120,0.10); }

.nav-item.active::before { content: none; }

.content-area::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, rgba(210, 154, 58,0.35), rgba(47, 67, 120,0.25), rgba(210, 154, 58,0.35));
    opacity: 0.6; pointer-events: none;
}

.welcome-section { position: relative; }
.welcome-section::before {
    content: '';
    position: absolute;
    right: 2rem; top: -0.5rem; width: 420px; height: 220px;
    background: radial-gradient(closest-side, rgba(47, 67, 120,0.12), rgba(210, 154, 58,0.08), transparent 70%);
    filter: blur(10px); opacity: 0.6; pointer-events: none;
}

/* Sheen sweep on action cards */
.action-card::before {
    background: linear-gradient(135deg, rgba(15, 24, 48,0.02) 0%, rgba(15, 24, 48,0.04) 100%),
                linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 60%);
    background-size: auto, 220% 100%;
    background-position: center, -140% 0;
}
.action-card:hover::before { animation: sheen-sweep 1.2s ease forwards; }

.action-icon-wrapper::after {
    content: '';
    position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0) 55%);
    mix-blend-mode: soft-light; pointer-events: none;
}

.search-box input { caret-color: var(--primary); }
.main-input { caret-color: var(--primary); }

@keyframes sheen-sweep { 0% { background-position: center, -140% 0; } 100% { background-position: center, 140% 0; } }

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ===== LUXURY INTENSITY OVERRIDES (main screen uplift) ===== */

/* Premium aurora background with tasteful color fields */
body {
    background:
      radial-gradient(800px 800px at 85% -10%, rgba(47, 67, 120,0.20) 0%, rgba(47, 67, 120,0.00) 60%),
      radial-gradient(640px 640px at 8% 110%, rgba(47, 67, 120,0.18) 0%, rgba(47, 67, 120,0.00) 60%),
      radial-gradient(720px 720px at 100% 60%, rgba(210, 154, 58,0.12) 0%, rgba(210, 154, 58,0.00) 58%),
      linear-gradient(180deg, #faf6ec 0%, #faf6ec 60%, #faf6ec 100%);
}

/* Sidebar: slightly richer, still clean */
.sidebar {
    background:
      linear-gradient(180deg, #FFFFFF 0%, #fffdf8 100%) padding-box,
      linear-gradient(135deg, rgba(47, 67, 120,0.06), rgba(210, 154, 58,0.08)) border-box;
    border-left: 1px solid transparent;
}

/* Welcome title: elevated gradient heading with marker effect (home page only) */
.welcome-section .welcome-title {
    color: var(--text-primary);
    display: inline-block;
    position: relative;
    background: linear-gradient(104deg,
        rgba(230, 187, 94, 0) 0.9%,
        rgba(230, 187, 94, 0.8) 2.4%,
        rgba(230, 187, 94, 0.5) 5.8%,
        rgba(230, 187, 94, 0.4) 93%,
        rgba(230, 187, 94, 0.3) 96%,
        rgba(230, 187, 94, 0) 98%),
        linear-gradient(183deg,
        rgba(230, 187, 94, 0) 0%,
        rgba(230, 187, 94, 0.3) 7.9%,
        rgba(230, 187, 94, 0) 15%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 0 0;
    padding: 0.15em 0.3em;
    margin-right: -0.3em;
    line-height: 1.2;
}

/* Action cards: per-card tinted luxury borders + subtle inner glow */
.reminder-card {
    background:
      radial-gradient(120% 120% at 85% 20%, rgba(47, 67, 120,0.06) 0%, rgba(47, 67, 120,0.00) 55%) padding-box,
      linear-gradient(#FFFFFF, #FFFFFF) padding-box,
      linear-gradient(135deg, rgba(110, 131, 184,0.35), rgba(47, 67, 120,0.18)) border-box;
}

.list-card {
    background:
      radial-gradient(120% 120% at 85% 20%, rgba(210, 154, 58,0.06) 0%, rgba(210, 154, 58,0.00) 55%) padding-box,
      linear-gradient(#FFFFFF, #FFFFFF) padding-box,
      linear-gradient(135deg, rgba(230, 187, 94,0.35), rgba(210, 154, 58,0.18)) border-box;
}

.meetings-card {
    background:
      radial-gradient(120% 120% at 85% 20%, rgba(16,185,129,0.06) 0%, rgba(16,185,129,0.00) 55%) padding-box,
      linear-gradient(#FFFFFF, #FFFFFF) padding-box,
      linear-gradient(135deg, rgba(52,211,153,0.35), rgba(16,185,129,0.18)) border-box;
}

/* Slightly richer hover lift for action cards */
.action-card:hover {
    box-shadow: 0 26px 52px -22px rgba(15, 24, 48,0.28), 0 10px 24px -12px rgba(47, 67, 120,0.28);
}

/* ===== PREMIUM AUTH SECTION STYLES ===== */

/* Auth Section Container */
.auth-section {
    margin-top: 1.5rem;
    padding: 0.75rem;
}

/* User Profile Card */
.user-profile-card {
    background: linear-gradient(135deg, rgba(47, 67, 120,0.08) 0%, rgba(47, 67, 120,0.06) 100%);
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(47, 67, 120,0.15);
    position: relative;
    overflow: hidden;
}

.user-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(47, 67, 120,0.5) 50%,
        transparent 100%);
}

.user-profile-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 12px;
}

.user-profile-header:hover {
    background: rgba(255, 255, 255, 0.6);
}

.user-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(47, 67, 120,0.25);
}

.user-avatar svg {
    width: 24px;
    height: 24px;
    color: white;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-greeting {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
    line-height: 1.2;
}

.user-name {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.chevron-icon {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.user-profile-header:hover .chevron-icon {
    color: var(--primary);
}

/* Logout Menu */
.logout-menu {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(15, 24, 48, 0.08);
    animation: slideDown 0.2s ease;
}

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

.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(239,68,68,0.08) 0%, rgba(220,38,38,0.06) 100%);
    color: #DC2626;
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.logout-btn:hover {
    background: linear-gradient(135deg, rgba(239,68,68,0.12) 0%, rgba(220,38,38,0.1) 100%);
    border-color: rgba(239,68,68,0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239,68,68,0.15);
}

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

.logout-btn svg {
    width: 18px;
    height: 18px;
}

/* Sign-In Button */
.signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(47, 67, 120,0.25);
    position: relative;
    overflow: hidden;
}

.signin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent);
    transition: left 0.5s ease;
}

.signin-btn:hover::before {
    left: 100%;
}

.signin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 67, 120,0.35);
}

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

.signin-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== MOBILE TOP BAR & IPHONE TUNING (≤480px) ===== */
.mobile-topbar { display: none; }

@media (max-width: 480px) {
    html, body { min-height: 100dvh; }
    body { padding-top: calc(56px + env(safe-area-inset-top, 0px)); }

    .mobile-topbar {
        position: fixed; top: 0; right: 0; left: 0;
        display: flex; align-items: center; gap: 0.75rem;
        height: 56px;
        padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px 12px;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border-light);
        z-index: 2000;
    }
    .mobile-topbar-title { font-weight: 700; color: var(--text-primary); }
    .mobile-topbar-logo { height: 32px; object-fit: contain; flex: 0 0 auto; }

    .mobile-menu-btn {
        display: inline-flex; align-items: center; justify-content: center;
        width: 40px; height: 40px; border-radius: 10px;
        border: 1px solid rgba(15, 24, 48,0.08);
        background: #fff; font-size: 1.125rem; color: var(--text-primary);
    }

    .sidebar-backdrop {
        position: fixed; left: 0; right: 0; bottom: 0;
        top: calc(56px + env(safe-area-inset-top, 0px));
        background: rgba(15, 24, 48,0.46);
        backdrop-filter: blur(2px);
        z-index: 1500;
    }

    body.no-scroll { overflow: hidden; }

    .sidebar { width: 260px; right: -260px; z-index: 2500; }
    .sidebar.open { right: 0; }

    .content-area { padding: 1rem; border-radius: 0.75rem; }
    .welcome-title { font-size: 1.5rem; }
    .welcome-subtitle { font-size: 0.95rem; }

    .dashboard-grid { grid-template-columns: 1fr; gap: 1rem; }
    .action-card { padding: 1rem; border-radius: 0.75rem; box-shadow: var(--shadow-sm); }
    .action-icon-wrapper { width: 48px; height: 48px; }
    .action-icon { width: 24px; height: 24px; }
    .action-arrow { left: 1rem; top: 1rem; font-size: 1.125rem; }

    .tasks-section { padding: 1rem; }
    .task-row { padding: 1rem; align-items: flex-start; }
    .task-info h4 { white-space: normal; overflow: visible; text-overflow: unset; }
    .task-meta { gap: 0.5rem 0.75rem; }

    .chart-fixed { height: 160px; }
    img, canvas, svg { max-width: 100%; height: auto; }
    .content-area { overflow-x: hidden; }

    .action-card:hover { transform: none; box-shadow: var(--shadow-md); }
    .welcome-section::before { width: 260px; height: 160px; right: 1rem; }
}

@media (max-width: 480px) {
    .tasks-actions, .search-box, .prioritize-btn { width: 100%; }
}

/* ===== PREMIUM SKELETON LOADING SYSTEM ===== */
/* Professional skeleton screens with subtle shimmer animation */

/* Base skeleton element */
.skeleton {
    background: linear-gradient(
        90deg,
        #ebdfc6 0%,
        #f4ecdb 50%,
        #ebdfc6 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

/* Shimmer animation - subtle and elegant */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Skeleton text line */
.skeleton-text {
    height: 14px;
    width: 100%;
    border-radius: 4px;
}

.skeleton-text-large {
    height: 20px;
    border-radius: 6px;
}

.skeleton-text-xl {
    height: 28px;
    border-radius: 8px;
}

/* Skeleton circle (for avatars, icons, dots) */
.skeleton-circle {
    border-radius: 50%;
}

/* Skeleton rectangle (for cards, buttons) */
.skeleton-rect {
    border-radius: 12px;
}

/* Skeleton task row */
.skeleton-task-row {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    margin-bottom: 0.75rem;
}

.skeleton-task-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.skeleton-task-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Skeleton stat card */
.skeleton-stat-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 2.25rem;
    background: white;
    border-radius: 0.875rem;
    border: 1px solid transparent;
    align-items: center;
}

.skeleton-stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    flex-shrink: 0;
}

.skeleton-stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Skeleton list item */
.skeleton-list-item {
    display: flex;
    gap: 1.125rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 0.875rem;
    border: 1px solid rgba(235, 223, 198, 0.6);
    align-items: center;
    margin-bottom: 0.5rem;
}

.skeleton-drag-handle {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Skeleton tab */
.skeleton-tab {
    padding: 0.875rem 1.5rem;
    width: 120px;
    border-radius: 0.75rem;
    background: linear-gradient(
        90deg,
        #ebdfc6 0%,
        #f4ecdb 50%,
        #ebdfc6 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
}

/* Skeleton task item (sidebar) */
.skeleton-task-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem 0;
}

.skeleton-task-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.skeleton-task-text {
    height: 12px;
    flex: 1;
    border-radius: 4px;
}

/* Smooth fade-in animation for real content */
.fade-in-content {
    animation: fadeIn 0.4s ease-out forwards;
}

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

/* Fade-out animation for skeletons */
.fade-out-skeleton {
    animation: fadeOut 0.3s ease-out forwards;
}

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

/* Container that starts hidden and fades in */
.content-loading {
    opacity: 0;
}

.content-loaded {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Skeleton chart placeholder */
.skeleton-chart {
    background: linear-gradient(
        90deg,
        #f4ecdb 0%,
        #faf6ec 50%,
        #f4ecdb 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
    border-radius: 12px;
    width: 100%;
    height: 100%;
}

/* Skeleton recent activity item */
.skeleton-recent-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.skeleton-recent-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.skeleton-recent-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ===== SKELETON CALENDAR GRID ===== */
/* Professional calendar skeleton with realistic structure */

.skeleton-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    padding: 16px;
}

.skeleton-day-header {
    text-align: center;
    font-weight: 600;
    padding: 12px 8px;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.skeleton-calendar-day {
    aspect-ratio: 1;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 100px;
}

.skeleton-day-number {
    width: 24px;
    height: 20px;
    border-radius: 4px;
}

.skeleton-calendar-event {
    height: 18px;
    border-radius: 4px;
    margin-top: 2px;
}

.skeleton-calendar-day.has-events .skeleton-calendar-event {
    opacity: 1;
}

.skeleton-calendar-day.other-month {
    opacity: 0.3;
}

/* Month name skeleton */
.skeleton-month-name {
    height: 28px;
    width: 150px;
    border-radius: 6px;
}


/* ============================================================
   ANDY BRAND — override layer (navy sidebar, gold accents, display type)
   ============================================================ */

/* Display type for headings */
h1, h2, h3, .welcome-title, .page-title, .section-title, .card-title,
.greeting, .brand-name, .modal-title, .stat-value {
    font-family: 'Clash Display', 'Poppins', 'Inter', sans-serif;
    letter-spacing: -0.005em;
    /* Clash Display ships a very narrow space glyph — restore natural word gaps */
    word-spacing: 0.16em;
}

/* ---- Sidebar: deep navy ---- */
.sidebar {
    background: linear-gradient(180deg, #0f1830 0%, #0a1024 100%) !important;
    border-left: 1px solid rgba(255,255,255,0.06) !important;
    border-right: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 0 50px -10px rgba(10,16,36,0.35);
}
.sidebar-header {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1.1rem 1.25rem;
}
/* logo sits on a cream plate so the navy wordmark reads on navy */
.brand-bar {
    background: #fffdf8;
    border-radius: 16px;
    padding: 0.65rem 1rem;
    box-shadow: 0 10px 26px -14px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.7);
}
.brand-logo { height: 42px; width: auto; max-width: 100%; }

.sidebar .nav-item { color: #b7c0d6; font-weight: 500; }
.sidebar .nav-item .label { color: inherit; }
.sidebar .nav-item svg, .sidebar .nav-item .nav-icon { color: #8fa0c4; transition: color .2s ease; }
.sidebar .nav-item:hover { background: rgba(255,255,255,0.06); color: #fffdf8; }
.sidebar .nav-item:hover svg, .sidebar .nav-item:hover .nav-icon { color: #fffdf8; }
.sidebar .nav-item.active {
    background: linear-gradient(100deg, rgba(230,187,94,0.20), rgba(210,154,58,0.10)) !important;
    color: #fffdf8 !important;
    border: 1px solid rgba(230,187,94,0.38) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
}
.sidebar .nav-item.active svg, .sidebar .nav-item.active .nav-icon { color: #e6bb5e !important; }
.sidebar .nav-item.active::before {
    content: '' !important;
    position: absolute; left: 0; top: 18%; height: 64%; width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #f0d28f, #d29a3a) !important;
}

.sidebar-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    background: transparent !important;
}
.tasks-summary h4 { color: #6e83b8; }
.task-item { color: #b7c0d6; }
.task-item:hover { background: rgba(255,255,255,0.05); }
.settings-link { color: #b7c0d6; }
.settings-link:hover { background: rgba(255,255,255,0.06); color: #fffdf8; border-color: rgba(255,255,255,0.10); }
.settings-link svg { color: #8fa0c4; }
.sidebar .user-info h3 { color: #fffdf8; }
.sidebar .collapse-btn { color: #8fa0c4; }
.sidebar .collapse-btn:hover { color: #e6bb5e; }

/* ---- Primary buttons: signature navy→gold gradient pill ---- */
.prioritize-btn, .add-btn, .send-btn, .btn-primary, .primary-btn, .cta-btn {
    background-image: linear-gradient(100deg, #16213e, #2f4378 48%, #d29a3a 118%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), 0 12px 28px -12px rgba(47,67,120,0.55);
    color: #fffdf8;
}
.prioritize-btn:hover, .add-btn:hover, .send-btn:hover, .btn-primary:hover, .primary-btn:hover, .cta-btn:hover {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 16px 38px -12px rgba(210,154,58,0.5);
    filter: brightness(1.03);
}

/* selection + focus ring on brand */
::selection { background: rgba(240,210,143,0.55); color: #0f1830; }
