.login-form .form-group {
    position: relative;
}

.login-form .form-control {
    padding-left: 45px;
}

.login-form .form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    transition: color 0.3s ease;
    pointer-events: none;
}

.login-form .form-control:focus+.form-icon {
    color: #667eea;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    transform: scale(1.2);
}

.checkbox-group label {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-group a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.login-btn {
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

/* 消息提示框样式 */
.message-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.message-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.message-toast i {
    font-size: 20px;
}

.success-toast {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
}

.error-toast {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    color: white;
}

@media (max-width: 768px) {
    .message-toast {
        top: 60px;
        font-size: 14px;
        padding: 14px 24px;
        max-width: 90%;
    }
    
    .message-toast i {
        font-size: 18px;
    }
}