/* Fundo com gradiente animado */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #34495E, #2C3E50, #364a73, #557A95, #34495E);
    background-size: 400% 400%;
    animation: gradient-shift 60s infinite linear;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

/* Animação contínua do gradiente */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Container do formulário */
.container {
    background: linear-gradient(135deg, rgba(142, 178, 214, 0.22), rgba(163, 195, 233, 0.55));
    backdrop-filter: blur(18px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 415px;
    text-align: left;
    margin: auto;
}

/* Responsividade */
@media (max-width: 768px) {
    body {
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }

    .container {
        width: 100%;
        padding: 1.5rem;
    }
}

/* Título com contorno preto */
h1 {
    font-size: 2rem;
    color: #0984e3;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 2px 2px 4px #073558; /* Contorno preto */
}

.welcome-message {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Estilo dos campos */
.input-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

input, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

input:focus, select:focus {
    border-color: #0984e3;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    outline: none;
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
    color: #666;
}

.toggle-password:hover {
    color: #0984e3;
}

/* Botão de Enviar */
.btn {
    background: #2C3E50;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background 0.5s ease, transform 0.1s ease;
}

.btn:hover {
    background: #3498db;
}

.btn:active {
    transform: scale(0.98);
}

/* Botão Home */
.home-button-container {
    margin-top: 1.5rem;
    text-align: center;
}

.home-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2C3E50, #34495E);
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.5s ease, transform 0.1s ease;
}

.home-btn:hover {
    background: linear-gradient(135deg, #1A242F, #2C3E50);
    transform: scale(1.05);
}

.home-btn:active {
    transform: scale(0.98);
}
