/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
html,
body {
    background: linear-gradient(to bottom right, #E6F0F4, #C1D9EA);
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    zoom: 0.89;
}
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    min-height: 100vh;
    padding: 20px;
}
.login-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 160px;
    height: auto;
}
.card-login {
    background: #ffffff;
    padding: 20px 30px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-top: 8px solid #004c78;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
    width: 100%;
    text-align: center;
}
.titulo {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #004c78;
    font-weight: 600;
}
.input-group {
    margin-bottom: 14px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}
.input-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-container:focus-within {
    border-color: #004c78;
    box-shadow: 0 0 5px rgba(0, 76, 120, 0.2);
}

.input-icon {
    background: transparent;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #004c78;
    font-size: 1.2rem;
}

.input-container input {
    flex-grow: 1;
    border: none;
    padding: 10px 12px;
    font-size: 0.95rem;
    border-left: 1px solid #cacaca;
}

.input-container input:focus {
    outline: none;
}
.formulario button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    background-color: #004c78;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 14px;
    font-weight: 500;
}
.formulario button:hover {
    background-color: #003252;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.formulario button:disabled {
    background-color: #ddd;
    color: #929292;
    cursor: not-allowed;
    box-shadow: none;
    border: 1px solid #aaa;
    opacity: 0.6;
}
.extra-login-container {
    width: 100%;
}

.extra-login {
    background-color: #F5F5F5;
    padding: 16px 20px 24px;
    border-top: 2px solid #ccc;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.btn-microsoft {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px;
    background-color: #202124;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-microsoft img {
    width: 20px;
    height: 20px;
}

.btn-microsoft:hover {
    background-color: #2c2d2f;
}
.footer {
    text-align: center;
    padding: 50px 0 0;
    font-size: 14px;
    color: #000;
}

.footer-text p {
    margin: 2px 0;
}
.messages-container {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
}

.message {
    transition: opacity 0.5s ease;
    border-radius: 7px;
    padding: 10px;
    text-align: center;
    font-weight: 500;
    
}
.message.success {
    background-color: #d4edda;
    border: 1px solid #218838;
    color: #0d4b1c;
}
.message.error {
    background-color: #f8d7da;
    border: 1px solid #c82333;
    color: #530f16;
}
