html, body {
    width: 100%;
    height: 100%;
}

/* ========== GLOBAL ========== */
body {
    overflow: hidden; /* remove scroll */
    margin: 0;
    padding: 20px;
    height: 100vh;
    /* background: #eef1f6; */
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    font-family: "Inter", sans-serif;
    /* background-image: url('../img/bg_5.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; */
}
/* 
body {
    background-image: url('../img/background_2.jpg');
    background-repeat: no-repeat; 
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 50px;
    position: relative;
    z-index: 1;
} */

/* ========== CARD ========== */
.card {
    width: 300px;
    padding: 40px 40px;
    background: #ffffffcc;
    backdrop-filter: blur(10px);
    border-radius: 22px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.65s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    text-align: center;
    margin-bottom: 35px;
    color: #2f2f2f;
    font-size: 26px;
    font-weight: 700;
}

/* ========== INPUT GROUP ========== */
.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input {
    width: 100%;
    padding: 14px 12px;
    font-size: 15px;
    box-sizing: border-box;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    outline: none;
    background: #fafafa;
    transition: 0.25s ease;
}

.input-group input:focus {
    border-color: #5b8dff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(91, 141, 255, 0.25);
}

.input-group label {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 15px;
    color: #888;
    background: none;
    pointer-events: none;
    transition: 0.25s ease;
}

/* floating label */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: -9px;
    left: 12px;
    font-size: 12px;
    padding: 0 5px;
    color: #5b8dff;
    background: #fff;
}

/* ========== BUTTON ========== */
button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    color: white;
    cursor: pointer;
    background: linear-gradient(135deg, #5b8dff, #3d6ce7);
    transition: 0.25s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(91, 141, 255, 0.35);
}

/* ========== MENSAGEM ========== */
#msg {
    text-align: center;
    margin-top: 18px;
    min-height: 22px;
    font-size: 14px;
}

.error {
    color: #d04848;
}

.success {
    color: #27b363;
}