/* Heading */
h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

/* Warning box */
.warning-box {
    background-color: #FFECE8;
    border-left: 4px solid #F53F3F;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.warning-box h3 {
    font-size: 18px;
    font-weight: bold;
    color: #F53F3F;
    margin-bottom: 10px;
}

.warning-box ul {
    margin-left: 20px;
    color: #991b1b;
}

/* Steps section */
.steps-section {
    margin-bottom: 40px;
}

.steps-section h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.step {
    flex: 1;
    text-align: left;
    padding: 20px;
    background-color: #f9fafb;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.step h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.step p {
    font-size: 14px;
    color: #6b7280;
}

/* Form section */
.form-section h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.form-container {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    background-color: #f9fafb;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #355EFC;
    box-shadow: 0 0 0 2px rgba(53, 94, 252, 0.2);
}

/* Captcha section */
#captcha {
    /* Inline styles are used for the captcha display */
}

/* Checkbox section */
.checkbox-section {
    margin-bottom: 20px;
}

/* Button */
#confirmBtn {
    width: 100%;
    padding: 14px;
    background-color: #355EFC;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

#confirmBtn:hover {
    background-color: #2546d9;
}

#confirmBtn:disabled {
    background-color: #93c5fd;
    cursor: not-allowed;
}

/* Contact section */
.contact-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.contact-section h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.contact-section p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 10px;
}

.contact-section a {
    color: #666666;
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    margin-bottom: 20px;
}

.success-modal .modal-title {
    color: #355EFC;
}

.error-modal .modal-title {
    color: #ef4444;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .steps-container {
        flex-direction: column;
    }

    .captcha-container {
        flex-direction: column;
        align-items: stretch;
    }

    #captcha {
        text-align: center;
    }
}