body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Product Sans', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}
html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Product Sans', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

.resign-banner {
    background-color: #323894;
    color: white;
    padding: 15px;
    text-align: center;
    position: relative;
    z-index: 9999;
}
.close-banner {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
}
.registration-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    margin-top: 30px;
    min-height: 80vh; /* Adjust height as needed */
    font-family: 'Product Sans', sans-serif;
    background-color: #fff;
    border-radius: 8px;
}

.registration-section .form-container {
    width: 80%;
    max-width: 500px; /* Adjust max-width as needed */
    
}
.form-container .logo {
    display: flex;
    justify-content: center;
    align-items: center;
}
.registration-section .form-container h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #323894;
    font-weight: bold;
}

.registration-section .form-group {
    margin-bottom: 20px;
}

.registration-section .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.registration-section .form-group input,
.registration-section .form-group select {
    text-transform: capitalize;
    width: 100%;
    height: 42px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 18px;
}

.registration-section .form-group select option {
    width: 100%;
}
.registration-section .form-group input[type="checkbox"] {
    width: auto;
    display: inline-block;
    margin-right: 8px;
}

.registration-section .form-group label[for="understandCheckbox"] {
    display: inline-block;
}

.registration-section button {
    width: 100%;
    padding: 10px;
    background-color: #323894;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.registration-section button:disabled {
    background-color: #cccccc;
}

.required:after {
	content:"*";
	color: red;
	margin-left: 10px;
}

/* Submit button styling */
button[type="submit"] {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background-color: #323894;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

button[type="submit"]:hover:not(:disabled) {
    background-color: #323894;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .image-container {
        padding: 10px;
    }

    .form-container {
        padding: 10px;
    }

    .form-group {
        flex: 1 1 100%;
    }
}

/* Thank You Page Styles */
.thank-you-section {
    font-family: 'Product Sans', sans-serif;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 10px 10px 8px 10px #b5baff4a;
    background-color: #f9f9f9;
    text-align: center;
}

.thank-you-section .profile-icon {
    font-size: 5em;
    color: #323894;
    margin-bottom: 20px;
}

.thank-you-section h1 {
    color: #323894;
    font-size: 28px;
    font-weight: bold;
}

.thank-you-section p {
    font-size: 1.1em;
    color: #666;
    text-transform: capitalize;
}

.thank-you-section ul {
    list-style-type: none;
    padding: 0;
}

.thank-you-section ul li {
    font-size: 1.1em;
    color: #444;
    margin: 5px 0;
}

.thank-you-section ul li strong {
    color: #333;
}

#member-name {
    font-weight: bold;
}
/* Style for general error messages */
.general-error {
    border: 1px solid red;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #ffe6e6;
    color: red;
}

/* Style for input-specific error messages */
.form-error {
    color: red;
    margin-top: 5px;
}
