*{
margin:0;
padding:0;
box-sizing:border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #e8f5e9;
    background-image: url(./img/mascote.png);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 500px;
}

h1 {
    color: #2e7d32;
    text-align: center;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-weight: bold;
    color: #444;
    margin-top: 10px;
}

input,
select {
    padding: 10px;
    border: 2px solid #eee;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: #4caf50;
}

button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    margin-top: 20px;
    font-size: 16px;
}

button:hover {
    background-color: #388e3c;
}

.btn-limpar {
    background-color: #757575;
    margin-top: 15px;
}

.btn-limpar:hover {
    background-color: #616161;
}

/* Utilitários */
.hidden {
    display: none;
}

#resultado {
    margin-top: 25px;
    padding: 15px;
    background: #f1f8e9;
    border-radius: 12px;
    border-left: 5px solid #4caf50;
}

/* Animações */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4caf50;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}