/* Bondi Bike Shop - Login Page Styles (Minified) */

/* Variáveis de cores e transição usadas */
:root {
    --primary-color: #007bff; /* Usado no foco do input */
    --transition: all 0.3s ease;
    --border-radius: 8px; /* Usado em .form-input, .form-select, .btn-login, .auth-form */
}

/* Base Styles */
body {
    background-color: #f5f5f5; /* Fundo do body na página de login */
    font-family: 'Inter', arial, sans-serif; /* Usado no font-family (assumindo Inter é a fonte primária se não houver Hellix) */
    font-weight: 500;
}

/* Authentication & Authorization Enhancements */
.auth-page {
    background: white; /* Cor de fundo específica na classe, mas o body já define #f5f5f5. Mantendo o estilo da classe para override. */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.auth-form {
    background: white;
    border-radius: 12px; /* Usando 12px em vez de var(--border-radius) */
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 1.5rem;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
}

.auth-logo {
    text-align: center;
    padding: 1.5rem;
    background: #000000;
    width: 100%;
    border-radius: 12px 12px 0 0;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
}

.logo-image {
    max-width: 300px;
    height: auto;
}

/* Formulário e Elementos */
.form-group {
    margin-bottom: 1.25rem;
    width: 100%;
    display: block;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.form-input, .form-select {
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px; /* Usando 8px */
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
    box-sizing: border-box;
    display: block;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.password-input-container {
    position: relative;
    width: 100%;
    display: block;
}

.password-input {
    width: 100%;
    padding-right: 50px;
    box-sizing: border-box;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    opacity: 0.7;
}

/* Botão de Login */
.btn.btn-login,
.btn-primary.btn-login {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    background-image: none !important;
}

.btn.btn-login:hover,
.btn-primary.btn-login:hover,
.btn.btn-login:focus,
.btn-primary.btn-login:focus,
.btn.btn-login:active,
.btn-primary.btn-login:active {
    background-color: #333333 !important;
    border-color: #333333 !important;
    color: #ffffff !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Alertas de Erro (Bootstrap Classes - Simuladas aqui) */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}