/* UNIFIED STYLE SHEET */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ================= DASHBOARD STYLES ================= */
/* assets/css/style.css */

.dashboard-page {
    /* Brand Colors - Modern Indigo/Blue Palette */
    --primary-color: #4361ee;
    --primary-dark: #3a0ca3;
    --primary-light: #eef2ff;
    
    /* Semantic Colors */
    --success-color: #06d6a0; /* Vibrant Green */
    --danger-color: #ef476f; /* Soft Red */
    --warning-color: #ffd166; /* Warm Yellow */
    --info-color: #4cc9f0; /* Sky Blue */
    
    /* Neutral Scales */
    --dark-color: #1e1e2d; /* Deep Navy Sidebar */
    --dark-hover: #2d2d44;
    --body-bg: #f3f4f6; /* Cool Grey */
    --white: #ffffff;
    
    /* Text */
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    
    /* Borders & Lines */
    --border-color: #e5e7eb;
    
    /* Dimensions */
    --sidebar-width: 260px;
    --header-height: 70px;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 150ms;
}

html {

    /* background-color: black;  */
    background-color: #fdc7c1;
    background-image: 
        /* Grain Filter Overlay */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
        radial-gradient(at 0% 0%, rgba(255, 255, 255, 0.4) 0, transparent 50%), 
        radial-gradient(at 100% 0%, rgba(255, 228, 230, 0.3) 0, transparent 50%), 
        radial-gradient(at 100% 100%, rgba(254, 215, 170, 0.2) 0, transparent 50%);
    background-blend-mode: overlay, normal, normal, normal;
    background-attachment: fixed;
}

.dashboard-page /* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body.dashboard-page {
    line-height: 1.5;
    font-size: 0.925rem;
    -webkit-font-smoothing: antialiased;
}


.dashboard-page h1, .dashboard-page h2, .dashboard-page h3, .dashboard-page h4, .dashboard-page h5, .dashboard-page h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.25;
}


.dashboard-page a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}


.dashboard-page /* Layout Wrapper */
.wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}


.dashboard-page /* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--dark-color);
    color: var(--white);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}


.dashboard-page .sidebar-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


.dashboard-page .sidebar-brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}


.dashboard-page .sidebar-nav {
    padding: 20px 0;
    list-style: none;
    flex: 1;
}


.dashboard-page .sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: #a0a0b0;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    border-left: 3px solid transparent;
}


.dashboard-page .sidebar-link i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: transform var(--transition);
}


.dashboard-page .sidebar-link:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.03);
}


.dashboard-page .sidebar-link:hover i {
    transform: translateX(3px);
}


.dashboard-page .sidebar-link.active {
    color: var(--white);
    background: linear-gradient(90deg, rgba(67, 97, 238, 0.15) 0%, transparent 100%);
    border-left-color: var(--primary-color);
}


.dashboard-page .sidebar-link.active i {
    color: var(--primary-color);
}


.dashboard-page /* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
}


.dashboard-page /* Top Header */
.top-header {
    height: var(--header-height);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 900;
    border-radius: 10px;
}


.dashboard-page .page-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}


.dashboard-page .user-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 20px;
    border-left: 1px solid var(--border-color);
}


.dashboard-page .user-info {
    text-align: right;
    line-height: 1.2;
}


.dashboard-page .user-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}


.dashboard-page .user-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.dashboard-page .btn-logout {
    color: var(--text-muted);
    font-size: 1.1rem;
    padding: 8px;
    border-radius: 50%;
    transition: all var(--transition);
}


.dashboard-page .btn-logout:hover {
    color: var(--danger-color);
    background-color: #fff0f3;
    background-color: black;
}


.dashboard-page /* Content Area */
.container-fluid {
    padding: 2.5rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}


.dashboard-page /* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.02);
    margin-bottom: 25px;
    overflow: hidden;
    transition: box-shadow var(--transition);
}


.dashboard-page .card:hover {
    box-shadow: var(--shadow-lg);
}


.dashboard-page .card-mw-800 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 3rem 3rem 3rem;

}


.dashboard-page .card-header {
    padding: 20px 25px;
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}


.dashboard-page .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}


.card-body.dashboard-page {
    padding: 2rem;
}


.dashboard-page /* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}


.dashboard-page .stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.02);
}


.dashboard-page .stat-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}


.dashboard-page .stat-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}


.dashboard-page .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    opacity: 0.9;
}


.dashboard-page /* Stat color variants */
.bg-primary-light .stat-icon { background: var(--primary-light); color: var(--primary-color); }


