/* Recurring Payments Styles */

/* Summary Cards */
.summary-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s;
}

.summary-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.summary-label {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 8px;
    font-weight: 500;
}

.summary-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
}

/* Payment Cards */
.payment-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s;
    position: relative;
}

.payment-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.payment-card.inactive {
    opacity: 0.6;
    background: #f7fafc;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.payment-customer-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    flex: 1;
    padding-right: 10px;
}

.payment-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.payment-details {
    font-size: 0.85rem;
}

.payment-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 15px 0 10px 0;
}

/* Frequency Badges */
.payment-frequency {
    margin-bottom: 15px;
}

.frequency-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.frequency-monthly {
    background: #e6f7ff;
    color: #0066cc;
}

.frequency-yearly {
    background: #f0f5ff;
    color: #5b21b6;
}

.frequency-custom {
    background: #fff7ed;
    color: #c2410c;
}

/* Payment Dates */
.payment-dates {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
}

.payment-date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date-label {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
}

.date-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.date-value.overdue {
    color: #dc2626;
}

.date-value.due-soon {
    color: #ea580c;
}

.date-value.future {
    color: #059669;
}

/* Inactive Badge */
.inactive-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #a0aec0;
}

.empty-state i {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.4;
}

.empty-state h5 {
    color: #4a5568;
    margin-bottom: 10px;
}

.empty-state p {
    color: #a0aec0;
}

/* Responsive */
@media (max-width: 768px) {
    .payment-header {
        flex-direction: column;
    }
    
    .payment-actions {
        margin-top: 10px;
        width: 100%;
        justify-content: flex-end;
    }
    
    .summary-value {
        font-size: 1.5rem;
    }
    
    .payment-amount {
        font-size: 1.6rem;
    }
}

