/* Reset some default styles */
body, h1, h2, p, ul, li, a {
    margin: 0;
    padding: 0;
}

/* Center the entire h1 element */
h1 {
    text-align: center;
    margin: 0 auto;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
}

/* Form Styles */
form {
    max-width: 400px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 20px;
}

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

/* Input and Select Styles */
input,
select {
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

input::placeholder {
    color: #999;
}

/* Custom Select Styles */
select {
    appearance: none; /* Remove default arrow */
    background-color: #fff; /* Light background */
    background-image: linear-gradient(45deg, transparent 50%, #007BFF 50%), linear-gradient(135deg, #007BFF 50%, transparent 50%); /* Custom arrow */
    background-position: calc(100% - 15px) calc(1em + 2px), calc(100% - 10px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
    position: relative;
    padding: 10px 40px 10px 10px; /* Adjust padding for custom arrow */
    border: 1px solid #ccc; /* Border color */
    border-radius: 4px; /* Rounded corners */
    font-size: 16px; /* Larger font size for better readability */
    color: #333; /* Text color */
    transition: border-color 0.3s ease, background-color 0.3s ease; /* Smooth transition */
}

select:hover {
    border-color: #007BFF; /* Border color on hover */
    background-color: #f9f9f9; /* Lighter background on hover */
}

select:focus {
    border-color: #007BFF; /* Border color on focus */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Shadow on focus */
}

/* Option styling */
select option {
    background-color: #fff; /* Background color for options */
    color: #333; /* Text color for options */
}

/* Adjusting the padding of the select to align with the rest of the form elements */
select {
    padding: 10px;
}

/* Adding arrow styles */
select::after {
    content: ''; /* Downward arrow */
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Arrow does not interfere with select functionality */
    border-width: 5px;
    border-style: solid;
    border-color: #007BFF transparent transparent transparent; /* Arrow color */
}

/* Button Styles */
button,
input[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    padding: 16px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    margin: 10px 0;
    text-align: center;
}

button:hover,
input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Amount Container Styles */
.amount-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Amount Box Styles */
.amount-box {
    border: 1px solid #ccc;
    color: #333;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    width: calc(33.3333% - 10px); /* Adjust the width for three boxes per row */
    text-align: center;
    position: relative;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.amount-box:hover {
    background-color: #f0f0f0;
    border-color: #007BFF;
}

.amount-box input[type="radio"] {
    display: none;
}

.amount-box label {
    display: block;
    cursor: pointer;
}

.amount-box input:checked + label {
    background-color: #007BFF;
    color: #fff;
    border-radius: 5px;
}

.amount-box .local-currency {
    display: block;
    margin-top: 5px;
    padding-top: 5px;
    font-size: 12px;
    color: #666;
}

p {
    margin-left: 14%;
}

.alert {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

