* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff; /* cor base caso imagem demore carregar */
    overflow: hidden;
}

/* imagem fixa perfeita */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ajusta proporcionalmente */
    z-index: -1;
}

.login-container {
    position: relative;
    z-index: 1;
}

.login-box {
    width: 400px;
    padding: 40px;
    border-radius: 15px;
    background: rgba(20, 25, 60, 0.85);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    color: #fff;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h2 {
    font-weight: 600;
    letter-spacing: 1px;
}

.logo span {
    font-weight: 300;
    opacity: 0.7;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.input-group input:focus {
    border: 1px solid #5d8dfc;
}

.options {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 20px;
}

.options a {
    color: #8db3ff;
    text-decoration: none;
}

.options a:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, #5d8dfc, #4a6edb);
    color: white;
    transition: 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    width: 180px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Responsivo */
@media (max-width: 480px) {
    .login-box {
        width: 90%;
        padding: 30px;
    }
}
