/**
 * LeagueTech Login Page Styles
 * Standalone styles for the login page
 * Uses shared.css for common components (header, navigation, etc.)
 */

/* ===== LOGIN PAGE LAYOUT ===== */

/* Body and main layout */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header override for login - remove fixed positioning */
.header {
    position: relative;
}

/* Main content layout for login */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f8f9fa;
    margin-top: 0;
}

/* ===== LOGIN CONTAINER ===== */

.login-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    padding: 48px;
    width: 100%;
    max-width: 440px;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #666;
    font-size: 16px;
}

/* ===== FORM STYLES ===== */

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.1);
}

/* ===== BUTTON STYLES ===== */

.btn {
    width: 100%;
    padding: 14px 24px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== MESSAGE STYLES ===== */

.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #059669;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* ===== LINKS SECTION ===== */

.links {
    text-align: center;
    margin-top: 20px;
}

.links a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.links a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE STYLES ===== */

@media (max-width: 768px) {
    .main-content {
        padding: 20px 16px;
    }
    
    .login-container {
        padding: 32px 24px;
        max-width: 100%;
    }
    
    .login-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 24px 20px;
    }
    
    .login-title {
        font-size: 24px;
    }
    
    .form-group input,
    .btn {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}