/* ====================================================================
   FINAL, UNIFIED STYLESHEET FOR REDDIT-INSIGHT
   This file fixes all logo, header, and navigation issues.
   ==================================================================== */

/* Global Header & Logo Styles */
.header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 30px !important;
    width: 100% !important;
    box-sizing: border-box;
}

.logo {
    margin-right: auto;
}

.reddit-insight-logo {
    height: 40px !important;
    width: auto !important;
}

/* --- Page-Specific Overrides --- */

/* 1. Index Page (Landing Page) */
body.index-page .reddit-insight-logo {
    height: 80px !important;
}

/* 2. Dashboard, Reports, Subscription, Admin Pages */
.dashboard-header,
.reports-header,
.subscription-header,
.admin-header {
    justify-content: flex-start !important;
}

/* 3. Reports Page Specific Fixes */
body.reports-page .main-content .header {
    justify-content: center !important;
}

body.reports-page .user-avatar {
    position: absolute !important;
    top: 25px !important;
    right: 40px !important;
    z-index: 1000;
}

body.reports-page .nav {
    order: -1 !important;
    margin-right: 20px !important;
    display: flex;
    gap: 15px;
}

/* 4. User Avatar Dropdown (for all logged-in pages) */
.profile-dropdown {
    position: absolute;
    top: 25px;
    right: 40px;
    z-index: 1000;
}

.profile-avatar-large {
    background-color: #6366f1;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
}
