html,
body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.login-page::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("../assets/js/Radio.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.login-box {
    width: 90%;
    max-width: 900px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.70);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.login-title {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.login-subtitle {
    color: #ddd;
    text-align: center;
    margin-bottom: 35px;
    font-size: 1.2rem;
}

.form-control {
    height: 60px;
    border-radius: 12px;
    border: none;
    padding-left: 20px;
    font-size: 1.1rem;
}

.btn {
    height: 60px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Toggle entre login e cadastro */
.toggle-text {
    text-align: center;
    color: #ccc;
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.toggle-text a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.toggle-text a:hover {
    text-decoration: underline;
}

/* Mensagem de erro */
.alert-msg {
    background: rgba(220, 53, 69, 0.85);
    color: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Mensagem de sucesso */
.success-msg {
    background: rgba(25, 135, 84, 0.85);
    color: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Animação suave ao trocar formulário */
#formLogin, #formRegister {
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
