/* ============================================
   CARDS - Sistema de Cards Padronizados
   Galinheiro Pinheiro
   ============================================ */

/* Card de Resumo (Dashboard) */
.card-summary {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(109, 40, 217, 0.05) 100%);
    border: 2px solid #e9d5ff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-summary-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.card-summary-header svg {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
    color: #8b5cf6;
}

.card-summary-title {
    font-size: 1rem;
    font-weight: 700;
    color: #6b21a8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-summary-value {
    font-size: 2rem;
    font-weight: 800;
    color: #5b21b6;
    line-height: 1.2;
}

.card-summary-subtext {
    font-size: 0.875rem;
    color: #7c3aed;
    margin-top: 0.5rem;
}

/* Cards de Pessoa (Grid 2 colunas) */
.person-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card-person {
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.card-person:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Cores Pastel para cada pessoa */
.card-person.pink {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    border: 2px solid #f9a8d4;
}

.card-person.blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #93c5fd;
}

.card-person.green {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #6ee7b7;
}

.card-person.yellow {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fcd34d;
}

.card-person-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.card-person-header svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

/* Botão "Ver pagamentos" */
.btn-ver-pagamentos {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ver-pagamentos:hover {
    color: #111827;
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.btn-ver-pagamentos svg {
    width: 14px;
    height: 14px;
    margin: 0;
}

.card-person-name {
    font-size: 1.125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-person.pink .card-person-name {
    color: #9f1239;
}

.card-person.blue .card-person-name {
    color: #1e40af;
}

.card-person.green .card-person-name {
    color: #065f46;
}

.card-person.yellow .card-person-name {
    color: #92400e;
}

.card-person-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.card-person-label {
    font-weight: 600;
    opacity: 0.8;
}

.card-person-value {
    font-weight: 700;
    font-size: 1rem;
}

.card-person-divider {
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.card-person-total {
    font-size: 1.5rem;
    font-weight: 900;
}

.card-person.pink .card-person-value,
.card-person.pink .card-person-total {
    color: #be123c;
}

.card-person.blue .card-person-value,
.card-person.blue .card-person-total {
    color: #1e40af;
}

.card-person.green .card-person-value,
.card-person.green .card-person-total {
    color: #047857;
}

.card-person.yellow .card-person-value,
.card-person.yellow .card-person-total {
    color: #b45309;
}

/* Seção com Margem Superior */
.section-spacer {
    margin-top: 3rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .person-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .card-person {
        padding: 1.25rem;
    }
    
    .card-person-name {
        font-size: 1rem;
    }
    
    .card-person-value {
        font-size: 0.875rem;
    }
    
    .card-person-total {
        font-size: 1.25rem;
    }
}




