/* Arquivo: FitSystem/styles/base.css */

/* 1. Responsividade e Otimização */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.3s, color 0.3s; /* Otimização: Transição suave de tema */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Layout Responsivo */
.login-container {
    width: 90%;
    max-width: 400px;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2em;
}

.card {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 5px;
    font-weight: 300;
}

/* Formulário */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9em;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid;
    border-radius: 8px;
    transition: border-color 0.3s;
}

input[type="text"]:focus, input[type="password"]:focus {
    outline: none;
    border-width: 2px;
}

/* Botões */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.1s;
}

.btn-primary {
    width: 100%;
    font-size: 1.1em;
}

.btn-theme-toggle {
    padding: 8px 15px;
    background: transparent;
    border: 1px solid;
    font-size: 0.8em;
}

/* Mensagens */
.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.help-block {
    color: #cc0000;
    font-size: 0.8em;
    display: block;
    margin-top: 5px;
}