/* 登录页样式 - 与注册页风格统一 */
.section-padding {
    padding: 100px 0;
}

.page-title {
    background: linear-gradient(rgba(26,26,26,0.8), rgba(26,26,26,0.8)), url('../../images/login/bg-title.jpg') center/cover no-repeat;
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
}
.page-title h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.page-title p {
    font-size: 18px;
    opacity: 0.9;
}

.login-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.login-form {
    padding: 60px 50px;
}
.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
}
.required {
    color: #D4B16A;
    margin-left: 3px;
}
.input-wrapper {
    position: relative;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.input-wrapper:focus-within {
    border-color: #D4B16A;
    box-shadow: 0 0 0 3px rgba(212, 177, 106, 0.1);
}
.input-wrapper i:first-child {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}
.input-wrapper input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
}
.input-wrapper input::placeholder {
    color: #999;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 16px;
}
.password-toggle:hover {
    color: #D4B16A;
}

.error-message {
    height: 20px;
    margin-top: 5px;
    font-size: 13px;
    color: #E63946;
    line-height: 20px;
}

.remember-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}
.remember-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}
.remember-label input {
    display: none;
}
.check-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #D4B16A;
    border-radius: 2px;
    margin-right: 8px;
    position: relative;
    flex-shrink: 0;
}
.remember-label input:checked + .check-icon::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border-right: 2px solid #D4B16A;
    border-bottom: 2px solid #D4B16A;
    transform: rotate(45deg);
}
.forgot-password {
    font-size: 14px;
    color: #D4B16A;
}
.forgot-password:hover {
    color: #C4A15A;
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #1A1A1A;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.submit-btn:hover {
    background-color: #D4B16A;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}
.register-link a {
    color: #D4B16A;
    font-weight: 500;
}
.register-link a:hover {
    color: #C4A15A;
}

@media (max-width: 768px) {
    .login-form {
        padding: 40px 30px;
    }
    .page-title h1 {
        font-size: 32px;
    }
    .form-title {
        font-size: 24px;
    }
}