:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    background-color: var(--secondary-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3d72 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff !important;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background-color: rgba(255,255,255,0.1);
}

.main-content {
    flex: 1;
    padding: 3rem 1.5rem;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3d72 100%);
    border: none;
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3d72 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.display-4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #6c757d;
}

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

.bg-light {
    background-color: #f8f9fa !important;
}

.rounded-3 {
    border-radius: 1rem !important;
}

.card-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.card-text {
    color: #6c757d;
    line-height: 1.6;
}

.text-center .fa-3x {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .main-content {
        padding: 2rem 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* Estilos específicos para o dashboard e outras páginas internas */
#wrapper {
    display: flex;
}

#sidebar-wrapper {
    width: 240px;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: width 0.3s ease-in-out;
    background-color: #343a40;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#page-content-wrapper {
    flex: 1;
    margin-left: 240px;
    transition: margin-left 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: calc(100% - 240px);
}

#wrapper.sidebar-collapsed #sidebar-wrapper {
    width: 60px;
}

#wrapper.sidebar-collapsed #page-content-wrapper {
    margin-left: 60px;
    width: calc(100% - 60px);
}

.footer-simple {
    background: var(--primary-color) !important;
    color: #ffffff;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-simple .footer-text {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

.footer-simple .footer-host {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

.footer-simple .host-link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-simple .host-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-simple .host-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.footer-simple .host-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .footer-simple {
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .footer-simple .col-md-4 {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    
    .footer-simple .col-md-4:last-child {
        margin-bottom: 0;
    }
    
    .footer-simple .footer-text,
    .footer-simple .footer-host {
        font-size: 0.8rem;
    }
}

}

body h1 { font-size: 28px; font-weight: 700; line-height: 1.2; }
body h2 { font-size: 24px; font-weight: 600; line-height: 1.22; }
body h3 { font-size: 20px; font-weight: 600; line-height: 1.24; }
body h4 { font-size: 16px; font-weight: 600; line-height: 1.26; }
body h5 { font-size: 14px; font-weight: 600; line-height: 1.28; }
body h6 { font-size: 12px; font-weight: 600; line-height: 1.3; }

.sidebar-logo {
    background-color: white;
    padding: 5px;
    border-radius: 5px;
}

.card-header, 
.card-header * {
    color: var(--card-header-text, #fff) !important;
}


/* ========================================
   ESTILOS DOS CARDS ESTATÍSTICOS
   ======================================== */

/* Cards de estatísticas básicos */
.stats-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

/* Dashboard - Seção de estatísticas */
.dashboard-stats {
    margin-bottom: 2rem;
}

/* Cards de estatísticas com gradiente */
.stat-card {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 123, 255, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Cards com bordas coloridas laterais */
.card.border-left-primary {
    border-left: 0.25rem solid #007bff !important;
}

.card.border-left-success {
    border-left: 0.25rem solid #28a745 !important;
}

.card.border-left-info {
    border-left: 0.25rem solid #17a2b8 !important;
}

/* Classes de texto para cards estatísticos */
.text-xs {
    font-size: 0.7rem;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.text-success {
    color: #28a745 !important;
}

.text-info {
    color: #17a2b8 !important;
}

.text-gray-800 {
    color: #343a40 !important;
}

.text-gray-300 {
    color: #dee2e6 !important;
}

/* Responsividade para cards estatísticos */
@media (max-width: 768px) {
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

