/* partners.css - Estilos para Módulo de Sócios */

/* ========== CARDS DE SÓCIOS ========== */

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

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

.partner-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.partner-total {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.partner-total h2 {
    color: #2c3e50;
    font-weight: 700;
}

.partner-categories {
    max-height: 200px;
    overflow-y: auto;
}

.partner-categories::-webkit-scrollbar {
    width: 6px;
}

.partner-categories::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.partner-categories::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.partner-categories::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ========== EQUALIZAÇÃO ========== */

.equalization-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.equalization-card h3 {
    font-size: 32px;
    font-weight: 700;
}

.equalization-amount {
    font-size: 48px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ========== BENS (ASSETS) ========== */

.asset-card {
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.asset-card:hover {
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.asset-card .fa-2x {
    opacity: 0.7;
}

/* ========== TABELAS ========== */

.table-hover tbody tr {
    transition: all 0.2s ease;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.01);
}

/* ========== BADGES CUSTOMIZADOS ========== */

.badge {
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 20px;
}

/* ========== FORMULÁRIOS ========== */

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* ========== DASHBOARD ========== */

.partners-dashboard {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== BOTÕES CUSTOMIZADOS ========== */

.btn-group-sm .btn {
    padding: 4px 8px;
    font-size: 12px;
}

/* ========== NAV TABS ========== */

.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #3498db;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.nav-tabs .nav-link.active {
    color: #3498db;
    background: white;
    border-bottom: 3px solid #3498db;
    border-radius: 8px 8px 0 0;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .partner-card {
        margin-bottom: 20px;
    }
    
    .equalization-amount {
        font-size: 32px;
    }
    
    .partner-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .nav-tabs .nav-link {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* ========== ANIMAÇÕES ========== */

.benefit-item {
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== CHARTS (para futura integração) ========== */

.chart-container {
    position: relative;
    height: 300px;
    margin: 20px 0;
}

/* ========== ALERTAS CUSTOMIZADOS ========== */

.alert-equaliz

ation {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.alert-equalization strong {
    font-weight: 700;
}

/* ========== LOADING STATES ========== */

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ========== TOOLTIPS ========== */

[data-bs-toggle="tooltip"] {
    cursor: help;
}

/* ========== STATS BOXES ========== */

.stat-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-box:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.stat-box .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 15px;
}

.stat-box .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
}

.stat-box .stat-label {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== PRINT STYLES ========== */

@media print {
    .btn,
    .nav-tabs,
    .modal,
    .sidebar {
        display: none !important;
    }
    
    .partner-card,
    .asset-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .table {
        font-size: 12px;
    }
}