/* Basic Styles */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header img {
    max-width: 150px;
    margin-bottom: 10px;
}

main {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.radio-group, .checkbox-group {
    margin-bottom: 15px;
}

.button, button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #12352D;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
}

.button:hover, button:hover {
    background-color: #0A2019;
}
/* Modal Styles */
#modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #12352D;
    animation: spin 1s ease infinite;
    margin-right: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Help Link Styles */
.help-link {
    font-size: 12px;
    font-weight: normal;
    color: #12352D;
    text-decoration: none;
    margin-left: 10px;
}

.help-link:hover {
    text-decoration: underline;
}

/* Help Modal Styles */
#helpModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.help-modal-content {
    background-color: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.help-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 10px 20px;
    border-bottom: 1px solid #eee;
}

.help-modal-header h3 {
    margin: 0;
    color: #12352D;
    font-size: 18px;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-button:hover {
    background-color: #f0f0f0;
    color: #333;
}

.help-modal-body {
    padding: 20px;
}

.help-modal-body ul {
    margin: 0;
    padding-left: 20px;
}

.help-modal-body li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.help-modal-body a {
    color: #12352D;
    text-decoration: none;
}

.help-modal-body a:hover {
    text-decoration: underline;
}
