/* Login Page Styles */

.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.login-header .logo {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.login-header h1 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
}

.login-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

#login-form .form-group {
    margin-bottom: 24px;
}

#login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

#login-form input[type="text"],
#login-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

#login-form input[type="text"]:focus,
#login-form input[type="password"]:focus {
    outline: none;
    border-color: #1da1f2;
    box-shadow: 0 0 0 3px rgba(29, 161, 242, 0.1);
}

#login-form input[type="text"]::placeholder,
#login-form input[type="password"]::placeholder {
    color: #999;
}

.error-message {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.login-button {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: #1da1f2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.login-button:hover {
    background: #1a91da;
}

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

.login-button:disabled {
    background: #93c5e8;
    cursor: not-allowed;
    transform: none;
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.login-footer p {
    margin: 0;
    color: #888;
    font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 24px;
    }
    
    .login-header .logo {
        font-size: 40px;
    }
    
    .login-header h1 {
        font-size: 20px;
    }
}
