/* Import Google Font: Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1883f2;
    --primary-hover: #1472d4;
    --bg-mesh-1: #e0f0ff;
    --bg-mesh-2: #f0f4ff;
    --bg-mesh-3: #ffffff;
    --text-dark: #1d1d1f;
    --text-muted: #86868b;
    --border-light: #e5e5e7;
    --card-bg: #ffffff;
    --sidebar-width: 250px;
    --menubar-height: 38px;
    --transition-speed: 0.3s;
    /* Standup colors */
    --morning-bg: #FFE58F;
    --morning-card-bg: #FFFBE6;
    --morning-text: #D46B08;
    --morning-border: #FFE58F;
    --evening-bg: #adc6ff;
    --evening-card-bg: #f0f5ff;
    --evening-text: #1d39c4;
    --evening-border: #adc6ff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background: radial-gradient(at 0% 0%, #e0f0ff 0px, transparent 50%), radial-gradient(at 100% 0%, #f6f0ff 0px, transparent 50%), radial-gradient(at 100% 100%, #e8f5ff 0px, transparent 50%), radial-gradient(at 0% 100%, #ffffff 0px, transparent 50%);
    background-attachment: fixed;
    background-size: cover;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ==========================================
   macOS Top Menu Bar
   ========================================== */
.mac-menubar {
    height: var(--menubar-height);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 500;
    z-index: 1000;
    user-select: none;
}

.menubar-left, .menubar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.menubar-item {
    color: var(--text-dark);
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

    .menubar-item:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .menubar-item.apple-logo {
        padding: 2px 4px;
        display: flex;
        align-items: center;
    }

        .menubar-item.apple-logo img {
            width: 14px;
            height: 14px;
            opacity: 0.9;
        }

.menubar-right {
    font-weight: 400;
}

/* ==========================================
   Desktop Container
   ========================================== */
.desktop-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    padding: 40px 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ==========================================
   Login / Auth Card Structure
   ========================================== */
.auth-card {
    display: flex;
    width: 1000px;
    height: 600px;
    background: var(--card-bg);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    margin: auto;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.auth-left {
    flex: 1;
    background-image: url('https://res.cloudinary.com/dhsnbu7e3/image/upload/v1783062216/Rectangle_4_1_sdhvw2.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-right {
    flex: 1.1;
    position: relative;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    overflow: hidden;
}

/* Auth Panels (Login & OTP) Container */
.auth-panel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.auth-panel {
    position: absolute;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

    .auth-panel.active {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        position: relative;
    }

    .auth-panel.slide-left {
        transform: translateX(-100%);
        opacity: 0;
    }

    .auth-panel.slide-right {
        transform: translateX(100%);
        opacity: 0;
    }

/* Back navigation */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 24px;
    transition: transform 0.2s ease;
    width: fit-content;
}

    .back-btn:hover {
        transform: translateX(-4px);
    }

    .back-btn svg {
        width: 16px;
        height: 16px;
        stroke-width: 2.5;
    }

/* Typo styling */
.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.4;
}

    .auth-subtitle .email-highlight {
        color: var(--primary-color);
        font-weight: 500;
    }

/* Form inputs & labels */
.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid #d2d2d7;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background-color: #fafafa;
    caret-color: var(--primary-color);
    transition: all 0.2s ease;
}

    .form-input:focus {
        outline: none;
        border-color: var(--primary-color);
        background-color: #ffffff;
        box-shadow: 0 0 0 4px rgba(24, 131, 242, 0.15);
    }

/* OTP Code input boxes */
.otp-boxes {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    justify-content: space-between;
}

.otp-box {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1px solid #d2d2d7;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    background-color: #ffffff;
    caret-color: var(--primary-color);
    transition: all 0.2s ease;
}

    .otp-box:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(24, 131, 242, 0.15);
    }

/* Buttons */
.btn-primary {
    width: 100%;
    height: 52px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    user-select: none;
}

    .btn-primary:hover {
        background-color: var(--primary-hover);
        transform: translateY(-1px);
    }

    .btn-primary:active {
        transform: translateY(1px) scale(0.985);
    }

    .btn-primary:disabled {
        background-color: #e5e5e7;
        color: #a1a1a6;
        cursor: not-allowed;
        transform: none;
    }