.dashboard-page .bg-success-light .stat-icon { background: #d1fae5; color: var(--success-color); }


.dashboard-page /* Updated to muted green bg */
.bg-warning-light .stat-icon { background: #fef3c7; color: var(--warning-color); }


.dashboard-page .bg-danger-light .stat-icon { background: #fee2e2; color: var(--danger-color); }


.dashboard-page .bg-info-light .stat-icon { background: #e0f2fe; color: var(--info-color); }


.dashboard-page /* Tables - Modern & Clean */
.table-responsive {
    overflow-x: auto;
}


.dashboard-page .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}


.dashboard-page .table th {
    background-color: #f9fafb;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem; /* Increased from 0.8rem */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}


.dashboard-page .table td {
    padding: 16px 20px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1rem; /* Increased from 0.95rem */
}


.dashboard-page .table tr:last-child td {
    border-bottom: none;
}


.dashboard-page .table tr:hover td {
    background-color: #fcfcfd;
}


.dashboard-page /* Badges - Pill Style */
.badge {
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.8rem; /* Increased from 0.75rem */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}


.dashboard-page /* Subtle badge styles */
.badge-success { background: #d1fae5; color: #065f46; }


.dashboard-page .badge-warning { background: #fef3c7; color: #92400e; }


.dashboard-page .badge-danger { background: #fee2e2; color: #991b1b; }


.dashboard-page .badge-info { background: #e0f2fe; color: #075985; }


.dashboard-page .badge-secondary { background: #f3f4f6; color: #374151; }


.dashboard-page /* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition);
    font-size: 0.9rem;
    line-height: 1.25rem;
}


.dashboard-page .btn:active {
    transform: translateY(1px);
}


.dashboard-page .btn-sm {
    padding: 6px 14px;
    font-size: 0.825rem;
}


.dashboard-page .btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(67, 97, 238, 0.25); /* Subtle coloured shadow */
}


.dashboard-page .btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 10px rgba(67, 97, 238, 0.3);
}


.dashboard-page .btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}


.dashboard-page .btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--primary-light);
}


.dashboard-page /* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-group input{

    width: 90%;
}

.dashboard-page .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.925rem;
}


.dashboard-page .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all var(--transition);
    background-color: var(--white);
    color: var(--text-primary);
}


.dashboard-page .form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.15);
}


.dashboard-page /* Progress Bar */
.progress {
    height: 10px; /* Slightly thicker */
    background-color: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
    width: 100%;
}


.dashboard-page .progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


.dashboard-page /* Utilities */
.text-end { text-align: right; }


.dashboard-page .text-center { text-align: center; }


.dashboard-page .mt-3 { margin-top: 1.5rem; }


.dashboard-page .mb-3 { margin-bottom: 1.5rem; }


.dashboard-page .d-flex { display: flex; }


.dashboard-page .justify-between { justify-content: space-between; }


.dashboard-page .align-center { align-items: center; }


.dashboard-page .gap-2 { gap: 0.75rem; }


.dashboard-page .gap-3 { gap: 1rem; }


.dashboard-page .justify-content-end { justify-content: flex-end; }


.dashboard-page .justify-content-between { justify-content: space-between; }


.dashboard-page .align-items-center { align-items: center; }


.dashboard-page .flex-column { flex-direction: column; }

.dashboard-page .flex-1 { flex: 1; }

/* Responsive */
@media (max-width: 992px) {.dashboard-page .sidebar {
        transform: translateX(-100%);
        box-shadow: none;
    }


.dashboard-page .sidebar.active {
        transform: translateX(0);
        box-shadow: 5px 0 25px rgba(0,0,0,0.2);
    }


.dashboard-page .main-content {
        margin-left: 0;
        width: 100%;
    }


.dashboard-page .stat-card {
        margin-bottom: 15px;
    }


}


/* Utility: Hide on Large Screens (Desktop) */
@media (min-width: 993px) {.dashboard-page .d-lg-none {
        display: none !important;
    }


}


/* ================= GRID SYSTEM RESTORATION ================= */
.dashboard-page .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}


.dashboard-page .col-12, .dashboard-page .col-md-6, .dashboard-page .col-lg-4, .dashboard-page .col-md-8, .dashboard-page .col-md-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}


.dashboard-page .col-12 { flex: 0 0 100%; max-width: 100%; }


@media (min-width: 768px) {
    .dashboard-page .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }


    .dashboard-page .col-md-6 { flex: 0 0 50%; max-width: 50%; }


    .dashboard-page .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }


    .dashboard-page .ps-md-4 { padding-left: 1.5rem !important; }


}


@media (min-width: 992px) {
    .dashboard-page .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }


}


.dashboard-page .h-100 { height: 100% !important; }


.dashboard-page .mb-4 { margin-bottom: 2rem !important; }


.dashboard-page .mt-4 { margin-top: 2rem !important; }


.dashboard-page .me-1 { margin-right: 0.25rem !important; }


.dashboard-page .border-0 { border: 0 !important; }


.dashboard-page .shadow-sm { box-shadow: var(--shadow-sm) !important; }


.dashboard-page .border-end { border-right: 1px solid var(--border-color) !important; }


.dashboard-page .border-top { border-top: 1px solid var(--border-color) !important; }


.dashboard-page /* Chat Row Layout - Side by Side */
.chat-row {
    display: flex;
    align-items: center; /* Center avatar to message */
    gap: 10px; /* Space between avatar and bubble */
    margin-bottom: 20px;
}


.dashboard-page .chat-row-me {
    flex-direction: row; /* KEEP ROW orientation for Avatar -> Message */
    justify-content: flex-end; /* Push entire group to right */
}


.dashboard-page .chat-row-other {
    justify-content: flex-start;
}


.dashboard-page /* Ensure avatar is visibly separate */
.chat-avatar-frame {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin: 0 !important; /* Reset inline styles if any */
    order: 1; /* Avatar first? No, standard is left: Avatar-Msg, Right: Msg-Avatar.
               User said: "message should be after users profile logo".
               Left: [Avatar] [Message] -> Correct.
               Right: [Avatar] [Message] -> "After" logo implies Avatar first.
               So both should be order: 0 for Avatar, 1 for Message.
            */
}


