#payment-form {
    display: block;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Remove number input arrows */
#amount::-webkit-inner-spin-button, 
#amount::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#amount {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Amount selection buttons */
#amount-selection {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 8px;
    margin-bottom: 20px;
}

.amount-btn {
    font-size: 14px;
    padding: 12px;
    flex: 1;
    background-color: white !important;
    color: black !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.amount-btn:hover, .amount-btn.active {
    background-color: rgb(0, 75, 166) !important;
    color: white !important;
}

/* Input field container */
.input-container {
    position: relative;
    margin-bottom: 20px;
}

/* Currency symbol positioning */
.currency-symbol {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #666;
    pointer-events: none;
}

/* Input field styling */
input {
    width: 100%;
    height: 45px;
    padding: 0 12px 0 28px !important;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #002F6C;
    box-shadow: 0 0 5px rgba(0, 47, 108, 0.5);
}

/* Labels */
label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

/* Pay button */
#pay-button {
    width: 100%;
    margin-top: 20px;
    color: black;
    border: 1px solid #ccc;
    background-color: white;
    padding: 12px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#pay-button:hover {
    background-color: rgb(0, 75, 166);
    color: white;
    border-color: rgb(0, 75, 166);
}

/* Alerts */
.alert {
    color: rgb(0, 75, 166);
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 800px) {
    #payment-form {
        width: 95%;
        padding: 15px;
    }

    #amount-selection {
        flex-wrap: wrap;
        justify-content: center;
    }

    .amount-btn {
        flex: 1 1 45%; /* Two buttons per row on small screens */
        min-width: unset;
        font-size: 12px;
    }

    #pay-button {
        font-size: 12px;
        padding: 10px;
    }
}