/* Resend section */
.resend-container {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.resend-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

    .resend-link.disabled {
        color: var(--text-muted);
        cursor: not-allowed;
        font-weight: 500;
    }

/* Spinner loader */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-primary.loading .spinner {
    display: block;
}

.btn-primary.loading .btn-text {
    opacity: 0.8;
}

/* ==========================================
   Dashboard Layout Structure
   ========================================== */
.dashboard-container {
    display: flex;
    width: 100%;
    max-width: 1440px;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
    margin: auto;
    flex-shrink: 0;
}

/* Sidebar navigation */
.sidebar {
    width: var(--sidebar-width);
    background: rgba(255, 255, 255, 0.4);
    border-right: 0.5px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    padding: 30px 16px;
    justify-content: space-between;
}

.sidebar-top {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    padding-left: 12px;
}

    .sidebar-logo img {
        height: 48px;
        width: auto;
    }

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #000000;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

    .sidebar-item svg {
        width: 18px;
        height: 18px;
        opacity: 0.8;
        transition: stroke 0.2s ease;
    }

    .sidebar-item:hover {
        background: rgba(0, 0, 0, 0.03);
    }

    .sidebar-item.active {
        background: #e8f2ff;
        color: var(--primary-color);
        font-weight: 600;
    }

        .sidebar-item.active svg {
            stroke: var(--primary-color);
            opacity: 1;
        }

/* Sidebar footer */
.sidebar-footer {
    padding: 12px;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ff3b30;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

    .logout-btn:hover {
        opacity: 0.8;
    }

/* Main content panel */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.25);
    overflow-y: auto;
    position: relative;
}

/* Header bar */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px 20px 40px;
    user-select: none;
}

.header-title-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-greeting {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.8px;
    color: var(--text-dark);
}

.header-date {
    font-size: 14px;
    z color: #000000
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-bell {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    background: #ffffff;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

    .notification-bell:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
    }

    .notification-bell img {
        width: 18px;
        height: 18px;
    }

.notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #ff3b30;
    border-radius: 50%;
}

/* User Profile card dropdown wrapper */
.user-profile-wrapper {
    position: relative;
}

.user-profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 6px 14px 6px 6px;
    border-radius: 40px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

    .user-profile-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    }

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffe58f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #d46b08;
    overflow: hidden;
}

    .profile-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.profile-role {
    font-size: 11px;
    color: var(--text-muted);
}

/* Profile Dropdown Menu */
.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 180px;
    background: #ffffff;
    border-radius: 12px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 6px;
    display: none;
    flex-direction: column;
    z-index: 100;
}

    .profile-dropdown.show {
        display: flex;
    }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .dropdown-item:hover {
        background-color: rgba(0, 0, 0, 0.03);
    }

    .dropdown-item.logout {
        color: #ff3b30;
    }

        .dropdown-item.logout:hover {
            background-color: #fff1f0;
        }

/* ==========================================
   Feed Dashboard Content
   ========================================== */
