@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}

body {
    /* background: linear-gradient(0deg, #34558b 0%, #3a225c 100%); */
    background: radial-gradient(circle at center, #34558b 0%, #4b0082 100%);
    background-repeat: no-repeat;
    min-height: 100vh;    
    font-family: "Montserrat", serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container {
    width: 420px;
    background-color: transparent;
    border: 2px solid rgba(186, 180, 180, 0.2);
    border-radius: 10px;
    color: #fff ;
    padding: 30px 40px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; 
    backdrop-filter: blur(150px);
}

.container h1{
    font-size: 36px;
    text-align: center;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0px;
    gap: 20px;
    
}

.forgot-pass{
    margin: 10px 0px;
}

.input-box input {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
    outline: none;
    font-style: 16px;
    color: white;
    padding: 20px 45px 20px 20px;
    border-radius: 20px;
    border: 2px solid  rgba(186, 180, 180, 0.2);
}

.input-box input::placeholder {
    color: #bdbaba
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 30%;
    font-size: 20px;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    margin: -15px 0 15px;
}

.remember-forgot label input {
    accent-color: #fff;
    margin-right: 5px;
}

.remember-forgot  a{
    text-decoration: none;
    color: #fff;
}

.remember-forgot  a:hover{
    text-decoration: underline;
}

.login {
    width: 100%;
    height: 50px;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    margin-top: 30px;
    padding: 15px 30px;
    justify-content: center;
    align-items: center;
    border: 2px solid #efeded;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.login:hover{
    background: transparent;
    border: 2px solid #9e9b9b;
    transition: 0.5s;
    color: #d2d2d2;
}

.register-link {
    font-style: italic;
    text-align: center;
    font-size: 14px;
    margin: 15px 15px 20px;
}

.register-link a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

.register-link a:hover{
    text-decoration: underline;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    gap: 10px;
    user-select: none;
}

/* esconder checkbox padrão */
.custom-checkbox input {
    display: none;
}


.checkmark {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
    position: relative;
    transition: 0.3s;
}


.custom-checkbox:hover .checkmark {
    border-color: #fff;
}

/* quando marcado */
.custom-checkbox input:checked + .checkmark {
    background: #fff;
    border-color: #fff;
}

/* check (✓) */
.checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

/* mostrar check */
.custom-checkbox input:checked + .checkmark::after {
    opacity: 1;
}


@media (max-width: 480px) {

    body {
        padding: 20px;
    }

    .container {
        width: 100%;
        padding: 25px 20px;
        border-radius: 12px;
    }

    .container h1 {
        font-size: 28px;
    }

    .input-box {
        margin: 20px 0;
        height: 45px;
    }

    .input-box input {
        padding: 15px 40px 15px 15px;
        font-size: 14px;
    }

    .input-box i {
        font-size: 18px;
        right: 15px;
    }

    .remember-forgot {
        flex-direction: column;
        gap: 10px;
        font-size: 13px;
    }

    .login {
        height: 45px;
        font-size: 14px;
        margin-top: 20px;
    }

    .register-link {
        font-size: 13px;
        margin: 10px 0;
    }
}