.dashboard-page .chat-message-group {
    display: flex;
    flex-direction: column;
    max-width: 70%;
    order: 2; /* Message after avatar */
}


.dashboard-page /* Align text inside message group appropriately */
.chat-row-me .chat-message-group {
    align-items: flex-end; 
}


.dashboard-page .chat-row-other .chat-message-group {
    align-items: flex-start;
}


.dashboard-page /* Override previous reverse logic */

.chat-avatar-frame {
    width: 42px;
    height: 42px;
    border-radius: 14px; /* Squircle */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    flex-shrink: 0;
}


.dashboard-page .chat-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.dashboard-page /* Bubbles */
.chat-bubble {
    padding: 16px 22px;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}


.dashboard-page .chat-bubble.me {
    /* Vivid Gradient for user */
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: #fff;
    border-radius: 20px 20px 4px 20px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}


.dashboard-page .chat-bubble.other {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 20px 20px 20px 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}


.dashboard-page .chat-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}


.dashboard-page .chat-row-me .chat-meta { justify-content: flex-end; }


.dashboard-page /* Input Area (Floating Capsule) */
.chat-input-area {
    padding: 25px 40px 35px 40px; /* More padding at bottom */
    background: #fff;
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.02);
}


.dashboard-page .input-capsule {
    background: #f1f5f9;
    border-radius: 50px; /* Full capsule */
    padding: 8px 8px 8px 25px;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
}


.dashboard-page .input-capsule:focus-within {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}


.dashboard-page #chat-input-field {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 1rem;
    color: var(--text-primary);
    padding: 10px 0;
}


.dashboard-page #chat-input-field:focus { outline: none; }


.dashboard-page .input-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 10px;
}


.dashboard-page .btn-icon-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #64748b;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}


.dashboard-page .btn-icon-action:hover {
    background: #e2e8f0;
    color: var(--text-primary);
}


.dashboard-page .btn-send-modern {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--text-primary); /* Dark Send Button for contrast */
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.dashboard-page .btn-send-modern:hover {
    transform: scale(1.1) rotate(-10deg);
    background: #000;
}


.dashboard-page /* Typing Indicator (Updated for Modern) */
.typing-pill {
    position: absolute;
    bottom: 100px; /* Above input */
    left: 40px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #64748b;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display:flex; align-items: center; gap: 6px;
    opacity: 0; transform: translateY(10px);
    transition: all 0.3s;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.5);
}


.dashboard-page .typing-pill.active { opacity: 1; transform: translateY(0); }


