/* ===================================
   Pontos de Fidelidade - Painel
   =================================== */

.pontos-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.pontos-card {
    background: #f8fafb;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.pontos-card-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pontos-card-value {
    font-size: 28px;
    font-weight: 700;
    color: #004F6B;
    line-height: 1.2;
}

.pontos-card-sub {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* Rules Box */
.pontos-rules-box {
    background: #f8fafb;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.pontos-rules-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #131313;
    margin: 0 0 14px;
}

.pontos-rules-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pontos-rule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
}

.pontos-rule-action {
    font-size: 14px;
    color: #333;
}

.pontos-rule-pts {
    font-size: 14px;
    font-weight: 700;
    color: #004F6B;
}

.pontos-rules-note {
    font-size: 12px;
    color: #999;
    margin: 12px 0 0;
}

/* History */
.pontos-history {
    margin-bottom: 20px;
}

.pontos-history h3 {
    font-size: 16px;
    font-weight: 700;
    color: #131313;
    margin: 0 0 14px;
}

.pontos-history-table-wrapper {
    overflow-x: auto;
}

.pontos-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pontos-history-table thead th {
    text-align: left;
    padding: 10px 14px;
    background: #f5f5f5;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.pontos-history-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.pontos-history-date {
    white-space: nowrap;
    color: #999;
    font-size: 13px;
}

.pontos-credit {
    color: #27ae60;
    font-weight: 700;
}

.pontos-debit {
    color: #e74c3c;
    font-weight: 700;
}

.pontos-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .pontos-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pontos-card-value {
        font-size: 24px;
    }

    .pontos-history-table {
        font-size: 13px;
    }

    .pontos-history-table thead th,
    .pontos-history-table tbody td {
        padding: 8px 10px;
    }
}
