body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('../images/bgs/bg-seagems.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
  }

.flags {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
}

.flags a {
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flags a img {
    padding: 0;
    width: 30px;
    height: 30px;
    object-fit: cover;
    vertical-align: middle;
}

.login-box {
    position: relative;
    width: 400px;
    margin: 7% auto 0;
    padding: 35px 50px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #333;
    text-align: center;
    overflow: hidden;
    border: 0px solid rgba(255, 255, 255, 0.7);
    border-width: 0px 0px 0.1px 0.1px;
    background-color: rgba(255,255,255,0.55);
}

@media (min-width: 2000px) {
    .login-box {
        margin: 110px auto 0;
    }
}

.login-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/graphs/textura.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.2; /* 20% visível */
    z-index: 0;
    border-radius: 15px;
    background-color: white;
}

.login-box > * {
    position: relative;
    z-index: 1;
}

.login-box img.logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 160px;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.input-group input::placeholder {
    color: #ffffff;
}

.input-group img.icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    opacity: 0.8;
    cursor: pointer;
}

.preregister_back,
.input-group label{
    margin-top: 16px;
    font-size: small;
    color: #073776;
    font-weight: bold;
    text-align: left;
    width: 100%;
    display: inline-block;
}

.preregister_back {
    cursor:pointer;
}

button {
    width: 100%;
    padding: 18px 12px;
    background-color: #fff;
    color: #073776;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 22px 0px;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #073776;
    color: white;
}

button:hover img {
    filter: brightness(0) invert(1);
}

.divider {
    text-align: center;
    margin: 10px 0;
    color: #fff;
    font-size: 13px;
}

.support-text {
    margin-top: 20px;
    font-size: 11px;
    color: #313131;
    text-align: center;
}

a.forgot {
    font-size: 12px;
    color: #fff;
    display: block;
    margin-bottom: 15px;
    text-align: right;
    text-decoration: none;
}

a.forgot:hover {
    text-decoration: underline;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0px 30px;
}

.logo img {
    height: 100px;
}

.logo span {
    font-size: 24px;
    font-weight: bold;
    color: #002b5c;
}

select,
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 0px;
    margin: 0px 0px 20px;
    border: none;
    border-bottom: 1px solid #F8FAFD;
    background: transparent;
    color: white;
    font-size: 14px;
    outline: none;
}

select > option {
    background-color: white;
    color:#313131;
    font-size: 15px;
}

.forgot {
    text-align: left;
    font-size: 12px;
    color: #002b5c;
    margin-bottom: 20px;
    cursor: pointer;
    font-weight: bold;
}

.btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.btn.secondary {
    background-color: #f1f1f1;
    color: #000;
}

.support {
    font-size: 11px;
    color: #333;
    margin-top: 20px;
    text-align: center;
}


/** Pre register */

.preregister_content {
    text-align: left;
}

.home_text_preregister {
    color: #073776;
}