body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    color: #333;
    flex-direction: column;
}

.login-wrapper {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 350px;
    width: 90%;
    margin-bottom: 20px;
}

.logo-container {
    margin-bottom: 5px;
}

.logo-container img {
    max-width: 80px;
    height: auto;
    margin-bottom: 5px;
}

.system-info h1 {
    color: #200a83; /* Um azul para o nome do sistema */
    margin: 0 0 5px;
    font-size: 1.8em;
}

.slogan {
    font-style: italic;
    color: #200a83;
    margin-bottom: 30px;
    font-size: 1.2em;
}

h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.6em;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #200a83;
}

.form-group input[type="email"],
.form-group input[type="password"] {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #200a83;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

button[type="submit"] {
    background-color: #200a83;
    color: white;
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.error-message {
    color: #e74c3c;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-info {
    margin-top: 20px;
    font-size: 0.9em;
    color: #200a83;
}

/* Cores inspiradas na logo.png - usando tons de verde/azul como base, pois não tenho a imagem */
/* Ajuste conforme as cores reais da sua logo.png */
:root {
    --primary-color: #4CAF50; /* Verde principal */
    --secondary-color: #66BB6A; /* Verde mais claro */
    --accent-color: #2196F3; /* Azul de destaque */
    --text-color: #333;
    --light-text-color: #555;
    --background-color: #f0f2f5;
    --card-background: #ffffff;
    --border-color: #ddd;
}

.link-matricula {
    margin-top: 15px;
    font-size: 0.95em;
}

.link-matricula a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.link-matricula a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 600px) {
    .login-wrapper {
        padding: 25px;
        margin: 20px; /* Adiciona um pouco de margem nas laterais em telas pequenas */
        width: auto; /* Permite que o width: 90% funcione melhor com a margem */
    }

    .logo-container img {
        max-width: 80px; /* Diminuído de 120px para 80px */
    }

    .system-info h1 {
        font-size: 1.5em;
    }

    .slogan {
        font-size: 1em;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.4em;
        margin-bottom: 20px;
    }

    .form-group input {
        padding: 10px;
        font-size: 0.95em;
    }

    button[type="submit"] {
        padding: 12px 20px;
        font-size: 1em;
    }

    .error-message, .footer-info, .link-matricula {
        font-size: 0.85em;
    }
}
