body {
    margin: 0;
    font-family: "Lato", "Helvetica Neue", "Lucida Grande", "Tahoma", "Verdana", sans-serif;
    color: #aaaaaa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*------------------------------------------------------------NAV-------------------------------------*/
nav {
    background-color: #FFFFFF;
    padding: 1.5rem;
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 10px auto;
    padding: 0;
    height: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-buttons {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.btn {
    margin: 0 5px;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.social-icon svg {
    width: 40px;
    height: 40px;
    fill: #000000;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: #007bff;
}

.logo {
    max-width: 400px;
    height: 100%;
    margin-left: 3rem;
    margin-right: 3rem;
}

.mx-4 {
    margin-left: 2rem !important;
    margin-right: 2rem !important;
}


.nav-buttons .btn-primary {
    background-color: #6ac3c6;
    border: 2px solid #6ac3c6;
    color: #FFFFFF;
}

.nav-buttons .btn-primary:hover {
    background-color: transparent;
    color: #6ac3c6;
}

.nav-buttons .btn-secondary {
    background-color: #6c757d;
    border: 2px solid #6c757d;
    color: #FFFFFF;
}

.nav-buttons .btn-secondary:hover {
    background-color: transparent;
    color: #6c757d;
}

.nav-buttons .btn-danger {
    background-color: #dc3545;
    border: 2px solid #dc3545;
    color: #FFFFFF;
}

.nav-buttons .btn-danger:hover {
    background-color: transparent;
    color: #dc3545;
}

.nav-buttons button {
    background-color: white;
    color: #002856;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

main {
    flex: 1;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('../images/FondoWala.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

form {
    width: 95%;
    max-width: 900px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

form input, form select, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

label .required {
    color: red;
    margin-left: 5px;
}

select option {
    color: black;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #6ac3c6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-control-submit-button {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: #6ac3c6;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-control-submit-button:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.form-control-submit-button:active {
    background-color: #004080;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-control-submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.5);
}

.cDSELk {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 0;
    background-color: rgb(234, 234, 234);
    cursor: pointer;
    text-align: center;
    text-decoration: underline;
    font-size: 14px;
    color: rgb(89, 93, 100);
}

.radio-group {
    display: flex;
    gap: 20px;
    justify-content: start;
    align-items: center;
    margin-bottom: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.radio-group .custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #000000;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-group input[type="radio"]:checked + .custom-radio {
    background-color: #6ac3c6;
    border-color: #6ac3c6;
}

.radio-group input[type="radio"]:checked + .custom-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radio-group label:hover .custom-radio {
    border-color: #6ac3c6;
}

.radio-group label:active .custom-radio {
    transform: scale(0.95);
}

.logos {
    margin: 40px 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.logos img {
    height: 50px;
}

footer {
    background-color: #6ac3c6;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.header {
    background-color: #6ac3c6;
    padding: 50px 0;
    color: #FFFFFF;
    text-align: center;
}

.header .header-title {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    color: #FFFFFF;
}

.country-select {
    background-image: url('/static/flags/{{ code }}.gif');
    background-position: 10px center;
    background-size: 20px 15px;
    background-repeat: no-repeat;
    padding-left: 40px;
}

.country-select select {
    padding-left: 40px;
    background-position: 10px center;
    background-repeat: no-repeat;
}

.country-select .flag {
    display: inline-block;
    width: 30px;
    height: 20px;
    background-size: cover;
    margin-right: 10px;
    vertical-align: middle;
}

.btn.btn-warning {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: #002856;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn.btn-warning:hover {
    background-color: #002856;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn.btn-warning:active {
    background-color: #001a33;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: scale(0.98);
}

.btn.btn-warning:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.5);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 2px solid #6ac3c6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.form-message {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 5px;
}

.form-message .alert {
    margin-bottom: 0;
}

.form-message .alert-danger {
    background-color: #f8ea50;
    border-color: #f5c6cb;
    color: #726e1c;
}

.form-message ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.form-message li {
    margin-bottom: 5px;
}

.form-message a {
    color: #721c24;
    text-decoration: underline;
}

.form-message a:hover {
    text-decoration: none;
}

.form-message strong {
    font-weight: 600;
}

@media screen and (max-width: 760px) {
    .logos img:nth-child(2) {
        display: none;
    }
}