.dashboard-page /* Attachments */
.modern-attachment-preview {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    padding: 10px 40px;
    background: linear-gradient(to top, #fff, rgba(255,255,255,0));
    display: flex; align-items: center; gap: 10px;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}


.dashboard-page .modern-attachment-preview.active { opacity: 1; pointer-events: auto; }


.dashboard-page .preview-thumb { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }


.dashboard-page /* Search In-Header */
.header-search {
    position: relative;
    width: 40px; /* Collapsed */
    transition: width 0.3s;
    overflow: hidden;
    height: 40px;
    border-radius: 20px;
    background: #f8fafc;
}


.dashboard-page .header-search.active { width: 220px; background: #fff; border: 1px solid #e2e8f0; }


.dashboard-page .header-search input {
    width: 100%; height: 100%; border: none; background: transparent; padding: 0 15px 0 40px; outline: none; opacity: 0; transition: opacity 0.2s;
}


.dashboard-page .header-search.active input { opacity: 1; }


.dashboard-page .header-search-icon-btn {
    position: absolute; left: 0; top: 0; width: 40px; height: 40px; border: none; background: transparent; color: #64748b; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
}


.dashboard-page /* Emoji Popover (Floating) */
.modern-emoji-picker {
    position: absolute;
    bottom: 90px;
    right: 40px;
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    opacity: 0; pointer-events: none; transform: scale(0.9);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0,0,0,0.05);
}


.dashboard-page .modern-emoji-picker.active { opacity: 1; pointer-events: auto; transform: scale(1); }


.dashboard-page .header-left {
    display: flex;
    justify-content: flex-start; /* Changed from center to flex-start generally expected for headers */
    align-items: center;
    gap: 1rem;
}


.dashboard-page /* ================= GLOBAL RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ================= FONT ================= */
@font-face {
    font-family: "PT Mono";
    src:
        url("./fonts/PT_Mono/PTMono-Regular.woff2") format("woff2"),
        url("./fonts/PT_Mono/PTMono-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* ================= APP CANVAS ================= */
body.dashboard-page {
    min-height: 100vh;
    background-color: #fdc7c1;
    background-image: 
        /* Grain Filter Overlay */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
        radial-gradient(at 0% 0%, rgba(255, 255, 255, 0.4) 0, transparent 50%), 
        radial-gradient(at 100% 0%, rgba(255, 228, 230, 0.3) 0, transparent 50%), 
        radial-gradient(at 100% 100%, rgba(254, 215, 170, 0.2) 0, transparent 50%);
    background-blend-mode: overlay, normal, normal, normal;
    background-attachment: fixed;
    /* font-family: "PT Mono", monospace; */
    color: #5b4a4d;
    overflow-x: hidden;
}


.dashboard-page /* ================= NAVBAR ================= */
.navbar {
    height: 5rem;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(232, 194, 202, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(115, 93, 120, 0.2);
    box-shadow: 0 8px 24px rgba(115, 93, 120, 0.12);
    position: relative; /* Added for mobile menu absolute positioning */
}


.dashboard-page .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    color: #735D78;
}


.dashboard-page .logo i {
    font-size: 3.5rem;
    color: #B392AC;
}


.dashboard-page /* ================= NAV ================= */
.nav-options {
    display: flex;
    gap: 3rem;
    font-size: 1.4rem;
}


.dashboard-page .nav-options div {
    padding: 0.6rem 1.3rem;
    border-radius: 10px;
    transition: all 0.25s ease;
}


.dashboard-page .nav-options div:hover {
    background-color: #B392AC;
    color: #ffffff;
    cursor: pointer;
}


.dashboard-page /* Hamburger Icon (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #735D78;
}


.dashboard-page /* ================= HERO SECTION ================= */
.hero-section {
    min-height: calc(100vh - 5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5rem 7rem;
    gap: 5rem;
}


.dashboard-page /* ================= TEXT ================= */
.headings {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}


.dashboard-page .headings h1 {
    font-size: 2.4rem;
    letter-spacing: -0.03em;
}


.dashboard-page .headings p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #8F7896;
}


.dashboard-page .start-btn {

    padding: 1rem 1.5rem;
    border: 2px solid black;
    border-radius: 10px;
    background-color: transparent;
    font-size: 1rem;
    font-weight: 600;
}


/* ================= MEDIA QUERIES (RESPONSIVENESS) ================= */

@media (max-width: 900px) {.dashboard-page /* Navbar Mobile Styles */
    .navbar {
        padding: 0 1.5rem;
    }


.dashboard-page .hamburger {
        display: block; /* Show hamburger */
    }


.dashboard-page .nav-options {
        display: none; /* Hide menu by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 1.5rem 0;
        gap: 1rem;
        text-align: center;
        z-index: 1000;
    }


.dashboard-page .nav-options.active {
        display: flex; /* Show when toggled */
    }


.dashboard-page .nav-options div {
        width: 100%;
        border-radius: 0;
    }


}


.dashboard-page /* =========================================
   ANTIGRAVITY FIXES & OVERRIDES
   ========================================= */

/* 1. Hero Image: Ensure graphs are visible on Mobile */
.hero-img {
    overflow: visible !important;
}


.dashboard-page /* 2. Sign In Button: Reduced Size */
.sign-in-btn {
    font-weight: 600;
    border: 1px solid #000;
    padding: 0.5rem 1rem !important;
    font-size: 1rem !important;
}


.dashboard-page /* 3. Progress Bars (Custom Gradient & Thickness) */
.progress-custom {
    height: 18px !important;
    background-color: #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}


.dashboard-page .progress-bar-custom {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 18px;
    text-align: left;
    padding-left: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(118, 75, 162, 0.4);
    transition: width 0.6s ease;
}


/* 4. Learn More Responsive (1 Column) */
@media (max-width: 768px) {.dashboard-page .features-grid { grid-template-columns: 1fr; }


.dashboard-page .learn-more-section { padding: 2rem 1rem; }


}


.dashboard-page /* 5. Auth Styles (Scoped) */
.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Ensure gradient overrides any body background if scoped */
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    font-family: 'Inter', sans-serif;
    padding: 1rem;
}


@keyframes gradientBG {0% { background-position: 0% 50%; }


50% { background-position: 100% 50%; }


100% { background-position: 0% 50%; }


}


.dashboard-page .glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}


.dashboard-page .glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
    transform: rotate(30deg);
}


.dashboard-page .auth-header h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.25rem; color: #ffffff; }


.dashboard-page .auth-page .form-control {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}


.dashboard-page .auth-page .btn-primary {
    background: #ffffff;
    color: #23a6d5;
    font-weight: 700;
}


.dashboard-page /* =========================================
   USER PROVIDED INDEX STYLES & OVERRIDES
   ========================================= */

.navbar {

    height: 5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2); 
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

}


.dashboard-page .logo {

    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: #000000; 

}


.dashboard-page .logo i {

    font-size: 3rem;
    color: #000000; 

}


.dashboard-page .logo p {

    font-weight: 500;

}


.dashboard-page .nav-options {

    display: flex;
    align-items: center;
    gap: 3rem;
    font-size: 1.5rem;

}


.dashboard-page .nav-options div {
    
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.2s linear;

}


.dashboard-page .nav-options div:hover {

    cursor: pointer;
    background-color: #000000; 
    color: #ffffff;

}


