.installment-options {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.installment-options h4 {
    margin: 0 0 15px 0;
    color: #28a745;
    font-size: 18px;
    font-weight: 600;
}

.installment-selection label {
    display: block;
    margin: 10px 0;
    padding: 10px 15px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.installment-selection label:hover {
    border-color: #28a745;
    background: #f8fff9;
}

.installment-selection input[type="radio"] {
    margin-right: 10px;
}

.installment-selection input[type="radio"]:checked + span {
    font-weight: 600;
    color: #28a745;
}

.installment-selection label:has(input:checked) {
    border-color: #28a745;
}

.installment-schedule {
    margin-top: 20px;
    border-top: 1px solid #dee2e6;
    padding-top: 20px;
}

.installment-schedule table {
    width: 100%;
    border-collapse: collapse;
}

.installment-schedule th,
.installment-schedule td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.installment-schedule th {
    background: #f1f1f1;
}

.installment-info {
    font-size: 14px;
    line-height: 1.6;
}

.installment-info h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Wiersz statusu raty */
.installment-admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.installment-admin-table th,
.installment-admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.installment-admin-table th {
    background: #f1f1f1;
    font-weight: bold;
}

.status-pending {
    color: #856404;
    background: #fff3cd;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.status-paid {
    color: #155724;
    background: #d4edda;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.status-overdue {
    color: #721c24;
    background: #f8d7da;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

/* Przycisk oznacz jako zapłacone */
.mark-paid-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.installment-progress {
    background: #e0e0e0;
    border-radius: 5px;
    height: 10px;
    margin-top: 5px;
}

.installment-progress-bar {
    background: #4CAF50;
    height: 100%;
    border-radius: 5px;
    width: 0%;
}