/* ==========================================================================
   LuckDesign Account Pages - 新版登录页面样式
   基于 LoginPreviewD 设计
   ========================================================================== */

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 确保 main-content 容器不影响账户页面布局 */
.main-content {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* ==========================================================================
   登录容器布局
   ========================================================================== */

.login-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ==========================================================================
   左侧产品展示区
   ========================================================================== */

.product-section {
    flex: 0 0 50%;
    background: #1f2937;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    overflow: hidden;
}

/* 金色光晕背景动画 */
.product-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.product-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: pulse-glow 4s ease-in-out infinite;
}

.product-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: pulse-glow 4s ease-in-out infinite 2s;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.product-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
}

/* Logo 四叶草 */
.product-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    position: relative;
    animation: float-logo 3s ease-in-out infinite;
}

@keyframes float-logo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.clover {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

.clover:nth-child(1) { top: 0; left: 30px; }
.clover:nth-child(2) { top: 30px; left: 0; }
.clover:nth-child(3) { top: 30px; left: 60px; }
.clover:nth-child(4) { top: 60px; left: 30px; }

.clover-center {
    position: absolute;
    top: 35px;
    left: 35px;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 品牌标题 - 金白配色 */
.product-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: white;
}

.product-title .luck {
    color: #fbbf24;
}

.product-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.95;
}

/* 产品截图展示 - 3D效果 */
.product-showcase {
    width: 100%;
    max-width: 580px;
    margin: 0 auto 1.5rem;
    position: relative;
}

/* 品牌使命卡片 */
.brand-mission {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.75rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto 1.5rem;
    max-width: 580px;
}

.mission-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mission-text {
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 0 !important;
}

.screenshot-container {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s;
}

