:root {
    --primary-color: #E8000C;
    --primary-dark: #B5000A;
    --primary-light: #FF1A1A;
    --secondary-color: #2D2D2D;
    --secondary-light: #404040;
    --secondary-dark: #1A1A1A;
    --background-color: #FFFFFF;
    --text-color: #2D2D2D;
    --text-light: #FFFFFF;
    --hover-color: #FF1A1A;
    --disabled-color: #999999;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
}

.navbar {
    background: linear-gradient(to right, var(--secondary-dark), var(--secondary-color)) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border-bottom: 3px solid var(--primary-color);
    padding: 0.8rem 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-light) !important;
    letter-spacing: 0.5px;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar-logo {
    height: 32px;
    width: auto;
    display: block;
}

.login-logo {
    height: 80px;
    width: 80px;
}

.nav-link {
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: var(--text-light) !important;
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

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

.card .card-body {
    padding: 1.5rem;
}

/* Cards de estatísticas */
.card.bg-primary {
    background: linear-gradient(135deg, #0d6efd, #0a58ca) !important;
}

.card.bg-success {
    background: linear-gradient(135deg, #198754, #146c43) !important;
}

.card.bg-info {
    background: linear-gradient(135deg, #0dcaf0, #0aa2c0) !important;
}

.card.bg-warning {
    background: linear-gradient(135deg, #ffc107, #cc9a06) !important;
}

.card .fs-1 {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.card:hover .fs-1 {
    opacity: 1;
    transform: scale(1.1);
}

.card h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.card h6 {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
}

.card a {
    font-size: 0.9rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.card a:hover {
    opacity: 1;
    transform: translateX(5px);
}

/* Cards de listagem */
.card .card-header {
    background: linear-gradient(to right, var(--secondary-dark), var(--secondary-color));
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border: none;
}

.card .card-header h5 {
    font-size: 1.1rem;
    font-weight: 500;
}

.list-group-item {
    padding: 1rem 1.5rem;
    border-left: none;
    border-right: none;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: rgba(0,0,0,0.02);
    transform: translateX(5px);
}

.list-group-item h6 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.list-group-item small {
    font-size: 0.85rem;
}

.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(232, 0, 12, 0.3);
}

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

.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table thead th {
    background-color: var(--secondary-color);
    color: var(--text-light);
    font-weight: 500;
    border: none;
}

.table tbody tr:hover {
    background-color: rgba(232, 0, 12, 0.05);
}

.form-control {
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(232, 0, 12, 0.25);
}

/* Alert styles */
.alert {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.alert i {
    margin-right: 8px;
}

.alert-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-left: 4px solid #28a745;
}

.alert-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    color: #856404 !important;
    background-color: #fff3cd !important;
    border-left: 4px solid #ffc107;
}

.alert-info {
    color: #0c5460 !important;
    background-color: #d1ecf1 !important;
    border-left: 4px solid #17a2b8;
}

/* Animações para feedback */
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.alert {
    animation: fadeIn 0.3s ease;
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-logo {
        height: 30px;
    }
    
    .container {
        padding: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .alert {
        margin: 1rem;
        width: calc(100% - 2rem);
        max-width: none;
    }
}

.dropdown-menu {
    background: linear-gradient(to bottom right, var(--secondary-dark), var(--secondary-color));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 0.5rem;
    margin-top: 0.5rem;
    border-radius: 8px;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    transform: translateX(3px);
}

.dropdown-divider {
    border-top: 1px solid var(--secondary-light);
}

/* Estilo para o menu mobile */
@media (max-width: 768px) {
    .navbar-collapse {
        background-color: var(--secondary-color);
        padding: 1rem;
        border-radius: 0 0 10px 10px;
    }
    
    .navbar-brand img {
        height: 30px;
    }
}

/* Data styles */
.date-header {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 1.4rem;
}

/* Navbar styles */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.3s ease;
    font-weight: 400;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.navbar-nav .dropdown-menu {
    background: linear-gradient(to bottom right, var(--secondary-dark), var(--secondary-color));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 0.5rem;
    margin-top: 0.5rem;
    border-radius: 8px;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    transform: translateX(3px);
}

/* Data styles */
.date-header {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .date-header {
        text-align: center;
    }
    
    .navbar-collapse {
        background-color: var(--secondary-color);
        padding: 1rem;
        border-radius: 0 0 10px 10px;
    }
    
    .navbar-brand img {
        height: 30px;
    }
}

.welcome-header {
    background: linear-gradient(to right, var(--background-color), rgba(232, 0, 12, 0.05));
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.welcome-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.welcome-header h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    opacity: 0.8;
    margin: 0;
}

.card-header {
    background: linear-gradient(to right, var(--secondary-dark), var(--secondary-color));
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border: none;
}

.list-group-item-action {
    transition: all 0.3s ease;
}

.list-group-item-action:hover {
    transform: translateX(5px);
    background-color: rgba(232, 0, 12, 0.05);
} 