.elementor-1200 .elementor-element.elementor-element-055d1db{--display:flex;}.elementor-1200 .elementor-element.elementor-element-8e73d3e{--spacer-size:100px;}.elementor-1200 .elementor-element.elementor-element-2c5b009{--spacer-size:137px;}:root{--page-title-display:none;}/* Start custom CSS *//* --- 登录容器样式 --- */
.login-container {
    max-width: 400px;
    margin: 2rem auto; /* 使用 auto 居中，但请记住Elementor的容器布局可能优先 */
    padding: 2rem;
    background: white;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.login-title {
    font-family: 'raleway', serif; /* 确保此字体已通过Elementor全局加载 */
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 300
}

.form-group {
    margin-bottom: 1.5rem;
}

.login-container label { /* 明确指定作用域防止冲突 */
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #374151;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.login-container input[type='text'], /* 明确指定作用域防止冲突 */
.login-container input[type='email'],
.login-container input[type='password'] {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem; /* 为图标留出左侧空间 */
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s; /* 保持其他过渡 */
}

.login-container input[type='text']:focus,
.login-container input[type='email']:focus,
.login-container input[type='password']:focus {
    border-color: #d4a88c;
    box-shadow: 0 0 0 1px #d4a88c;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-container input[type='checkbox'] { /* 明确指定作用域防止冲突 */
    width: 1rem;
    height: 1rem;
    accent-color: #d4a88c;
}

.forgot-password {
    color: #d4a88c;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.forgot-password:hover {
    color: #c08e6d;
}

/* --- 登录按钮核心修改 --- */
.login-button {
    width: 100%;
    background: #1a1a1a; /* 默认黑色 */
    color: white;
    padding: 0.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    /* 关键修改：添加背景色和颜色的过渡效果 */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.login-button:hover:not(:disabled) {
    background: #333333; /* 鼠标悬停时的背景色 */
}

.login-button:disabled {
    cursor: not-allowed;
    opacity: 0.7; /* 禁用时的不透明度 */
}

/* --- 其他部分保持不变 --- */
.divider {
    margin: 2rem 0;
    position: relative;
    text-align: center;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
    z-index: 0; /* 确保线在文字下方 */
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #6b7280;
    position: relative;
    font-size: 0.875rem;
    z-index: 1; /* 确保文字在在线上方 */
}

.create-account {
    text-align: center;
}

.create-account p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* --- CREATE AN ACCOUNT 按钮样式修改 --- */
/* 移除 .login-container 前缀，因为它可能导致 Elementor 的容器层级问题 */
/* 同时确保样式直接作用于 .create-account-button 类 */
/* --- CREATE AN ACCOUNT 按钮样式修改：精确匹配 data 属性 --- */
.login-container .create-account-button[data-open-popup="true"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid #1a1a1a;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white; /* 默认文字颜色 */
    background-color: #1a1a1a; /* 默认背景色 */
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
}

.login-container .create-account-button[data-open-popup="true"]:hover {
    background: white;
    color: #1a1a1a;
    border-color: #1a1a1a;
}
.login-button.error-state {
    background-color: #b91c1c !important; /* 红色错误背景 */
    color: white !important;
}

.loading-spinner {
    display: inline-block;
    margin-left: 8px;
    width: 16px;
    height: 16px;
    border: 2px solid #e3f2fd;
    border-top: 2px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}/* End custom CSS */