.screenshot-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.screenshot-window {
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.screenshot-header {
    background: #e5e7eb;
    padding: 0.5rem;
    display: flex;
    gap: 0.4rem;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9ca3af;
}

.screenshot-body {
    padding: 2.5rem;
    text-align: center;
    background: white;
}

.demo-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.demo-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* 产品预览中的条形码图标 */
.demo-barcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.demo-barcode-lines {
    display: flex;
    gap: 2px;
    height: 20px;
}

.demo-barcode-line {
    background: white;
    height: 100%;
    border-radius: 0.5px;
}

.demo-barcode-line:nth-child(1) { width: 3px; }
.demo-barcode-line:nth-child(2) { width: 1.5px; }
.demo-barcode-line:nth-child(3) { width: 4px; }
.demo-barcode-line:nth-child(4) { width: 2px; }
.demo-barcode-line:nth-child(5) { width: 1.5px; }
.demo-barcode-line:nth-child(6) { width: 3px; }
.demo-barcode-line:nth-child(7) { width: 2px; }
.demo-barcode-line:nth-child(8) { width: 1.5px; }
.demo-barcode-line:nth-child(9) { width: 3px; }

.demo-barcode-text {
    font-size: 0.5rem;
    color: white;
    letter-spacing: 1px;
    font-weight: 600;
}

/* 功能列表 */
.feature-list {
    list-style: none;
    margin-top: 2rem;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* 条形码图标 - 自定义样式 */
.barcode-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    position: relative;
    padding: 8px;
}

.barcode-lines {
    display: flex;
    gap: 2px;
    height: 100%;
    align-items: center;
}

.barcode-line {
    background: white;
    height: 100%;
    border-radius: 1px;
}

.barcode-line:nth-child(1) { width: 2px; opacity: 0.9; }
.barcode-line:nth-child(2) { width: 1px; opacity: 0.7; }
.barcode-line:nth-child(3) { width: 3px; opacity: 0.9; }
.barcode-line:nth-child(4) { width: 1px; opacity: 0.7; }
.barcode-line:nth-child(5) { width: 2px; opacity: 0.9; }
.barcode-line:nth-child(6) { width: 1px; opacity: 0.7; }
.barcode-line:nth-child(7) { width: 2px; opacity: 0.9; }

.feature-text {
    flex: 1;
    color: white;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.feature-desc {
    font-size: 0.875rem;
    opacity: 0.75;
}

/* 特性标签 */
.feature-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   右侧登录表单区
   ========================================================================== */

.form-section {
    flex: 0 0 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* 浮起的白色卡片 */
.form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    width: 100%;
    max-width: 440px;
    transition: all 0.3s;
}

.form-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-greeting {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #6b7280;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.95rem;
}

.label-icon {
    color: #b91c1c;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.1rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f9fafb;
}

.form-input:focus {
    outline: none;
    border-color: #b91c1c;
    background: white;
    box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.1);
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.1rem;
}

.password-toggle:hover {
    color: #6b7280;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    cursor: pointer;
}

.forgot-link {
    color: #b91c1c !important;
    text-decoration: none !important;
    font-weight: 500;
}

.forgot-link:hover {
    color: #b91c1c !important;
    text-decoration: underline !important;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-button:hover::before {
    width: 300px;
    height: 300px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(185, 28, 28, 0.4);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.button-spinner {
    display: none;
}

.button-spinner.show {
    display: inline-block;
}

.divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: #9ca3af;
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.divider::before {
    margin-right: 1rem;
}

.divider::after {
    margin-left: 1rem;
}

.register-box {
    text-align: center;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.register-text {
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.register-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #b91c1c !important;
    text-decoration: none !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.register-button:hover {
    background: rgba(185, 28, 28, 0.1) !important;
    color: #b91c1c !important;
    text-decoration: none !important;
}

/* ==========================================================================
   错误提示样式
   ========================================================================== */

.alert {
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 1.25rem;
}

.text-danger {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* ==========================================================================
   响应式设计
   ========================================================================== */

@media (max-width: 992px) {
    /* 移动端重置 main-content 高度，允许内容自适应 */
    .main-content {
        height: auto !important;
        min-height: 100vh;
    }

    .login-container {
        flex-direction: column;
        height: auto;
    }

    .product-section {
        flex: 0 0 auto;
        min-height: auto;
        max-height: none;
        padding: 2rem 1.5rem;
        overflow-y: visible;
    }

    .product-logo {
        width: 70px;
        height: 70px;
    margin-bottom: 1.5rem;
}

    .clover {
        width: 28px;
        height: 28px;
    }

    .clover:nth-child(1) { top: 0; left: 21px; }
    .clover:nth-child(2) { top: 21px; left: 0; }
    .clover:nth-child(3) { top: 21px; left: 42px; }
    .clover:nth-child(4) { top: 42px; left: 21px; }

    .clover-center {
        top: 24.5px;
        left: 24.5px;
        width: 21px;
        height: 21px;
        font-size: 0.75rem;
    }

    .product-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .product-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .product-showcase {
        max-width: 350px;
        margin-bottom: 1rem;
    }

    .screenshot-body {
        padding: 1.5rem;
    }

    .demo-preview {
        gap: 0.5rem;
    }

    .brand-mission {
        max-width: 350px;
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .mission-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    }

    .mission-text {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .feature-list {
        display: none;
    }

    .form-section {
        flex: 1;
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .form-card {
        padding: 2rem 1.5rem;
    }

    .form-greeting {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .form-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .submit-button {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   注册页面新样式 - 森林绿色主题
   ========================================================================== */

/* 注册容器布局 */
.register-container-new {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* 左侧功能展示区 - 森林绿色渐变 */
.register-features-section {
    flex: 0 0 50%;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    overflow: hidden;
}

/* 网格背景 */
.register-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.register-features-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 550px;
}

/* Logo */
.register-brand-logo {
    margin-bottom: 2rem;
}

.register-logo-text {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    display: block;
    word-wrap: break-word;
}

.register-logo-text .luck {
    color: #11998e;
    text-shadow: 0 4px 20px rgba(17, 153, 142, 0.5);
}

.register-brand-tagline {
    font-size: 1.5rem;
    color: white;
    opacity: 0.95;
    margin-bottom: 3rem;
}

/* 功能卡片列表 - 每行一个 */
.register-feature-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.register-feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    transition: all 0.3s;
    cursor: pointer;
}

.register-feature-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.register-feature-icon {
    font-size: 3rem;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

/* Register页面条形码图标 - 自定义样式 */
.register-barcode-icon {
    position: relative;
    padding: 15px;
}

.register-barcode-lines {
    display: flex;
    gap: 3px;
    height: 100%;
    align-items: center;
}

.register-barcode-line {
    background: white;
    height: 100%;
    border-radius: 1px;
}

.register-barcode-line:nth-child(1) { width: 3px; opacity: 0.9; }
.register-barcode-line:nth-child(2) { width: 2px; opacity: 0.7; }
.register-barcode-line:nth-child(3) { width: 4px; opacity: 0.9; }
.register-barcode-line:nth-child(4) { width: 2px; opacity: 0.7; }
.register-barcode-line:nth-child(5) { width: 3px; opacity: 0.9; }
.register-barcode-line:nth-child(6) { width: 2px; opacity: 0.7; }
.register-barcode-line:nth-child(7) { width: 3px; opacity: 0.9; }

.register-feature-text {
    flex: 1;
}

.register-feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.register-feature-desc {
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
}

/* 统计数字 */
.register-stats-banner {
    background: rgba(255, 255, 255, 0.2);
        padding: 1rem 2rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.register-stats-text {
        font-size: 1.1rem;
    color: white;
    font-weight: 600;
}

.register-stats-number {
    color: #11998e;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(17, 153, 142, 0.5);
}

/* 右侧表单区 */
.register-form-section {
    flex: 0 0 50%;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.register-form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.register-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.register-form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.register-form-group {
    margin-bottom: 1.25rem;
}

.register-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
        font-size: 0.9rem;
    }
    
.register-form-label i {
    color: #38ef7d;
}

.register-optional-badge {
    background: rgba(56, 239, 125, 0.2);
    color: #38ef7d;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.register-input-wrapper {
    position: relative;
}

.register-form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
        font-size: 1rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.register-form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.register-form-input:focus {
    outline: none;
    border-color: #11998e;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(17, 153, 142, 0.2);
}

.register-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.1rem;
}

.register-password-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* 复选框样式 */
.register-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.register-checkbox-group.is-invalid {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.register-checkbox-input {
    margin-top: 0.25rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #11998e;
}

.register-checkbox-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.5;
}

.register-checkbox-label a {
    color: #38ef7d;
    text-decoration: none;
}

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

/* 提交按钮 */
.register-submit-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.4);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.register-submit-button:hover::before {
    left: 100%;
}

.register-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.5);
}

.register-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.register-button-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.register-button-spinner {
    display: none;
}

.register-button-spinner.show {
    display: inline-block;
}

/* 登录链接 */
.register-login-link {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.register-login-link a {
    color: #38ef7d;
    text-decoration: none;
    font-weight: 600;
}

.register-login-link a:hover {
    text-decoration: underline;
}

/* 验证错误样式 */
.register-form-card .text-danger {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* HTML5 表单验证样式 */
.register-form-input:invalid {
    border-color: rgba(255, 255, 255, 0.1);
}

.register-form-input.is-invalid,
.needs-validation.was-validated .register-form-input:invalid {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.needs-validation.was-validated .register-form-input:valid {
    border-color: #38ef7d;
}

.register-checkbox-input.is-invalid,
.needs-validation.was-validated .register-checkbox-input:invalid {
    border-color: #ff6b6b;
}

/* 验证提示文字 */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #ff6b6b;
}

.was-validated .register-form-input:invalid ~ .invalid-feedback,
.was-validated .register-checkbox-input:invalid ~ .invalid-feedback {
    display: block;
}

/* 响应式设计 - 注册页面 */
@media (max-width: 992px) {
    /* 移动端重置 main-content 高度，允许内容自适应 */
    .main-content {
        height: auto !important;
        min-height: 100vh;
    }

    .register-container-new {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .register-features-section {
        flex: 0 0 auto;
        min-height: auto;
        max-height: none;
        padding: 2rem 1.5rem;
        overflow-y: visible;
    }

    .register-brand-logo {
        width: 100%;
        max-width: 350px;
        margin: 0 auto 1.5rem;
        text-align: center;
    }

    .register-logo-text {
        font-size: 2rem;
        font-weight: 900;
        color: white !important;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        margin-bottom: 0.75rem;
        line-height: 1.3;
        display: block;
        word-wrap: break-word;
    }

    .register-logo-text .luck {
        color: #11998e !important;
        text-shadow: 0 4px 12px rgba(17, 153, 142, 0.6);
    }

    .register-brand-tagline {
        font-size: 0.9rem;
        color: white !important;
        opacity: 1;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
        display: block;
    }

    .register-feature-cards {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .register-feature-card {
        padding: 1rem 1.25rem;
    }

    .register-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        margin-right: 1rem;
    }

    .register-feature-title {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }

    .register-feature-desc {
        font-size: 0.8rem;
    }

    .register-stats-banner {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .register-stats-text {
        font-size: 0.85rem;
    }
    
    .register-stats-number {
        font-size: 1.5rem;
    }

    .register-form-section {
        flex: 1;
        padding: 2rem 1.5rem;
        min-height: auto;
        overflow-y: visible;
    }

    .register-form-card {
        padding: 2rem 1.5rem;
        max-height: none;
    }

    .register-form-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .register-form-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .register-form-group {
    margin-bottom: 1rem;
}

    .register-submit-button {
        padding: 0.875rem;
        font-size: 1rem;
    }

    .register-login-link {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   忘记密码页面样式 - 客服助手式设计
   ========================================================================== */

/* 忘记密码容器布局 */
.forgot-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* 左侧客服助手区 */
.forgot-support-section {
    flex: 0 0 50%;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    overflow: hidden;
}

/* 温暖背景点缀 */
.forgot-support-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float-decoration 6s ease-in-out infinite;
}

@keyframes float-decoration {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.forgot-support-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 500px;
}

/* 卡通客服形象 */
.forgot-assistant-avatar {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: bounce-avatar 2s ease-in-out infinite;
}

@keyframes bounce-avatar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 对话气泡 */
.forgot-chat-bubble {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    position: relative;
}

.forgot-chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 0;
    border-color: white transparent transparent transparent;
}

.forgot-chat-text {
    font-size: 1.3rem;
    color: #1f2937;
    font-weight: 600;
    margin: 0;
}

/* 帮助选项卡片 */
.forgot-help-options {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.forgot-help-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    text-align: left;
}

.forgot-help-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background: #fffbeb;
}

.forgot-help-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.forgot-help-text {
    flex: 1;
}

.forgot-help-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.forgot-help-desc {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

/* 客服时间 */
.forgot-service-time {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.forgot-service-time-text {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.forgot-service-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: blink-status 2s ease-in-out infinite;
}

@keyframes blink-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* 右侧表单区 */
.forgot-form-section {
    flex: 0 0 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.forgot-form-card {
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    width: 100%;
    max-width: 440px;
    border: 2px solid #fef3c7;
}

.forgot-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.forgot-form-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.forgot-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.forgot-form-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

.forgot-form-group {
    margin-bottom: 1.25rem;
}

.forgot-form-label {
    display: block;
    color: #374151;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.forgot-form-hint {
    font-size: 0.85rem;
    color: #10b981;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forgot-form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #fef3c7;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fffbeb;
}

.forgot-form-input:focus {
    outline: none;
    border-color: #f59e0b;
    background: white;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

/* 验证码输入区域 */
.forgot-captcha-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.forgot-captcha-refresh {
    padding: 0.875rem 1rem;
    border: 2px solid #fef3c7;
    border-radius: 12px;
    background: #fffbeb;
    color: #f59e0b;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.forgot-captcha-refresh:hover {
    background: white;
    border-color: #f59e0b;
    transform: rotate(180deg);
}

.forgot-captcha-container {
    margin-top: 0.5rem;
}

.forgot-captcha-image {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.forgot-submit-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    position: relative;
}

.forgot-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.forgot-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.forgot-button-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.forgot-back-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.forgot-back-link a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
}

.forgot-back-link a:hover {
    text-decoration: underline;
}

/* 响应式设计 - 忘记密码页面 */
@media (max-width: 992px) {
    .forgot-container {
        flex-direction: column;
        height: auto;
    }

    .forgot-support-section,
    .forgot-form-section {
        flex: 0 0 auto;
        padding: 2rem 1.5rem;
        min-height: auto;
        overflow-y: visible;
    }

    .forgot-assistant-avatar {
        width: 150px;
        height: 150px;
        font-size: 5rem;
        margin-bottom: 1.5rem;
    }

    .forgot-chat-text {
        font-size: 1.1rem;
    }

    .forgot-chat-bubble {
        padding: 1.25rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .forgot-help-options {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .forgot-help-card {
        padding: 1.25rem;
    }

    .forgot-help-icon {
        font-size: 1.75rem;
    }

    .forgot-help-title {
        font-size: 0.95rem;
    }

    .forgot-help-desc {
        font-size: 0.8rem;
    }

    .forgot-service-time {
        padding: 0.875rem 1.25rem;
    }

    .forgot-service-time-text {
        font-size: 0.85rem;
    }

    .forgot-form-card {
        padding: 2rem 1.5rem;
    }

    .forgot-form-title {
        font-size: 1.5rem;
    }

    .forgot-form-subtitle {
        font-size: 0.9rem;
    }

    .forgot-captcha-refresh {
        padding: 0.75rem;
    font-size: 1rem;
    }

    .forgot-submit-button {
        padding: 0.875rem;
        font-size: 1rem;
    }
}

/* ========================================
   ForgotPasswordConfirmation 页面样式
   ======================================== */

/* 覆盖 site.css 中的全局样式 */
.forgot-confirmation-page * {
    box-sizing: border-box;
}

.forgot-confirmation-page {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%) !important;
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    margin: 0;
    width: 100%;
}

/* 确认卡片 */
.confirmation-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 100%;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 品牌标识 */
.confirmation-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.brand-logo-icon {
    font-size: 2.5rem;
    line-height: 1;
    animation: rotate360 3s ease-in-out infinite;
}

@keyframes rotate360 {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1;
}

/* 成功状态 */
.confirmation-status {
    text-align: center;
    margin-bottom: 2rem;
}

.status-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.status-icon {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.status-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
    border-radius: 50%;
    opacity: 0.2;
    animation: ripple 2s ease-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.status-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.status-message {
    font-size: 1rem;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* 安全提示卡片 */
.security-tips-card {
    background: linear-gradient(135deg, #edf7f6 0%, #e6f7ff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 2px solid #bee3f8;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c5282;
    margin-bottom: 1rem;
}

.tips-header i {
    font-size: 1.5rem;
    color: #3182ce;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tips-list li i {
    color: #38b2ac;
    font-size: 1rem;
    flex-shrink: 0;
    line-height: 1;
}

/* 时间线说明 */
.info-timeline {
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #a8c0ff;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
    color: white;
    transform: scale(1.1);
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-content p {
    margin: 0;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 操作按钮 */
.confirmation-actions {
    margin-bottom: 2rem;
}

.btn-confirmation-primary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem !important;
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
    position: relative;
    overflow: hidden;
}

/* 覆盖 site.css 的 btn::before 样式 */
.btn-confirmation-primary::before {
    display: none !important;
}

.btn-confirmation-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4) !important;
    color: white !important;
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%) !important;
}

.btn-confirmation-primary i {
    font-size: 1.25rem;
}

.action-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.action-divider::before,
.action-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
}

.action-divider::before {
    left: 0;
}

.action-divider::after {
    right: 0;
}

.action-divider span {
    background: white;
    padding: 0 1rem;
    color: #a0aec0;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-confirmation-secondary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 2rem !important;
    background: white !important;
    color: #a8c0ff !important;
    border: 2px solid #a8c0ff !important;
    border-radius: 12px !important;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 覆盖 site.css 的 btn::before 样式 */
.btn-confirmation-secondary::before {
    display: none !important;
}

.btn-confirmation-secondary:hover {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(168, 192, 255, 0.3) !important;
    border-color: #a8c0ff !important;
}

.btn-confirmation-secondary i {
    font-size: 1.125rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-confirmation-secondary:hover i {
    animation: spin 0.5s linear infinite;
}

/* 底部帮助 */
.confirmation-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #718096;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.confirmation-footer i {
    color: #a0aec0;
    font-size: 1rem;
}

.confirmation-footer a {
    color: #a8c0ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.confirmation-footer a:hover {
    color: #3f2b96;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .confirmation-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .brand-logo-icon {
        font-size: 2.5rem;
    }

    .brand-title {
        font-size: 1.25rem;
    }

    .status-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .status-icon-bg {
        width: 100px;
        height: 100px;
    }

    .status-title {
        font-size: 1.5rem;
    }

    .status-message {
        font-size: 0.95rem;
    }

    .security-tips-card {
        padding: 1.25rem;
    }

    .tips-header {
        font-size: 1rem;
    }

    .tips-list li {
        font-size: 0.875rem;
    }

    .timeline-icon {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }

    .timeline-content p {
        font-size: 0.875rem;
    }

    .btn-confirmation-primary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .btn-confirmation-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .confirmation-footer {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .forgot-confirmation-page {
        padding: 1rem 0.5rem;
    }

    .confirmation-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .brand-logo-icon {
        font-size: 2rem;
    }

    .brand-title {
        font-size: 1.125rem;
    }

    .status-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .status-icon-bg {
        width: 90px;
        height: 90px;
    }

    .status-title {
        font-size: 1.25rem;
    }

    .info-timeline {
        padding: 0;
    }

    .action-divider::before,
    .action-divider::after {
        width: 35%;
    }
}

/* ========================================
   ResetPassword 页面样式
   ======================================== */

/* 覆盖 site.css 中的全局样式 */
.reset-password-page * {
    box-sizing: border-box;
}

.reset-password-page {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%) !important;
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    margin: 0;
    width: 100%;
}

/* 重置卡片 */
.reset-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 100%;
    animation: slideUp 0.6s ease-out;
}

/* 品牌标识 */
.reset-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

/* 状态图标 */
.reset-status {
    text-align: center;
    margin-bottom: 2rem;
}

.reset-icon-style {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%);
}

.reset-icon-bg {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%);
}

/* 表单样式 */
.reset-form {
    margin-bottom: 2rem;
}

.reset-form-group {
    margin-bottom: 1.5rem;
}

.reset-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.reset-form-label i {
    color: #FF6B6B;
    font-size: 1.125rem;
}

.reset-form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #2d3748;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.reset-form-input:focus {
    outline: none;
    border-color: #FF6B6B;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.reset-form-input:disabled {
    background: #edf2f7;
    color: #718096;
    cursor: not-allowed;
}

.reset-form-hint {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #718096;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.reset-form-hint i {
    font-size: 0.875rem;
}

/* 密码输入组 */
.reset-password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.reset-password-input {
    padding-right: 3rem;
}

.reset-password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3rem;
    background: transparent;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.reset-password-toggle:hover {
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.05);
}

.reset-password-toggle:focus {
    outline: none;
}

/* 安全提示 */
.reset-security-alert {
    display: flex;
    gap: 1rem;
    background: linear-gradient(135deg, #fff3cd 0%, #fff5d7 100%);
    border: 2px solid #ffc107;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.reset-security-alert .alert-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b00;
    font-size: 1.5rem;
}

.reset-security-alert .alert-content {
    flex: 1;
}

.reset-security-alert .alert-title {
    font-size: 1rem;
    font-weight: 600;
    color: #9c6500;
    margin: 0 0 0.5rem 0;
}

.reset-security-alert .alert-message {
    font-size: 0.875rem;
    color: #9c6500;
    margin: 0;
    line-height: 1.5;
}

/* 操作按钮 */
.reset-actions {
    margin-bottom: 2rem;
}

.btn-reset-primary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem !important;
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* 覆盖 site.css 的 btn::before 样式 */
.btn-reset-primary::before {
    display: none !important;
}

.btn-reset-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4) !important;
    color: white !important;
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%) !important;
}

.btn-reset-primary i {
    font-size: 1.25rem;
}

/* 返回链接 */
.reset-footer-link {
    text-align: center;
    margin-bottom: 2rem;
}

.reset-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FF6B6B;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.reset-back-link:hover {
    color: #FFE66D;
    transform: translateX(-3px);
}

.reset-back-link i {
    font-size: 1.125rem;
}

/* 底部帮助 */
.reset-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    color: #718096;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.reset-footer i {
    color: #a0aec0;
    font-size: 1rem;
}

.reset-footer a {
    color: #FF6B6B;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reset-footer a:hover {
    color: #FFE66D;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .reset-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .status-title {
        font-size: 1.5rem;
    }

    .status-message {
        font-size: 0.95rem;
    }

    .reset-form-label {
        font-size: 0.875rem;
    }

    .reset-form-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.95rem;
    }

    .reset-security-alert {
        padding: 1rem;
        gap: 0.75rem;
    }

    .reset-security-alert .alert-icon {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .reset-security-alert .alert-title {
        font-size: 0.95rem;
    }

    .reset-security-alert .alert-message {
        font-size: 0.8125rem;
    }

    .btn-reset-primary {
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem;
    }

    .reset-back-link {
        font-size: 0.95rem;
    }

    .reset-footer {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .reset-password-page {
        padding: 1rem 0.5rem;
    }

    .reset-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .status-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .status-icon-bg {
        width: 90px;
        height: 90px;
    }

    .status-title {
        font-size: 1.25rem;
    }

    .reset-form-input {
        font-size: 0.875rem;
    }
}

/* 邮箱验证页面 - 返回登录按钮纯色 */
.action-buttons .btn-primary {
    background: #b91c1c;
    border: none;
}

.action-buttons .btn-primary:hover {
    background: #b91c1c;
}
