:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --dark-blue: #1a237e; /* Sidebar color inspired by Copa Facil */
    --action-green: #28a745; /* Action buttons */
    --highlight-orange: #fd7e14;
    --light-bg: #f8f9fa;
    --sidebar-width: 250px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    padding-top: 56px; /* Height of the fixed navbar */
}

/* Navbar Customization */
.navbar-custom {
    background-color: var(--dark-blue);
    z-index: 1030; /* Ensure it stays on top */
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: #fff;
}

.navbar-custom .nav-link:hover {
    color: #ffc107;
}

/* Landing Page Styles */
.hero-section {
    background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(26, 35, 126, 0.8)), url('https://images.unsplash.com/photo-1517649763962-0c623066013b?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.feature-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 56px); /* Subtract navbar height */
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--dark-blue);
    color: white;
    flex-shrink: 0;
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    z-index: 1000;
}

@media (min-width: 768px) {
    .sidebar {
        display: flex;
    }
    
    .main-content {
        margin-left: var(--sidebar-width);
    }
}

.sidebar-header {
    padding: 20px;
    background-color: rgba(0,0,0,0.1);
    text-align: center;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.sidebar-nav li a {
    display: block;
    padding: 15px 20px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.2s;
    border-left: 4px solid transparent;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-left-color: var(--action-green);
}

.sidebar-nav li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Cards & Components */
.card-custom {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.card-header-custom {
    background-color: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 600;
    color: var(--dark-blue);
    padding: 15px 20px;
}

.btn-action {
    background-color: var(--action-green);
    color: white;
    border: none;
}

.btn-action:hover {
    background-color: #218838;
    color: white;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-aberto {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-fechado {
    background-color: #eceff1;
    color: #546e7a;
}

/* Login/Register Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f2f5;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.auth-header {
    background-color: var(--dark-blue);
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

/* Footer */
.footer-custom {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 20px 0;
    margin-top: auto;
}