.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}
.login-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: fadeInUp 0.5s ease;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.login-header {
    text-align: center;
    margin-bottom: 30px;
}
.login-header img { margin-bottom:10px; }
.login-header h1 {
    color: #667eea;
    font-size: 1.2rem;
    line-height: 1rem;
    padding:10px 0;
    border-top:1px #CCCCCC dashed;
    border-bottom:1px #CCCCCC dashed;
}
.login-header p {
    color: #718096;
    font-size: 14px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}
.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}
.password-wrapper {
    position: relative;
}
.password-wrapper input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 45px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}
.password-wrapper input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #a0aec0;
    font-size: 18px;
    padding: 5px;
}
.password-toggle:hover {
    color: #4a5568;
}
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.form-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
}
.form-options a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}
.form-options a:hover {
    text-decoration: underline;
}
.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.forgot-link {
    text-align: center;
    margin-top: 15px;
}
.forgot-link a {
    color: #718096;
    text-decoration: none;
    font-size: 13px;
}
.forgot-link a:hover {
    color: #667eea;
}
.alert {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border-left: 4px solid #e53e3e;
}
.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid #48bb78;
}
.forgot-panel {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.forgot-panel.active {
    display: block;
}
.btn-forgot {
    background: #48bb78;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: background 0.3s;
}
.btn-forgot:hover {
    background: #38a169;
}
@media (max-width: 480px) {
    .login-container {
        padding: 25px 20px;
    }
    .form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