.dashboard-page .hero-section {

    min-height: calc(100vh - 5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 6rem;
    gap: 4rem;

}


.dashboard-page .headings {

    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;    
    flex-direction: column;
    gap: 3rem;

}


.dashboard-page .headings h1 {

    font-size: 2rem;
    line-height: 1.2;

}


.dashboard-page .headings p {

    font-size: 1rem;
    line-height: 1.6;

}


.dashboard-page .hero-img {

    width: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

}


.dashboard-page .hero-img img {

    max-height: 25rem;
    border-radius: 10px;

}


.dashboard-page .sign-up {

    font-weight: 600;
    background-color: #000000; 
    color: #ffffff; 
}


.dashboard-page .graph-1 {

    height: 12rem;
    width: 12rem;
    border-radius: 10px;
    background: rgba(80, 32, 122, 0.5); /* unchanged */
    padding: 1rem;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    position: absolute;
    bottom: -4rem;
    left: 1.5rem;
    top: 16rem;
}


.dashboard-page .col1 {

    height: 7rem;
    width: 9rem;
    background-color: #8035c2; 
    border-radius: 10px 10px 0 0;
    /* animation:3s ease-in 1s both running slide-in; */
}


.dashboard-page .col2 {

    height: 10rem;
    width: 9rem;
    background-color: #cca6fd; 
    border-radius: 10px 10px 0 0;
}


.dashboard-page .col3 {

    height: 9rem;
    width: 9rem;
    background-color: #6875e3;
    border-radius: 10px 10px 0 0;
}


@keyframes ani1 {to {

           height: 7rem;
           width: 9rem;
    }


}


@keyframes ani2 {to {

        height: 10rem;
        width: 9rem;
    }


}


@keyframes ani3 {to {

        height: 9rem;
        width: 9rem;
    }


}


@keyframes dis {to {
        display: inline-block;
    }


}


.dashboard-page .graph-2 {

    height: 11rem;
    width: 11rem;
    border-radius: 10px;
    background: rgba(60, 21, 94, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 2rem;
    right: -1rem;
}


.dashboard-page .circle1 {

    height: 9rem;
    width: 9rem;
    border-radius: 50%;
    background: conic-gradient(
        #c090ff 0deg 160deg,
        #505cd0 160deg 260deg,
        #6e25ae 260deg 360deg
    ); 
}


.dashboard-page .roll1 {

    position: absolute;
    height: 24.9rem;
    width: 24.9rem;
    border: 10px dotted purple; 
    border-radius: 50%;
    z-index: -10;
    /* animation: ani1 30s 1s linear infinite;  */
}


@keyframes ani11 {to {
        transform: rotate(-360deg);
    }


}


.dashboard-page .hero-btns {

    width: 32rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
}


.dashboard-page .learn-more {

    padding: 1rem 1.5rem;
    border: 2px solid black;
    border-radius: 10px;
    /* background-color: rgba(237, 237, 53, 0.5); */
    font-size: 1rem;
    font-weight: 600;

}


.dashboard-page .active-btn {

    background-color: #000000;
    color: white;
}


.dashboard-page .active-btn:hover {

    background-color: white;
    color: black;
    transition: all 0.2s linear;
    cursor: pointer;
}


.dashboard-page .nav-options .sign-up:hover {

    color: rgb(60, 203, 60);
    transition: all 0.2 linear;
}


.dashboard-page a {
    text-decoration: none;
    color: inherit;
}


.dashboard-page /* =========================================
   AUTH PAGE & BUTTON UPDATES
   ========================================= */
.auth-page .btn-primary {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
}


.dashboard-page .auth-page .btn-primary:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}


/* Ensure responsiveness for the new layout */
@media (max-width: 900px) {.dashboard-page .hero-section {
        flex-direction: column-reverse;
        padding: 3rem 1.5rem;
        gap: 3rem;
        text-align: center;
    }


.dashboard-page .hero-img { width: 100%; }


.dashboard-page .headings { width: 100%; }


.dashboard-page .hero-btns { 
        width: 100%; 
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }


.dashboard-page .navbar { padding: 0 1rem; }


.dashboard-page .nav-options { gap: 1rem; font-size: 1rem; }


}


.dashboard-page /* assets/css/landing.css */

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body.dashboard-page {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    color: #000000; 
}


.dashboard-page /* Navbar */
.navbar {
    height: 5rem;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}


.dashboard-page .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000; 
}


.dashboard-page .logo i {
    font-size: 2rem;
    color: #4361ee; 
}


.dashboard-page .nav-options {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}


.dashboard-page .nav-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}


.dashboard-page .nav-btn-outline {
    border: 2px solid #000;
    color: #000;
}


.dashboard-page .nav-btn-outline:hover {
    background: #000;
    color: #fff;
}


.dashboard-page .nav-btn-primary {
    background: #000;
    color: #fff;
    border: 2px solid #000;
}


.dashboard-page /* =========================================
   RESTORED CHAT & PROFILE STYLES
   ========================================= */

/* Chat Interface Container */
.chat-interface {
    display: flex;
    flex-direction: column;
    height: 80vh; /* Fixed height for chat window */
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    margin-top: 1rem;
}


.dashboard-page /* Chat Header */
.chat-header-modern {
    padding: 15px 25px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.dashboard-page .chat-header-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    background: #1e1e2d; /* Match sidebar dark */
    color: #fff;
}


.dashboard-page .chat-header-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e1e2d;
}


.dashboard-page /* Chat Messages Area - Dotted Background */
.chat-messages-area {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    background-color: #ffffff;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px; /* Dotted Pattern */
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.dashboard-page /* Ensure Input Area stays at bottom */
.chat-input-area {
    background: #fff;
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}


.dashboard-page /* Profile Picture Fix */
.user-avatar-imgs {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    margin-right: 10px;
}


.dashboard-page /* Fix for User Menu Alignment */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}


.dashboard-page .user-menu .btn-logout {
    border-left: 1px solid #e5e7eb;
    padding-left: 15px;
    margin-left: 5px;
    border-radius: 0; /* Remove circle for separator logic, or keep circle but add separate line? User said "give separation line". Let's use a pseudo element or border on the container. */
}


.dashboard-page /* Actually, .dashboard-page let's keep the button distinct and add a line between avatar and logout */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}


