

/* ===============================
   BACKGROUND
================================ */
body {
    font-family: "Manrope", sans-serif;
    height: 100vh;
    margin: 0;

    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===============================
   WRAPPER
================================ */
.login-wrapper {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

/* ===============================
   CARD (GLASS EFFECT)
================================ */
.login-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);

    border-radius: 16px;
    padding: 30px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.2);

    color: #fff;
}

/* HEADER */
.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-header p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ===============================
   INPUTS MODERNOS
================================ */
.modern-input {
    position: relative;
    margin-bottom: 20px;
}

.modern-input label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
    display: block;
}

.modern-input input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border-radius: 5px;
    border: none;

    background: rgba(255,255,255,0.15);
    color: #fff;

    outline: none;
    transition: 0.2s;
}

/* FOCUS */
.modern-input input:focus {
    background: rgba(255,255,255,0.25);
}

/* ÍCONE */
.modern-input i {
    position: absolute;
    right: 12px;
    top: 35px;
    font-size: 16px;
    opacity: 0.7;
}

.toggle-password {
    position: absolute;
    right: 35px;
    top: 35px;

    cursor: pointer;
    font-size: 16px;
    color: rgba(255,255,255,0.7);

    transition: 0.2s;
}

.toggle-password:hover {
    color: #fff;
}

/* ===============================
   BOTÃO
================================ */
.btn-login {
    width: 100%;
    padding: 12px;

    border-radius: 5px;
    border: none;

    background: #ffffff;
    color: #4f46e5;

    font-weight: 600;
    font-size: 14px;

    transition: 0.2s;
}

.btn-login:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

/* ===============================
   LINK
================================ */
.forgot {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #fff;
    opacity: 0.8;
}

.forgot:hover {
    opacity: 1;
}

/* ===============================
   MENSAGENS
================================ */

/*MESSAGE*/
.message {
    display: block;
    margin-bottom: 20px;
    padding: 15px;
    text-align: center;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: 1px solid #cccccc;
    font-weight: 500;
    background-color: #f9f9f9;
    font-size: 0.8rem;
}

.message.success {
    color: #ffffff;
    border-color: var(--bs-success);
    background-color: var(--bs-success);
}

.message.info {
    color: #ffffff;
    border-color: var(--bs-info);
    background-color: var(--bs-info);
}

.message.warning {
    color: #ffffff;
    border-color: var(--bs-warning);
    background-color: var(--bs-warning);
}

.message.error {
    color: #ffffff;
    border-color: var(--bs-danger);
    background-color: var(--bs-danger);
}
