/* =========================
    RESET GLOBAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #131313;
}

/* =========================
    CONTAINER CENTRAL
========================= */
.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* =========================
    CARD DO LOGIN
========================= */
.login {
    width: 100%;
    max-width: 430px;
    background: rgba(30, 30, 30, 0.9);
    padding: 45px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

/* EFEITO DE LUZ DOURADA */
.login::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -30%;
    width: 280px;
    height: 280px;
    background: #bb8031;
    filter: blur(150px);
    opacity: 0.35;
    z-index: -1;
    animation: luz 6s infinite alternate ease-in-out;
}

@keyframes luz {
    from { transform: translate(0, 0); }
    to   { transform: translate(60px, 60px); }
}

/* =========================
    TÍTULO
========================= */
.login h2 {
    color: white;
    font-size: 30px;
    margin-bottom: 25px;
    font-weight: 600;
}

/* =========================
    INPUTS
========================= */
.input {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #444;
    background: #1e1e1e;
    color: white;
    font-size: 16px;
    margin-bottom: 18px;
    transition: 0.3s;
}

.input:focus {
    background: #2b2b2b;
    border-color: #bb8031;
    box-shadow: 0 0 10px #bb8031;
    outline: none;
}

/* =========================
    LINKS
========================= */
.login a {
    color: #bb8031;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.login p {
    color: #adadad;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.login a:hover {
    text-decoration: underline;
}

/* =========================
    BOTÃO LOGIN
========================= */
.btn-cadastro,
.btn-login {
    width: 100%;
    padding: 14px;
    background: #bb8031;
    border: none;
    border-radius: 10px;
    color: #131313;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-cadastro:hover,
.btn-login:hover {
    background: #d9a15a;
    transform: scale(1.03);
    box-shadow: 0 0 15px #bb8031;
}

/* =========================
    RESPONSIVIDADE
========================= */
@media (max-width: 480px) {
    .login {
        padding: 30px;
        max-width: 90%;
        border-radius: 15px;
    }

    .login h2 {
        font-size: 26px;
    }

    .input {
        font-size: 15px;
    }

    .btn-login {
        font-size: 16px;
    }
}


.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #bb8031;
    color: #131313;
    padding: 15px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 9999;
}


.alert.hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}


/* Responsivo */
@media (max-width: 480px) {
    .alert {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px);
        width: 85%;
        max-width: 350px;
        text-align: center;
    }
}