.dashboard-page /* Cleaned up user-menu styles */

/* Let's put a border on the logout button side */
.btn-logout {
    border-left: 1px solid #ddd;
    padding-left: 20px;
    margin-left: 5px;
    border-radius: 0; 
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all var(--transition);
}


.dashboard-page .btn-logout:hover {
    color: var(--danger-color);
    background: transparent;
}


.dashboard-page .footer-custom {
    text-align: center;
    padding: 25px 0;
    margin-top: auto;
    color: #94a3b8;
    font-size: 0.9rem;
    width: 100%;
}


.dashboard-page /* Sidebar Divider */
.sidebar-divider {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


.dashboard-page /* Profile Avatar Large */
.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #f1f5f9; /* Fallback color */
}


.dashboard-page /* User List Small Avatar */
.user-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}


/* ================= LANDING PAGE STYLES ================= */
.landing-page * { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


@font-face {
    
    font-family: "PT Mono";
    src:
        url("./fonts/PT_Mono/PTMono-Regular.woff2") format("woff2"),
        url("./fonts/PT_Mono/PTMono-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


body.landing-page {
    min-height: 100vh;
    background-color: #ffffff; 
    font-family: "PT Mono", monospace;
    color: #000000; 
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}


/* Navbar - Premium Dark Style */
.landing-page .navbar {
    height: 5rem;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, #1e1e2d 0%, #0f0f1a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1000;
}

.landing-page .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: #ffffff;
}

.landing-page .logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, #4361ee, #4cc9f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(67, 97, 238, 0.3));
}

.landing-page .logo p {
    font-weight: 700;
    background: linear-gradient(to right, #fff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-page .nav-options {
    display: flex;
    align-items: center;
    gap: 3rem;
    font-size: 1.1rem; /* Slightly reduced for elegance */
}

.landing-page .nav-options div {
    padding: 0.6rem 1.2rem;
    border-radius: 50px; /* Pill shape */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #94a3b8;
    font-weight: 500;
    border: 1px solid transparent;
}

.landing-page .nav-options div:hover {
    cursor: pointer;
    background-color: rgba(67, 97, 238, 0.1);
    color: #ffffff;
    border-color: rgba(67, 97, 238, 0.3);
    box-shadow: 0 0 15px rgba(67, 97, 238, 0.2);
}

.landing-page .nav-options .sign-up {
    /* Special style for sign up button if desired, keeping consistent for now */
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-page .nav-options .sign-up:hover {
    background: #4361ee;
    border-color: #4361ee;
    color: #fff;
}


.landing-page .hero-section {

    min-height: calc(100vh - 5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 6rem;
    gap: 4rem;

}


.landing-page .headings {

    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;    
    flex-direction: column;
    gap: 3rem;

}


.landing-page .headings h1 {

    font-size: 2rem;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
}


.landing-page .headings p {

    font-size: 1rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;

}


.landing-page .hero-img {

    width: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

}


.landing-page .hero-img img {

    max-height: 25rem;
    border-radius: 10px;

}


.landing-page .sign-up {

    font-weight: 600;
    background-color: #000000; 
    color: #ffffff; 
}


.landing-page .sign-up i {

    font-size: 1.3rem;
}


.graph-1 {

    height: 12rem;
    width: 12rem;
    border-radius: 10px;
    background: rgba(80, 32, 122, 0.5); /* unchanged */
    padding: 1rem;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    position: absolute;
    bottom: -4rem;
    left: -1.5rem;
    /* top: 16rem; */
}


.landing-page .col1 {

    height: 7rem;
    width: 9rem;
    background-color: #8035c2; 
    border-radius: 10px 10px 0 0;
    /* animation:3s ease-in 1s both running slide-in; */
}


.landing-page .col2 {

    height: 10rem;
    width: 9rem;
    background-color: #cca6fd; 
    border-radius: 10px 10px 0 0;
}


.landing-page .col3 {

    height: 9rem;
    width: 9rem;
    background-color: #6875e3;
    border-radius: 10px 10px 0 0;
}


@keyframes ani1 {to {

           height: 7rem;
           width: 9rem;
    }


}


@keyframes ani2 {to {

        height: 10rem;
        width: 9rem;
    }


}


@keyframes ani3 {to {

        height: 9rem;
        width: 9rem;
    }


}


@keyframes dis {to {
        display: inline-block;
    }


}


.landing-page .graph-2 {

    height: 11rem;
    width: 11rem;
    border-radius: 10px;
    background: rgba(60, 21, 94, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 2rem;
    right: -1rem;
}


.landing-page .circle1 {

    height: 9rem;
    width: 9rem;
    border-radius: 50%;
    background: conic-gradient(
        #c090ff 0deg 160deg,
        #505cd0 160deg 260deg,
        #6e25ae 260deg 360deg
    ); 
}


.landing-page .roll1 {

    position: absolute;
    height: 24.9rem;
    width: 24.9rem;
    border: 10px dotted purple; 
    border-radius: 50%;
    z-index: -10;
    /* animation: ani1 30s 1s linear infinite;  */
}


@keyframes ani11 {to {
        transform: rotate(-360deg);
    }


}


.landing-page .hero-btns {

    width: 32rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
}


.landing-page .start-btn {

    padding: 1rem 1.5rem;
    border: 2px solid black;
    border-radius: 10px;
    background-color: transparent;
    font-size: 1rem;
    font-weight: 600;

}


.landing-page /* .start-btn:hover {

    background-color: black;
    color: white;
    transition: all 0.2s linear;
    cursor: pointer;
}


.landing-page */

.start-btn:active {

    color: rgb(50, 240, 50);
    transition: all 0.2s linear;

}


.landing-page .learn-more {

    padding: 1rem 1.5rem;
    border: 2px solid black;
    border-radius: 10px;
    /* background-color: rgba(237, 237, 53, 0.5); */
    font-size: 1rem;
    font-weight: 600;

}


.landing-page .active-btn {

    background-color: #000000;
    color: white;
}


.landing-page .active-btn:hover {

    background-color: white;
    color: black;
    transition: all 0.2s linear;
    cursor: pointer;
}


.landing-page .nav-options .sign-up:hover {

    color: rgb(60, 203, 60);
    transition: all 0.2 linear;
}


.landing-page a {
    text-decoration: none;
    color: inherit;
}


.landing-page /* Learn More Page Styles */
.learn-more-section {
    padding: 6rem 2rem;
    min-height: calc(100vh - 5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}


.landing-page .content-wrapper {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}


.landing-page .content-wrapper h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}


.landing-page .subtitle {
    font-size: 1.25rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}


.landing-page .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    padding: 0 1rem;
}


.landing-page .feature-card {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.landing-page .feature-card:hover {
    transform: translateY(-8px);
    border-color: #000000;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}


.landing-page .feature-card i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #c090ff 0%, #6e25ae 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    width: fit-content;
}


.landing-page .feature-card h3 {
    font-size: 1.5rem;
    color: #000000;
    font-weight: 600;
}


.landing-page .feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}


.landing-page .cta-section {
    margin-top: 5rem;
    padding: 4rem 2rem;
    background: #f8f9fa; /* Light grey/white contrast */
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    border: 1px solid #eee;
}


.landing-page .cta-section h2 {
    font-size: 2.2rem;
    color: #000000;
    font-weight: 700;
}


.landing-page /* Ensure button styles inherit from hero */
.cta-section .start-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px; /* Pill shape for CTA */
    font-size: 1.1rem;
}


/* ================= AUTH PAGE STYLES ================= */
.auth-page {
    --primary-color: #000000;
    --primary-hover: #333333;
    --text-color: #111827;
    --text-muted: #6b7280;
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
}


.auth-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}


body.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Warm Gradient Background Animation */
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #ffb347, #23a6d5);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    font-family: 'Inter', sans-serif;
    padding: 1rem;
    color: var(--text-color);
}


@keyframes gradientBG {0% { background-position: 0% 50%; }


50% { background-position: 100% 50%; }


100% { background-position: 0% 50%; }


}


.auth-page /* Auth Card */
.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
    color: #ffffff;
}


