* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Ubuntu", sans-serif;
    color: white;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('assets/img.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.container {
    width: 420px;
    background: rgba(255, 255, 255, 0.08);
    /* mais transparente */
    backdrop-filter: blur(4px);
    /* ↓ bem menos blur */
    -webkit-backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px 40px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
}

h1 {
    text-align: center;
    font-size: 40px;
}

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

.input-box input {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 20px 45px 20px 20px;
    margin-bottom: 10px;
    outline: none;
    font-size: 16px;
    background-color: transparent;
}

.input-box input::placeholder {
    color: rgba(240, 248, 255, 0.836);
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

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

.remember-forgot label input {
    accent-color: white;
    margin-right: 2px;
}

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

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

button {
    width: 100%;
    height: 50px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: white;

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);

    position: relative;
    overflow: hidden;

    transition: transform 0.2s ease, background 0.3s;
}

/* brilho que segue o mouse */
button::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
            rgba(255, 255, 255, 0.35),
            transparent 40%);

    opacity: 0;
    transition: opacity 0.3s;
}

/* glow interno suave */
button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;

    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
}

button:hover::before,
button:hover::after {
    opacity: 1;
}

button:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

button:active {
    transform: scale(0.97);
}

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

.register-link a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

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