/* Reset & Font */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.payment-container {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* To verify header corners if radius needed */
}

/* Header Section */
.payment-header {
    background-color: #0078d7;
    /* Reference Blue */
    color: #fff;
    text-align: center;
    padding: 25px 0;
    position: relative;
}

.amount-display {
    font-size: 3rem;
    font-weight: 500;
}

.currency {
    font-size: 1.2rem;
    margin-top: -5px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.header-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Form Section */
.payment-form {
    padding: 20px;
    background-color: #f9f9f9;
    /* Light gray bg matching ref */
}

.form-group {
    margin-bottom: 15px;
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    outline: none;
    background: #fff;
    transition: border-color 0.3s;
}

.input-field:focus {
    border-color: #0078d7;
}

.input-field::placeholder {
    color: #999;
}

.full-width {
    width: 100%;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.col-small {
    flex: 1;
}

.center-text {
    text-align: center;
}

.info-text {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin-bottom: 20px;
}

/* Installment Section */
.installment-section {
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.installment-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.installment-table th {
    background-color: #fff;
    color: #666;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.installment-table td {
    padding: 12px;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #eee;
}

.installment-table tr:last-child td {
    border-bottom: none;
}

/* Radio Button Styling */
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
}

.radio-label input {
    margin-right: 8px;
    accent-color: #0078d7;
    /* Modern browsers */
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background-color: #1976d2;
    /* Slightly darker blue for button */
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #1565c0;
}