/* ============================================
   APPALTUM ONE - LOGIN STYLES
   Apple-like Design System
   ============================================ */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: linear-gradient(135deg, #50a8d1 0%, #1660ab 50%, #26336c 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px 40px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.logo-container {
    text-align: center;
    margin-bottom: 24px;
    padding: 15px 0 5px;
}

.logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.text-logo {
    font-size: 60px;
    font-weight: 700;
    letter-spacing: -2px;
}

.blue-1 {
    color: #1660ab;
}

.blue-2 {
    color: #50a8d1;
}

.login-form h2 {
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.3px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f5f5f7;
    border-radius: 12px;
    color: #1d1d1f;
    font-size: 16px;
    transition: all 0.2s ease;
}

.input-group input:focus {
    background: #ffffff;
    outline: none;
    border-color: #1660ab;
    box-shadow: 0 0 0 4px rgba(22, 96, 171, 0.15);
}

.input-group input::placeholder {
    color: #86868b;
}

.forgot-password {
    text-align: right;
    margin-bottom: 24px;
}

.forgot-password a {
    color: #1660ab;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-password a:hover {
    color: #50a8d1;
}

.login-button {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #50a8d1 0%, #1660ab 50%, #26336c 100%);
    color: white;
    border: none;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: -0.2px;
}

.login-button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(22, 96, 171, 0.35);
}

.login-button:active {
    transform: scale(0.98);
}

/* Mensagem de erro */
.error-message {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    border: 1px solid rgba(255, 59, 48, 0.2);
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 480px) {
    .login-container {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    .login-form h2 {
        font-size: 24px;
    }
}