.auth-page .auth-header {
    text-align: center;
    margin-bottom: 2rem;
}


.auth-page .auth-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}


.auth-page .auth-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}


.auth-page /* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
}


.auth-page .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #ffffff;
}


.auth-page .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}


.auth-page .form-control:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}


.auth-page .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}


.auth-page /* Button */
.btn-primary {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
}


.auth-page .btn-primary:hover {
    background-color: #fff;
    color: #000;
    border-color: #000;
}


.auth-page .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


.auth-page /* Footer Links */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}


.auth-page .auth-footer a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}


.auth-page .auth-footer a:hover {
    text-decoration: underline;
}


.auth-page /* Alerts */
.alert-error {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
}


.card-header {

    padding: 1rem;
}

.chart-tab-activity {

    padding: 1rem;
}

#dailyProgressChart {

    padding: 1rem;
}

/* ================= RESPONSIVE LANDING PAGE STYLES ================= */

.fass {

    display: none;

}

@media (max-width: 768px) {

    /* Navbar Responsiveness */
    .landing-page .navbar {
        padding: 0 1.5rem;
        position: relative; /* Ensure z-index works */
    }

    .landing-page .hamburger {
        display: block;
        cursor: pointer;
        font-size: 1.8rem;
        color: #ffffff; /* White icon for dark theme */
        z-index: 1001;
    }

    .landing-page .nav-options {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(30, 30, 45, 0.95); /* Dark Glass */
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;

        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .landing-page .nav-options.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    /* Hero Section Responsiveness */
    .landing-page .hero-section {
        flex-direction: column; 
        padding: 2rem 1.5rem;
        min-height: auto;
        gap: 3rem;
        height: auto;
        justify-content: center;
        margin-top: 5rem; /* Space from fixed navbar if needed, though navbar is likely static or fixed */
    }

    .landing-page .headings {
        width: 100%;
        align-items: center; /* Center align flex items */
        text-align: center;
        gap: 2rem;
    }

    .landing-page .headings h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .landing-page .headings p {
        text-align: center;
    }

    .landing-page .hero-btns {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .landing-page .hero-img {
        width: 100%;
        height: auto;
        min-height: 400px;
        margin-bottom: 2rem;
        /* Scaling removed per user request */
    }

    .fass {

        display: inline-block;

    }
    
    /* Graph element overrides removed */
}

@media (max-width: 600px) {
    .landing-page .hero-section {
        padding: 1rem;
        margin-top: 2rem;
    }


    
    .landing-page .headings h1 {
        font-size: 1.6rem;
    }

    .landing-page .hero-btns button {
        width: 100%; 
    }
}


@media (max-width: 1022px) {

    .hero-btns {

        display: flex;
        justify-content: flex-end;
        align-items: center;
        text-align: center;
        width: 0px;
    }

    .graph-2{

        left: 15rem;
    }


}



@media (max-width: 950px) {

    .hero-section {

        flex-wrap: wrap;
    }
    
    .headings {

        display: flex;
        justify-content: center;
        align-items: center;

        width: 90%;
    }


       /* Hero Section Responsiveness */
    .landing-page .hero-section {
        flex-direction: column; 
        padding: 2rem 1.5rem;
        min-height: auto;
        gap: 3rem;
        height: auto;
        justify-content: center;
        margin-top: 5rem; /* Space from fixed navbar if needed, though navbar is likely static or fixed */
    }

    .landing-page .headings {
        width: 100%;
        align-items: center; /* Center align flex items */
        text-align: center;
        gap: 2rem;
    }

    .landing-page .headings h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .landing-page .headings p {
        text-align: center;
    }

    .landing-page .hero-btns {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .landing-page .hero-img {
        width: 100%;
        height: auto;
        min-height: 400px;
        margin-bottom: 2rem;
        margin-top: 2rem;
        /* Scaling removed per user request */
    }

    .graph-1 {

        /* left: 60%; */
        left: 15%;
    }

    .graph-2 {

        left: 60%;
    }

}

/* ================= FOOTER STYLES (PREMIUM) ================= */
.landing-footer {
    background: linear-gradient(180deg, #1e1e2d 0%, #0f0f1a 100%);
    color: #ffffff;
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.landing-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.5), transparent);
}

.landing-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.landing-footer .footer-logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, #4361ee, #4cc9f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(67, 97, 238, 0.3));
}

.landing-footer .footer-logo p {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-footer .footer-links {
    display: flex;
    gap: 3rem;
}

.landing-footer .footer-links a {
    color: #94a3b8;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.landing-footer .footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4361ee;
    transition: width 0.3s ease;
}

.landing-footer .footer-links a:hover {
    color: #ffffff;
}

.landing-footer .footer-links a:hover::after {
    width: 100%;
}

.landing-footer .footer-social {
    display: flex;
    gap: 1rem;
}

.landing-footer .footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-footer .footer-social a:hover {
    background: #4361ee;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
    border-color: #4361ee;
}

.landing-footer .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .landing-footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .landing-footer .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .landing-footer .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .landing-footer .footer-social {
        justify-content: center;
    }
}

/* ================= PROJECT CARD STYLES (SIMPLE) ================= */
.project-card-custom {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px; /* Standard rounded */
    box-shadow: none; /* Removed shadow */
    transition: none; /* Removed hover animation */
    padding: 1rem; /* Requested 1rem padding */
}

/* Remove hover effects */
.project-card-custom:hover {
    transform: none;
    box-shadow: none;
    border-color: #e2e8f0;
}

/* Remove gradient border */
.project-card-custom::before {
    display: none;
}

/* Status Badge position adjusted for simple layout */
.project-status-badge-container {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.project-status-badge-container .badge {
    padding: 0.4em 0.8em;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Simple Icon container */
.project-icon-bg {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f1f5f9; /* Simple Grey */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove icon hover effects */
.project-card-custom:hover .project-icon-bg {
    transform: none;
    background: #f1f5f9;
}

.project-card-custom:hover .project-icon-bg i {
    color: var(--primary-color) !important;
}

/* Typography */
.project-card-custom .card-title {
    font-weight: 600;
    color: #1e1e2d;
    font-size: 1.1rem;
}

.project-desc-clamp {
    color: #64748b;
    font-size: 0.9rem;
}

/* Simple Progress Bar */
.progress-custom {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
}

.progress-bar-custom {
    background: #4361ee; /* Solid Blue */
    border-radius: 4px;
}

/* Remove shimmer */
.progress-bar-custom::after {
    display: none;
}

/* Simple Buttons */
.btn-circle-sm {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #e2e8f0;
    color: #64748b;

    background: #fff;
}

.btn-circle-sm:hover {
    background-color: #f8fafc;
    color: #000;
}

/* ================= PAGE SPECIFIC FIXES ================= */

/* Fix: Make navbar full width on inner pages */
.dashboard-page .top-header {
    width: 100%;
    margin: 0;
    padding: 0 25px; /* Keep internal spacing but remove external margins if any */
    max-width: 100%;
    box-sizing: border-box;
    /* Ensure it sits at the top if position is fixed/sticky, otherwise adjacent to sidebar */
}

/* Ensure main content doesn't restrict header if it's inside */
.dashboard-page .main-content {
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
    padding: 0; /* Remove padding from wrapper that might constrain header */
}

/* Re-apply padding to container-fluid for content spacing, BUT header is outside it usually */
/* Checking header.php: header is inside .main-content but outside .container-fluid. */
/* So .main-content padding: 0 is correct. */

/* Fix: Add 1rem padding to Edit Profile section */
/* We target the card body specifically within the profile page context. */
.profile-container .card-body {
    padding: 1rem !important; /* Force 1rem as requested */
}

/* Fix: Increase font size for Task/Project Status headers */
.dashboard-page .card-header h6 {
    font-size: 1.25rem !important; /* Increased from default h6 size */
    font-weight: 700 !important;
}


