/* Estilos gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Navbar Branca */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

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

.navbar-brand:hover {
    color: #4361ee !important;
}

.nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: #4361ee !important;
}

.navbar-toggler {
    border-color: #2c3e50;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44, 62, 80, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 10px;
}

.dropdown-item {
    padding: 8px 20px;
    color: #2c3e50;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: #f0f2f5;
    color: #4361ee;
}

/* Botão outline light personalizado */
.btn-outline-light {
    border: 2px solid #4361ee;
    color: #4361ee;
    background: transparent;
    padding: 0.375rem 1rem;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background-color: #4361ee;
    color: white;
    border-color: #4361ee;
}

/* Cards */
.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: none;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

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

.card-header {
    font-weight: bold;
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 1rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Botões */
.btn {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #4361ee;
    border-color: #4361ee;
}

.btn-primary:hover {
    background-color: #3a56d4;
    border-color: #3a56d4;
    transform: translateY(-2px);
}

.btn-success {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.btn-success:hover {
    background-color: #27ae60;
    border-color: #27ae60;
    transform: translateY(-2px);
}

.btn-info {
    background-color: #00b894;
    border-color: #00b894;
    color: white;
}

.btn-info:hover {
    background-color: #00a884;
    border-color: #00a884;
    color: white;
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .card {
        margin-bottom: 20px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
    }
}

/* Dashboard */
.dashboard-card {
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 20px;
    transition: transform 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-3px);
}

.dashboard-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Status Badges */
.status-badge {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
}

.status-pendente {
    background-color: #ffeaa7;
    color: #e17055;
}

.status-aprovado {
    background-color: #55efc4;
    color: #00b894;
}

.status-patrocinado {
    background-color: #74b9ff;
    color: #0984e3;
}

.status-ativo {
    background-color: #d4edda;
    color: #155724;
}

.status-inativo {
    background-color: #f8d7da;
    color: #721c24;
}

/* Tabelas */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #2c3e50;
    background-color: #f8f9fa;
    padding: 12px;
}

.table td {
    padding: 12px;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

/* Formulários */
.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 10px 15px;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
}

.required::after {
    content: " *";
    color: #e74c3c;
}

/* Alertas personalizados */
.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
}

.alert-info {
    background-color: #dff9fb;
    border-color: #c7ecee;
    color: #00cec9;
}

.alert-warning {
    background-color: #fff9e8;
    border-color: #ffeaa7;
    color: #fdcb6e;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Footer */
footer {
    margin-top: 50px;
    padding: 20px 0;
    background-color: #2c3e50;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Login e Registro */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    margin: 15px;
}

/* Loading spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-overlay.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e9ecef;
    border-top-color: #4361ee;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Estatísticas */
.stat-number h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.stat-number p {
    color: #6c757d;
    margin-top: 5px;
}

/* Depoimentos */
blockquote-footer {
    margin-top: 10px;
    font-size: 0.85rem;
}

/* Paginação */
.pagination {
    margin-top: 20px;
}

.page-link {
    border: none;
    color: #4361ee;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.page-link:hover {
    background-color: #4361ee;
    color: white;
}

.page-item.active .page-link {
    background-color: #4361ee;
    color: white;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #4361ee;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a56d4;
}