.feed-content {
    padding: 0 40px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Top buttons (Date selector & Get report) */
.feed-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.date-selector-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 20px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

    .date-selector-btn svg {
        width: 16px;
        height: 16px;
        opacity: 0.7;
    }

.get-report-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(24, 131, 242, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

    .get-report-btn:hover {
        background: var(--primary-hover);
        transform: translateY(-1px);
    }

    .get-report-btn svg {
        width: 16px;
        height: 16px;
    }

/* Grid for Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stats-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.stats-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.stats-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-card:nth-child(1) .stats-card-icon {
    background-color: #fff2e8;
}

.stats-card:nth-child(2) .stats-card-icon {
    background-color: #f0f5ff;
}

.stats-card:nth-child(3) .stats-card-icon {
    background-color: #e6f7ff;
}

.stats-card-icon svg,
.stats-card-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.stats-card-middle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
    margin-bottom: 2px;
}

.stats-card-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.stats-card-trend {
    font-size: 14px;
    font-weight: 500;
    color: #52c41a;
}

/* Standup Tab Control */
.tab-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.tab-selector {
    background: rgba(0, 0, 0, 0.04);
    padding: 4px;
    border-radius: 14px;
    display: flex;
    gap: 4px;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    color: #000000
}

    .tab-btn.active {
        background: #ffffff;
        color: var(--primary-color);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    }

/* Feed List (Morning/Evening container cards) */
.feed-panel {
    border-radius: 24px;
    padding: 30px;
    transition: background-color 0.3s ease;
    min-height: 250px;
}

    .feed-panel.morning {
        background-color: var(--morning-bg);
        border: 1px solid var(--morning-border);
    }

    .feed-panel.evening {
        background-color: var(--evening-bg);
        border: 1px solid var(--evening-border);
    }

.feed-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.feed-panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
}

    .feed-panel-title.morning {
        color: var(--morning-text);
    }

    .feed-panel-title.evening {
        color: var(--evening-text);
    }

    .feed-panel-title svg,
    .feed-panel-title img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

.feed-item-count {
    font-size: 13px;
    opacity: 0.8;
    font-weight: 500;
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual Feed Cards */
.feed-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.015);
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 0.5px solid rgba(0, 0, 0, 0.04);
}

.feed-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.feed-card-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feed-card-author-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.feed-card-project {
    font-size: 12px;
    color: var(--text-muted);
}

.feed-card-time {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.feed-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feed-card-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feed-card-section-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.feed-card-section-content {
    font-size: 14px;
    color: #3a3a3c;
    line-height: 1.4;
}

.feed-card-status-badge {
    font-weight: 600;
    font-size: 14px;
}

    .feed-card-status-badge.in-progress {
        color: #fa8c16;
    }

    .feed-card-status-badge.completed {
        color: #389e0d;
    }

    .feed-card-status-badge.blocked {
        color: #cf1322;
    }

/* Empty State */
.feed-empty-state {
    text-align: center;
    padding: 40px;
    color: rgba(0, 0, 0, 0.4);
    font-size: 15px;
    font-weight: 500;
}

/* ==========================================
   Standup Form Views
   ========================================== */
.form-panel-wrapper {
    padding: 0 40px 40px 40px;
    display: flex;
    justify-content: center;
}

.form-panel {
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    padding: 4px;
}

    .form-panel.morning {
        background: var(--morning-bg);
    }

    .form-panel.evening {
        background: var(--evening-bg);
    }

.form-card-title {
    font-size: 28px;
    font-weight: 700;
    padding: 24px 36px 12px 36px;
    letter-spacing: -0.6px;
}

.form-panel.morning .form-card-title {
    color: var(--morning-text);
}

.form-panel.evening .form-card-title {
    color: var(--evening-text);
}

.form-card-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    padding: 0 36px 18px 36px;
    margin-top: -8px;
}

.form-container-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111112;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-textarea {
    width: 100%;
    height: 100px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #d2d2d7;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background-color: #fafafa;
    caret-color: var(--primary-color);
    resize: vertical;
    transition: all 0.2s ease;
}

    .form-textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        background-color: #ffffff;
        box-shadow: 0 0 0 4px rgba(24, 131, 242, 0.15);
    }

.form-select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid #d2d2d7;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background-color: #fafafa;
    transition: all 0.2s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

    .form-select:focus {
        outline: none;
        border-color: var(--primary-color);
        background-color: #ffffff;
        box-shadow: 0 0 0 4px rgba(24, 131, 242, 0.15);
    }

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 10px;
}

.btn-secondary {
    height: 52px;
    padding: 0 24px;
    background-color: #f5f5f7;
    color: var(--text-dark);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-secondary:hover {
        background-color: #e8e8ed;
    }

    .btn-secondary:active {
        transform: scale(0.985);
    }

.form-panel.morning .btn-submit-standup {
    background-color: var(--primary-color);
}

.form-panel.evening .btn-submit-standup {
    background-color: var(--primary-color);
}

/* ==========================================
   Toast Notification System
   ========================================== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2000;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transform: translateX(120%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

    .toast.show {
        transform: translateX(0);
    }

.toast-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast.success {
    border-left-color: #52c41a;
}

    .toast.success .toast-icon {
        color: #52c41a;
    }

.toast.error {
    border-left-color: #ff4d4f;
}

    .toast.error .toast-icon {
        color: #ff4d4f;
    }

/* ==========================================
   Responsive & Accessibility Customizations
   ========================================== */


/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.25);
    }

