/* ============================================
   Login Page Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #157C81 0%, #0e5a5e 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
}

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

.login-box {
    background: white;
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.login-logo {
    width: 70px;
    height: auto;
    margin-bottom: 15px;
}

.login-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.login-header p {
    color: #888;
    font-size: 14px;
}

/* Error Message */
.login-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #dc2626;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-error .error-icon {
    font-size: 18px;
}

/* Form */
.login-form .form-group {
    margin-bottom: 18px;
}

.login-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    transition: border-color 0.3s, box-shadow 0.3s;
    color: #1a1a2e;
}

.login-form input[type="text"]:focus,
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: #157C81;
    box-shadow: 0 0 0 3px rgba(21, 124, 129, 0.15);
    background: white;
}

.login-form input::placeholder {
    color: #a0aec0;
}

/* Remember Me */
.remember-group {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
    font-weight: 400;
}

.remember-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #157C81;
    cursor: pointer;
}

.remember-label .checkmark {
    color: #157C81;
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: #157C81;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    background: #106a6d;
}

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

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.login-footer p {
    font-size: 13px;
    color: #888;
}

/* Responsive */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 22px;
    }
    
    .btn-login {
        font-size: 14px;
        padding: 12px;
    }
}