@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cabin:ital,wght@0,400..700;1,400..700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cabin", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
    background-image: url("/assets/img/background/bg.png");
    background-size: cover;
    background-position: center;
}

.container {
    width: 100%;
    max-width: 420px;
    margin: 10px;
    background-color: black;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    padding: 30px 20px;
    box-shadow: blue 0px 0px 0px 2px inset, rgb(0, 0, 0) 10px -10px 0px -3px,
      rgb(255, 251, 22) 10px -10px, rgb(0, 0, 0) 20px -20px 0px -3px,
      rgb(255, 19, 19) 20px -20px;
}

.header-login {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-login h1 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 500;
    font-size: 50px;
    font-style: normal;
}

.pogonit {
    height: 80px;
    border-radius: 6px;
    margin-left: 10px;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: 2px solid;
    border-radius: 40px;
    outline: none;
    font-size: 15px;
    color: white;
    padding: 20px 45px 20px 20px;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.forgot {
    display: flex;
    justify-content: space-between;
    margin: -15px 0 15px;
}

.forgot label input {
    accent-color: rgb(255, 242, 242);
    margin-right: 5px;
}

.forgot a {
    text-decoration: none;
    color: white;
}

.forgot a:hover {
    text-decoration: underline;
}

.login {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 40px;
    background: white;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
}

.login:hover {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: 0.5s;
}

.register {
    font-size: 14px;
    text-align: center;
    margin: 20px 0 15px;
}

.register a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.register a:hover {
    text-decoration: underline;
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    padding: 15px 10px 2px;
    gap: 20px;
}

.social a {
    text-decoration: none;
    color: #fff;
}

#toast {
    visibility: hidden;
    max-width: 90%;
    background-color: #f44336;
    color: #fff;
    text-align: center;
    border-radius: 12px;
    padding: 16px 24px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
    font-size: 1rem;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    word-wrap: break-word;
}

#toast.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* OTIMIZAÇÕES PARA TELAS PEQUENAS (celulares) */
@media (max-width: 480px) {
    .container {
        margin: 0 10px;
        padding: 20px 15px; /* Reduz o padding para dar mais espaço */
    }

    .header-login h1 {
        font-size: 38px; /* Reduz o tamanho do título */
    }

    .pogonit {
        height: 55px; /* Reduz o tamanho do logo */
    }
    
    .input-box {
        margin: 20px 0; /* Diminui a margem entre os inputs */
    }

    .input-box input {
        padding: 15px 45px 15px 15px; /* Ajusta o padding do input */
    }
    
    .login {
        height: 45px; /* Diminui a altura do botão de login */
        font-size: 18px; /* Reduz o tamanho da fonte do botão */
    }

    .forgot {
        flex-direction: column;
        gap: 10px;
        font-size: 14px; /* Opcional: reduz a fonte para a seção "Esqueci a senha" */
    }

    .register {
        font-size: 13px; /* Reduz o tamanho da fonte da seção de registro */
    }
}