@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background: linear-gradient( rgba(0,0,0,.55), rgba(0,0,0,.75)), url('/login/img/ugh.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    /* OVERLAY LIGHT */

    body::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(123,29,29,.35), transparent 35%);
        z-index: 1;
    }

/* LOGIN CARD */

.login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 430px;
    padding: 35px;
    border-radius: 28px;
    background: rgba(20,20,20,.45);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 25px 60px rgba(0,0,0,.45);
}

/* HEADER */

.logo-box {
    width: 100px;
    height: 100px;
    margin: auto;
    border-radius: 24px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

    .logo-box img {
        width: 100%;
        object-fit: contain;
    }

.system-title {
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.system-subtitle {
    text-align: center;
    color: rgba(255,255,255,.72);
    margin-bottom: 30px;
    line-height: 1.0;
    font-weight: 200;
    font-size: 10px;
}

/* FORM */

.form-label {
    color: rgba(255,255,255,.88);
    font-size: .92rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group-text {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.65);
    border-radius: 16px 0 0 16px;
    padding: 0 18px;
}

.form-control {
    height: 58px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: white;
    border-radius: 0 16px 16px 0;
    font-size: .95rem;
}

    .form-control::placeholder {
        color: rgba(255,255,255,.4);
    }

    .form-control:focus {
        background: rgba(255,255,255,.08);
        color: white;
        border-color: rgba(123,29,29,.8);
        box-shadow: 0 0 0 .25rem rgba(123,29,29,.18);
    }

/* BUTTON */

.btn-login {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 18px;
    background: linear-gradient( 135deg, #6d1717, #9d2525);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .5px;
    transition: .35s;
}

    .btn-login:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(157,37,37,.35);
    }

/* FOOTER */

.bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 200;
    gap: 25px;
    margin-top: 25px;
}

    .bottom-links a {
        color: rgba(255,255,255,.65);
        text-decoration: none;
        font-size: .9rem;
        transition: .3s;
        position: relative;
    }

        .bottom-links a:hover {
            color: white;
        }

/* STATUS */

.status-box {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 2;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.08);
    color: white;
    font-size: .85rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #39ff88;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 12px #39ff88;
}

/* RESPONSIVO */

@@media(max-width: 576px) {

    body {
        padding: 20px;
    }

    .login-card {
        padding: 35px 25px;
    }

    .system-title {
        font-size: 1.6rem;
    }

    .logo-box {
        width: 95px;
        height: 95px;
    }

    .bottom-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 25px;
        margin-top: 25px;
    }
}

/* BOTÃO OLHO PASSWORD */

.toggle-password {
    width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-left: none;
    border-radius: 0 16px 16px 0;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    transition: .3s;
}

    .toggle-password:hover {
        color: white;
        background: rgba(255,255,255,.08);
    }

/* Ajuste do input password */

#password {
    border-radius: 0;
    border-right: none;
}

/* Animação de rotação da esquerda para a direita */
@keyframes horizontalRotate {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Aplicação da animação ao logotipo */
.logo {
    width: 160px; /* Ajuste conforme necessário */
    height: 160px; /* Ajuste conforme necessário */
    animation: horizontalRotate 9s infinite linear; /* Movimento suave e lento */
    transform-origin: center; /* Mantém a rotação no centro do elemento */
}

