:root {
    --primary: #E11D48;
    --primary-hover: #BE123C;
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --sidebar-bg: #1E293B;
    --sidebar-text: #F8FAFC;
    --sidebar-active: #E11D48;
    --radius: 24px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    margin-top: 0;
}

.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background: #f1f5f9;
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    color: var(--sidebar-text);
    padding: 2rem 1rem;
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 2.5rem 4rem;
    background-color: var(--bg-body);
    min-height: 100vh;
    transition: all 0.3s;
}

.guest-content {
    flex: 1;
    width: 100%;
    background-color: white;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .main-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        z-index: 1000;
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        padding: 1.5rem 1rem;
        width: 100%;
    }
    .top-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    .search-bar {
        width: 100%;
    }
}

/* Responsive Utilities */
.container-responsive {
    padding-left: 8%;
    padding-right: 8%;
}

@media (max-width: 1200px) {
    .container-responsive {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 768px) {
    .container-responsive {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .stack-mobile {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .grid-1-mobile {
        grid-template-columns: 1fr !important;
    }
    
    .hidden-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center !important;
    }
}

@media (min-width: 1025px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem 2rem;
}

.sidebar-logo img {
    height: 42px;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    color: #94A3B8;
    text-decoration: none;
    border-radius: 16px;
    margin-bottom: 0.25rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    transform: translateX(4px);
}

.nav-link.active {
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(225, 29, 72, 0.25);
}

.nav-link svg {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-link:hover svg, .nav-link.active svg {
    opacity: 1;
}

/* Header UI Elements */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.search-bar {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    width: 400px;
    color: var(--text-muted);
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

/* Cards */
.card-stat {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.campaign-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.campaign-card:hover {
    transform: translateY(-5px);
}

.campaign-image {
    height: 180px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.badge-float {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: white;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.08);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Remove stray elements mentioned in audit */
.mouse-icon, .scroll-down { display: none !important; }

/* Mobile Navigation Header */
@media (max-width: 768px) {
    .show-mobile { display: block !important; }
    .nav-links-container {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column !important;
        padding: 1.5rem;
        gap: 1.5rem !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
        align-items: flex-start !important;
    }
    .nav-links-container.active {
        display: flex !important;
    }
}
@media (min-width: 769px) {
    .show-mobile { display: none !important; }
}
