
/* Partial Payment System Styles */
.partial-payment-options {
    margin: 20px 0;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #f9f9f9;
}

.partial-payment-options h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

.payment-option {
    margin: 15px 0;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #4CAF50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.payment-option-label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    font-weight: 500;
}

.payment-option-label input[type="radio"] {
    margin-right: 10px;
}

.payment-option-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.payment-option-amount {
    font-size: 18px;
    font-weight: 700;
    color: #4CAF50;
}

.payment-option-details {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #eee;
}

.advance-amount {
    color: #FF6B00;
    font-weight: 600;
}

.balance-amount {
    color: #2196F3;
    font-weight: 600;
}

.payment-option-note {
    margin-top: 15px;
    padding: 12px;
    background: #FFF3CD;
    border: 1px solid #FFEEBA;
    border-radius: 6px;
    color: #856404;
}

.payment-option-note p {
    margin: 0;
    font-size: 14px;
}

.payment-breakdown {
    margin: 20px 0;
    padding: 20px;
    border: 2px solid #4CAF50;
    border-radius: 10px;
    background: #f8fff8;
}

.payment-breakdown h3 {
    margin-top: 0;
    color: #2E7D32;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
    padding: 10px;
    border-radius: 6px;
    background: white;
}

.breakdown-item.advance {
    background: #FFF3E0;
    border-left: 4px solid #FF6B00;
}

.breakdown-item.balance {
    background: #E3F2FD;
    border-left: 4px solid #2196F3;
}

.breakdown-item .label {
    font-weight: 600;
    color: #333;
}

.breakdown-item .amount {
    font-weight: 700;
}

.breakdown-item.advance .amount {
    color: #FF6B00;
}

.breakdown-item.balance .amount {
    color: #2196F3;
}

.breakdown-note {
    margin-top: 15px;
    padding: 12px;
    background: #E8F5E8;
    border: 1px solid #C8E6C9;
    border-radius: 6px;
    color: #2E7D32;
}

.breakdown-note p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .payment-option-details {
        flex-direction: column;
        gap: 5px;
    }
    
    .breakdown-item {
        flex-direction: column;
        gap: 5px;
    }
}
        