.payment-container {
    background: #ffffff;
    width: 100%;
    max-width: 800px;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #1f2937;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: bold;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex: 100%;
}

label {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    color: #1f2937;
    outline: none;
    transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    border-color: #3b82f6;
}

input::placeholder {
    color: #9ca3af;
}

/* Fixed / Disabled Inputs */
input[readonly] {
    background-color: #f9fafb;
    color: #374151;
    cursor: not-allowed;
}

/* Payment Mode Box */
.payment-mode-box {
    border: 2px solid #3b82f6;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 350px;
    background-color: #fff;
}

.payment-mode-info .mode-title {
    font-style: italic;
    font-weight: bold;
    color: #111827;
    font-size: 16px;
    margin-bottom: 4px;
}

.payment-mode-info .mode-sub {
    font-size: 12px;
    color: #4b5563;
}

.payment-mode-box input[type="radio"] {
    accent-color: #3b82f6;
    width: 16px;
    height: 16px;
}

/* Captcha Section */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.captcha-box {
    background-color: #f3f4f6;
    border: 1px dashed #9ca3af;
    padding: 8px 15px;
    font-family: monospace;
    font-size: 20px;
    letter-spacing: 4px;
    font-weight: bold;
    color: #374151;
    user-select: none;
    border-radius: 4px;
}

.reload-text {
    font-size: 13px;
    color: #374151;
}

.reload-text a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.reload-text a:hover {
    text-decoration: underline;
}

/* Resized & Styled Buttons */
.button-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 16px 36px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0891b2, #2563eb);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: white;
    box-shadow: 0 6px 15px rgba(244, 63, 94, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e11d48, #be123c);
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.6);
}

/* ==========================================
   MOBILE VIEW / RESPONSIVE MEDIA QUERY
   ================================---------- */
@media screen and (max-width: 768px) {
    .payment-container {
        padding: 15px;
        box-shadow: none; /* Often cleaner on small screens */
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    .payment-mode-box {
        max-width: 100%; /* Make payment mode span full width */
    }

    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .button-group {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%; /* Make buttons full width for touch targets */
        padding: 14px 20px;
        font-size: 16px;
    }
}