/* Fundo com degradê de roxo escuro, azul petróleo e cinza escuro */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}


.login-container {
    background-color: #232931;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

h2 {
    margin: 0;
    color: #4ecca3;
    font-size: 26px;
    font-weight: 700;
}

.login-header p {
    margin: 10px 0 20px;
    color: #e1e1e1;
    font-size: 16px;
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
}

input[type="text"],
input[type="password"]
{
    width: 100%;
    padding: 12px;
    border: 1px solid #4ecca3;
    border-radius: 6px;
    background-color: #393e46;
    color: #ffffff;
    font-size: 15px;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #f96d00;
    outline: none;
    box-shadow: 0 0 8px rgba(249, 109, 0, 0.6);
}

p {
    font-size: 1.2rem;
}

input[type="email"],
input[type="number"]
{
    width: 100%;
    padding: 12px;
    border: 1px solid #4ecca3;
    border-radius: 6px;
    background-color: #393e46;
    color: #ffffff;
    font-size: 15px;
    box-sizing: border-box;
}

input[type="email"]:focus,
input[type="number"]:focus {
    border-color: #f96d00;
    outline: none;
    box-shadow: 0 0 8px rgba(249, 109, 0, 0.6);
}

input.error {
    border-color: #f44336;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #f96d00;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
}

button[type="submit"]:hover {
    background-color: #ff3f00;
}

.login-actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

button[type="button"] {
    width: 48%;
    padding: 10px;
    background-color: #4ecca3;
    border: 1px solid #4ecca3;
    border-radius: 6px;
    color: #0f3460;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

button[type="button"] i {
    margin-right: 8px;
}

button[type="button"]:hover {
    background-color: #4ecca3;
    color: #ffffff;
}

#create { font-size: 0.8em; }

/* Responsividade */
@media (max-width: 768px) {
    .login-container {
        padding: 30px;
    }

    .login-actions {
        flex-direction: column;
    }

    button[type="button"] {
        width: 100%;
        margin-bottom: 10px;
    }
}

.input-group i {
    position: relative;
    margin-bottom: 25px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #4ecca3;
    cursor: pointer;
}

#togglePassword {
    font-size: 20px; /* Ajusta o tamanho do ícone */
    position: absolute;
    right: 12px; /* Afasta o ícone da borda direita do input */
    top: 67%; /* Centraliza verticalmente no input */
    transform: translateY(-50%); /* Ajuste para centralização */
    color: #4ecca3; /* Cor do ícone */
    cursor: pointer;
}

#toggleNewPassword{
    font-size: 20px; /* Ajusta o tamanho do ícone */
    position: absolute;
    right: 12px; /* Afasta o ícone da borda direita do input */
    top: 67%; /* Centraliza verticalmente no input */
    transform: translateY(-50%); /* Ajuste para centralização */
    color: #4ecca3; /* Cor do ícone */
    cursor: pointer;
}

#installPrompt {
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #232931; /* Mesma cor de fundo do container */
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5); /* Sombra semelhante ao formulário */
    border-radius: 15px; /* Bordas arredondadas iguais ao container */
    padding: 20px; /* Espaçamento interno consistente */
    display: none;
    z-index: 1000;
    text-align: center;
    color: #ffffff; /* Cor do texto */
}

#installPrompt h3 {
    margin: 0 0 15px; /* Espaçamento consistente entre o título e o conteúdo */
    font-size: 18px;
    color: #4ecca3; /* Cor do texto em destaque */
}

#installPrompt p {
    margin: 0 0 15px; /* Margem inferior */
    font-size: 14px;
    color: #e1e1e1; /* Texto menos destacado */
}

#installPrompt button {
    width: 100%;
    padding: 12px;
    background-color: #f96d00; /* Mesma cor do botão de submit */
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#installPrompt button:hover {
    background-color: #ff3f00; /* Hover consistente com o botão de submit */
    transform: translateY(-2px); /* Pequeno efeito de elevação */
}
