/* Resetando a margem e o padding de todos os elementos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #016a06;   /* Verde mais suave e moderno */
    --accent-color: #2ca032;    /* Verde claro para destaques */
    --secondary-color: #ffffff;
    --font-family: 'Roboto', sans-serif;
}

body {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-family);
    background: linear-gradient(45deg, #2e7d32, #388e3c, #4caf50);
    background-size: 400% 400%;
    animation: gradientAnimation 20s ease infinite;
    overflow: hidden;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Container principal com sutil efeito de glassmorphism */
.container {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

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

/* Logo com animação sutil */
.logo img {
    width: 100px;
    margin-bottom: 20px;
    animation: rotateIn 1s ease-out;
}

@keyframes rotateIn {
    from { transform: rotate(0deg) scale(0.5); opacity: 0; }
    to { transform: rotate(360deg) scale(1); opacity: 1; }
}

h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Grupo de input */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--primary-color);
    cursor: pointer;
}

.input-group input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    background-color: transparent;
    color: #333;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    cursor: text;
}

.input-group input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(129, 199, 132, 0.6);
}

/* Botão de login */
button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

button:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

.signup-link {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

.signup-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.signup-link a:hover {
    color: var(--accent-color);
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    .logo img {
        width: 60px;
    }

    h2 {
        font-size: 22px;
    }

    .input-group input {
        padding: 10px 10px 10px 35px;
    }

    button {
        font-size: 16px;
    }
}
    