html.dark-mode {
    --bg-mesh-1: #1a1a1f;
    --bg-mesh-2: #16161a;
    --bg-mesh-3: #0f0f12;
    --text-dark: #f0f0f2;
    --text-muted: #a1a1a6;
    --border-light: #2c2c30;
    --card-bg: #1e1e22;
}

    html.dark-mode body {
        background: radial-gradient(at 0% 0%, #1a1a1f 0px, transparent 50%), radial-gradient(at 100% 0%, #16161a 0px, transparent 50%), radial-gradient(at 100% 100%, #0f0f12 0px, transparent 50%), radial-gradient(at 0% 100%, #101012 0px, transparent 50%);
    }

    html.dark-mode .dashboard-container,
    html.dark-mode .sidebar,
    html.dark-mode .main-content {
        background: rgba(30, 30, 34, 0.6);
    }

    html.dark-mode .stats-card,
    html.dark-mode .form-container-card,
    html.dark-mode .user-profile-card,
    html.dark-mode .profile-dropdown,
    html.dark-mode .auth-card,
    html.dark-mode .auth-right {
        background: #1e1e22;
        border-color: rgba(255,255,255,0.08);
    }

    html.dark-mode .form-input,
    html.dark-mode .form-textarea,
    html.dark-mode .form-select,
    html.dark-mode .otp-box {
        background-color: #2a2a2e;
        border-color: #3a3a3e;
        color: #f0f0f2;
    }

    html.dark-mode .sidebar-item.active {
        background: #1e3a5f;
    }


    html.dark-mode .feed-panel-title.morning,
    html.dark-mode .feed-panel-title.evening {
        color: var(--morning-text);
        opacity: 1;
    }

    html.dark-mode .feed-panel.evening .feed-panel-title {
        color: var(--evening-text);
    }

    html.dark-mode .feed-item-count {
        color: #1d1d1f;
        opacity: 0.9;
    }


    html.dark-mode .feed-list > div {
        background: #1e1e22 !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    html.dark-mode .feed-list table thead {
        background-color: #2a2a2e !important;
        border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    }

    html.dark-mode .feed-list table th {
        color: #cbd5e1 !important;
    }

    html.dark-mode .feed-list table tbody {
        background-color: #1e1e22 !important;
    }

    html.dark-mode .feed-list table td {
        color: #f0f0f2 !important;
        border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    }

    html.dark-mode .feed-list table tr {
        border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    }

    html.dark-mode .feed-panel {
        opacity: 1;
    }


    html.dark-mode .sidebar-item {
        color: #f0f0f2;
    }

        html.dark-mode .sidebar-item.active {
            color: var(--primary-color);
        }

        html.dark-mode .sidebar-item svg {
            stroke: #f0f0f2;
        }

        html.dark-mode .sidebar-item.active svg {
            stroke: var(--primary-color);
        }

        html.dark-mode .sidebar-item:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #f0f0f2;
        }

            html.dark-mode .sidebar-item:hover svg {
                stroke: #f0f0f2;
                opacity: 1;
            }

        html.dark-mode .sidebar-item:focus,
        html.dark-mode .sidebar-item:focus-visible {
            outline: none;
            background: rgba(255, 255, 255, 0.08);
        }
    html.dark-mode .stats-card-title {
        color: #f0f0f2;
    }

    html.dark-mode .stats-card-value {
        color: #ffffff;
    }


    html.dark-mode .tab-btn {
        color: #f0f0f2;
    }

        html.dark-mode .tab-btn.active {
            color: var(--primary-color);
        }

    html.dark-mode .tab-selector {
        background: rgba(255, 255, 255, 0.08);
    }


    html.dark-mode .form-section-title {
        color: #ffffff;
        border-bottom-color: rgba(255, 255, 255, 0.12);
    }


    html.dark-mode .btn-secondary {
        color: #1d1d1f !important;
        background-color: #f5f5f7 !important;
    }

        html.dark-mode .btn-secondary:hover {
            background-color: #e8e8ed !important;
        }


    html.dark-mode .form-section-title {
        color: #ffffff;
        border-bottom-color: rgba(255, 255, 255, 0.12);
    }


    html.dark-mode .btn-secondary {
        color: #1d1d1f !important;
        background-color: #f5f5f7 !important;
    }

        html.dark-mode .btn-secondary:hover {
            background-color: #e8e8ed !important;
        }


    html.dark-mode .toast {
        color: #1d1d1f !important;
        background-color: #ffffff !important;
    }

    html.dark-mode .feed-list div[style*="6b7280"] {
        color: #f0f0f2 !important;
    }

    html.dark-mode .feed-list button[style*="e5e7eb"] {
        background: #2a2a2e !important;
        border-color: #3a3a3e !important;
        color: #f0f0f2 !important;
    }

    html.dark-mode .feed-list td span[style*="color: #000"] {
        color: #ffffff !important;
    }
    html.dark-mode .feed-list td span[style*="color: #000"] {
        color: #ffffff !important;
    }

    /* Pagination dark mode fix */
    html.dark-mode .pg-wrapper {
        color: #ffffff !important;
    }

    html.dark-mode .pg-info {
        color: #ffffff !important;
    }

    html.dark-mode .pg-btn {
        background: #2a2a2e !important;
        border-color: #3a3a3e !important;
        color: #ffffff !important;
    }

    html.dark-mode .pg-btn-active {
        background: #007aff !important;
        border-color: #007aff !important;
        color: #ffffff !important;
    }

    html.dark-mode .pg-btn[disabled] {
        opacity: 0.4 !important;
    }



    /* ==========================================
   View/Edit Task Modal - Dark Mode
   ========================================== */
    html.dark-mode #vt-modal {
        background: #1e1e22;
    }

    html.dark-mode .vt-modal-header {
        background: #1e1e22;
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    html.dark-mode .vt-header-left h3 {
        color: #f0f0f2;
    }

    html.dark-mode .vt-subdate {
        color: #ffffff;
    }

    html.dark-mode #vt-close {
        background: #2a2a2e;
        color: #f0f0f2;
    }

    html.dark-mode .vt-block {
        border-color: rgba(255, 255, 255, 0.08);
    }

    html.dark-mode .vt-block-header h4 {
        color: #f0f0f2;
    }

    html.dark-mode .vt-label {
        color: #a1a1a6;
    }

    html.dark-mode .vt-value {
        color: #f0f0f2;
    }

    html.dark-mode .vt-value-box {
        background: #2a2a2e;
        border-color: rgba(255, 255, 255, 0.08);
        color: #f0f0f2;
    }

    html.dark-mode .vt-value-inline {
        color: #f0f0f2;
    }

    html.dark-mode .vt-row {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    html.dark-mode .vt-row-stacked {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    html.dark-mode .vt-form-group label {
        color: #cbd5e1;
    }

    html.dark-mode .vt-input {
        background: #2a2a2e;
        border-color: #3a3a3e;
        color: #f0f0f2;
    }

        html.dark-mode .vt-input:disabled {
            background: #232327;
            color: #6b6b70;
        }

        html.dark-mode .vt-input:focus {
            background: #2a2a2e;
        }

    html.dark-mode .vt-icon-btn {
        background: #2a2a2e;
    }

    html.dark-mode .vt-close-icon {
        background: #3a1f1f;
    }

    html.dark-mode .vt-save-icon {
        background: #1f3a24;
    }

    /* ===== Daily Standups Table + Pagination - Dark Mode Fix ===== */
    html.dark-mode .rep-th,
    html.dark-mode .rep-td {
        color: #f0f0f2 !important;
    }

    html.dark-mode #daily-standups-table-wrap > div {
        background: #1e1e22 !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    html.dark-mode #daily-standups-table-wrap thead {
        background-color: #2a2a2e !important;
        border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    }

    html.dark-mode #daily-standups-table-wrap tbody {
        background-color: #1e1e22 !important;
    }

    html.dark-mode #daily-standups-table-wrap tr {
        border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    }

    html.dark-mode #daily-standups-table-wrap div[style*="86868b"] {
        color: #a1a1a6 !important;
    }

    html.dark-mode .feed-empty-state {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    html.dark-mode #pagination-summary-text {
        color: #ffffff !important;
        opacity: 0.8;
    }

    html.dark-mode .pagination-btn {
        background: #2a2a2e !important;
        border-color: #3a3a3e !important;
        color: #f0f0f2 !important;
    }

        html.dark-mode .pagination-btn.active {
            background: var(--primary-color, #1883f2) !important;
            border-color: var(--primary-color, #1883f2) !important;
            color: #ffffff !important;
        }

        html.dark-mode .pagination-btn:disabled {
            opacity: 0.4 !important;
        }

    html.dark-mode .report-filter-bar {
        background: #1e1e22 !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    html.dark-mode .filter-label,
    html.dark-mode .filter-select {
        color: #f0f0f2 !important;
    }

    html.dark-mode .filter-select {
        background: #2a2a2e !important;
        border-color: #3a3a3e !important;
    }
    html.dark-mode input[type="date"].filter-select {
        color-scheme: dark;
        position: relative;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0f0f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 14px center !important;
        background-size: 18px !important;
    }

        html.dark-mode input[type="date"].filter-select::-webkit-calendar-picker-indicator {
            opacity: 0;
            -webkit-appearance: none;
            position: absolute;
            right: 0;
            top: 0;
            width: 100%;
            height: 100%;
            margin: 0;
            cursor: pointer;
        }
    html.dark-mode .btn-outline {
        background: #2a2a2e !important;
        border-color: #3a3a3e !important;
        color: #f0f0f2 !important;
    }
    html.dark-mode .report-tabs-row h3 {
        color: #f0f0f2 !important;
    }
    /* ===== My Profile Page - Dark Mode Fix ===== */
    html.dark-mode .feed-content[style*="fafafa"] {
        background-color: #16161a !important;
    }

    html.dark-mode .bg-white {
        background-color: #1e1e22 !important;
    }

    html.dark-mode .border-slate-200 {
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    html.dark-mode .border-slate-100 {
        border-color: rgba(255, 255, 255, 0.08) !important;
    }

    html.dark-mode .text-slate-800 {
        color: #f0f0f2 !important;
    }

    html.dark-mode .text-slate-700 {
        color: #f0f0f2 !important;
    }

    html.dark-mode .text-slate-500 {
        color: #a1a1a6 !important;
    }

    html.dark-mode .bg-blue-50 {
        background-color: rgba(24, 131, 242, 0.15) !important;
    }

    html.dark-mode .text-blue-700 {
        color: #5aa9ff !important;
    }

    html.dark-mode .hover\:bg-slate-50:hover {
        background-color: #2a2a2e !important;
    }

    /* Edit Profile Modal - Dark Mode */
    html.dark-mode #edit-profile-modal > div {
        background: #1e1e22 !important;
    }

    html.dark-mode #edit-profile-modal h3 {
        color: #f0f0f2 !important;
    }

    html.dark-mode #edit-profile-modal label {
        color: #a1a1a6 !important;
    }

    html.dark-mode #edit-profile-modal input[type="text"],
    html.dark-mode #edit-profile-modal input[type="file"] {
        background-color: #2a2a2e !important;
        border-color: #3a3a3e !important;
        color: #f0f0f2 !important;
    }

    html.dark-mode #btn-close-edit {
        background: #2a2a2e !important;
        border-color: #3a3a3e !important;
        color: #f0f0f2 !important;
    }

    /* Profile avatar fallback border */
    html.dark-mode #main-profile-img,
    html.dark-mode #main-avatar-fallback {
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    html.dark-mode #main-profile-img,
    html.dark-mode #main-avatar-fallback {
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    html.dark-mode #btn-back-dashboard {
        background-color: #2a2a2e !important;
        color: #f0f0f2 !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

        html.dark-mode #btn-back-dashboard:hover {
            background-color: #34343a !important;
        }