/*
Theme Name: ReelQuick
Theme URI: http://localhost/1/
Description: Short video platform WordPress theme
Version: 1.0.0
Author: CodeBuddy
Author URI: http://localhost/1/
Text Domain: reelquick
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: short-video, drama, entertainment, responsive
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

.container {
    max-width: 1600px; /* 增大容器宽度以容纳更大的播放器 */
    margin: 0 auto;
    padding: 0 20px;
}

/* 强制重置头部样式 - 确保正确显示 */
.site-header {
    background-color: #1e293b !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    padding: 15px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.site-logo {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #60a5fa !important;
    text-decoration: none !important;
}

.main-navigation {
    display: flex !important;
    list-style: none !important;
    gap: 25px !important;
}

.main-navigation a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: color 0.3s !important;
}

.main-navigation a:hover {
    color: #ff6b9d !important;
}

.auth-buttons {
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 4px 8px;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165 250, 0.2);
}

.search-input {
    background: none;
    border: none;
    color: #e2e8f0;
    padding: 6px 8px;
    font-size: 14px;
    width: 160px;
    outline: none;
}

.search-input::placeholder {
    color: #64748b;
}

.search-btn {
    background: none;
    border: none;
    color: #60a5fa;
    font-size: 16px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.search-btn:hover {
    color: #ff6b9d;
    background-color: rgba(96, 165, 250, 0.1);
}

.sign-in-btn {
    background: none;
    border: 1px solid #60a5fa;
    color: #60a5fa;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.sign-in-btn:hover {
    background-color: #ff6b9d;
    border-color: #ff6b9d;
    color: white;
}

/* 用户认证按钮组样式 */
.auth-button-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.login-btn {
    background: linear-gradient(45deg, #60a5fa, #8b5cf6);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 14px;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    /* 确保按钮高度自适应 */
    height: fit-content;
    min-height: 36px;
    box-sizing: border-box;
    white-space: nowrap;
}

.login-btn:hover {
    background: linear-gradient(45deg, #3b82f6, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
    color: white;
    text-decoration: none;
}

.register-btn {
    background: linear-gradient(45deg, #ff6b9d, #c084fc);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 14px;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    /* 确保按钮高度自适应 */
    height: fit-content;
    min-height: 36px;
    box-sizing: border-box;
    white-space: nowrap;
}

.register-btn:hover {
    background: linear-gradient(45deg, #ec4899, #a855f7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
    text-decoration: none;
    color: white;
}

/* 用户头像和下拉菜单样式 */
.user-profile-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.user-avatar-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid transparent;
}

.user-avatar-container:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: #60a5fa;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #60a5fa;
}

.user-name {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 14px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    color: #94a3b8;
    font-size: 12px;
    transition: transform 0.3s;
}

.user-profile-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* 添加旋转动画类 */
.dropdown-arrow.rotate {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
}

/* 当用户下拉菜单处于active状态时显示下拉菜单 */
.user-profile-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 兼容原有的show类 */
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 20px;
    border-bottom: 1px solid #334155;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-details strong {
    color: #e2e8f0;
    font-size: 16px;
}

.user-email {
    color: #94a3b8;
    font-size: 14px;
}

.vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.regular-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.dropdown-divider {
    margin: 0;
    border-color: #334155;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.dropdown-item:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

/* 移动端下拉菜单优化 */
@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 250px;
        right: -10px;
    }
    
    .user-info {
        padding: 15px;
    }
    
    .dropdown-item {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .user-details strong {
        font-size: 14px;
    }
    
    .user-email {
        font-size: 12px;
    }
    
    .vip-badge, .regular-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    /* 移动端用户头像容器优化 */
    .user-avatar-container {
        padding: 6px 10px !important;
        gap: 8px;
    }
    
    .user-avatar {
        width: 28px !important;
        height: 28px !important;
    }
    
    .user-name {
        font-size: 13px !important;
        max-width: 80px !important;
    }
    
    .dropdown-arrow {
        font-size: 10px;
    }
}

.main-content {
    padding: 20px 0 50px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f8fafc;
}

.section-title i {
    color: #ff6b9d;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.episode-card {
    background-color: #1e293b;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.episode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.episode-thumbnail {
    position: relative;
    background: linear-gradient(45deg, #1e293b, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    overflow: hidden;
    padding: 0; /* 移除内边距 */
}

.episode-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片完全填充容器 */
    transition: transform 0.3s ease;
}

/* 添加媒体查询确保在小屏幕上图片仍然完全显示 */

.episode-card:hover .episode-thumbnail-img {
    transform: scale(1.05);
}

.episode-thumbnail-placeholder {
    font-size: 16px;
    color: #94a3b8;
    text-align: center;
}
.episode-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
        }

.episode-tag.exclusive {
    background-color: #f59e0b;
}

/* Episode信息区域PC端样式 */
.episode-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.episode-title {
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 10px;
    line-height: 1.3;
}

.episode-views {
    font-size: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.episode-views i {
    color: #ff6b9d;
}

.episode-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* 移除重复的.episode-info样式 - 现在在theme-setup.php中统一管理 */

/* 悬停覆盖层 */
.episode-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.episode-card:hover .episode-hover-overlay {
    opacity: 1;
}

.watch-btn-hover {
    background: linear-gradient(45deg, #ef4444, #f59e0b);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.watch-btn-hover:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(239, 68, 68, 0.6);
}

.watch-btn-hover i {
    font-size: 20px;
}

.episode-actions {
    display:flex;
    gap: 15px;
    margin-top: auto;
}

.watch-btn {
    background-color: #60a5fa;
    color: #0f172a;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    transition: background-color 0.3s, color 0.3s;
}

.watch-btn:hover {
    background-color: #ff6b9d;
    color: white;
}

.site-footer {
    background-color: #1e293b;
    padding: 30px 0;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #94a3b8;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #94a3b8;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ff6b9d;
}

/* 分页样式 - 与主题色调匹配 */
.category-pagination {
    text-align: center;
    margin: 40px 0 30px;
}

.category-pagination a,
.category-pagination span {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-pagination a {
    background-color: #1e293b;
    color: #cbd5e1;
    border-color: #334155;
}

.category-pagination a:hover {
    background-color: #ff6b9d;
    color: white;
    border-color: #ff6b9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.category-pagination .current {
    background: linear-gradient(135deg, #60a5fa, #ff6b9d);
    color: white;
    border-color: #60a5fa;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.category-pagination .current:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

@media (max-width: 768px) {
    /* 移动端header布局 */
    .navbar {
        justify-content: space-between;
        padding: 10px 0;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* 搜索框移动端样式 */
    .search-container {
        display: none;
    }
    
    .search-btn-mobile {
        display: block;
        background: none;
        border: none;
        color: #cbd5e1;
        font-size: 20px;
        cursor: pointer;
        padding: 8px;
        margin: 0 10px;
    }
    
    /* 移动端文章网格布局 - 优化搜索结果页面 */
    .episodes-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .episode-thumbnail {
        height: 280px;
    }
    
    .episode-thumbnail-img {
        object-fit: cover;
    }
    
    /* 分类图标与文字同行 */
    .category-badge {
        display: inline-flex;
        align-items: center;
        margin: 0 8px 0 0;
        vertical-align: middle;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    /* 模块化间距 */
    .main-content > section {
        margin-bottom: 25px;
        padding: 15px;
        background: rgba(30, 41, 59, 0.5);
        border-radius: 8px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    /* 移动端搜索模态框 */
    .search-modal-mobile {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.95);
        display: none; /* 默认隐藏 */
        align-items: center;
        justify-content: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .search-modal-mobile.active {
        opacity: 1;
        visibility: visible;
        display: flex; /* 激活时显示 */
    }
    
    /* 只在移动端显示搜索模态框 */
    @media (max-width: 1023px) {
        .search-modal-mobile {
            display: flex; /* 移动端显示 */
        }
        
        .search-modal-mobile.active {
            opacity: 1;
            visibility: visible;
            display: flex;
        }
    }
    
    /* PC端隐藏移动端搜索模态框 */
    @media (min-width: 1024px) {
        .search-modal-mobile {
            display: none !important;
        }
        
        .search-modal-mobile.active {
            display: none !important;
        }
    }
    
    .search-form-mobile {
        width: 100%;
        max-width: 100%;
        background: #1e293b;
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .search-form-mobile .search-input {
        flex: 1;
        background: #0f172a;
        border: 2px solid #334155;
        border-radius: 25px;
        padding: 12px 20px;
        color: #e2e8f0;
        font-size: 16px;
    }
    
    .search-form-mobile .search-input:focus {
        outline: none;
        border-color: #3b82f6;
    }
    
    .search-form-mobile .search-btn {
        background: #3b82f6;
        border: none;
        border-radius: 25px;
        padding: 12px 20px;
        color: white;
        cursor: pointer;
        font-size: 16px;
        font-weight: 600;
    }
    
    .search-form-mobile .search-btn:hover {
        background: #2563eb;
    }
    
    .search-form-mobile .search-close {
        display: none; /* 隐藏关闭按钮 */
    }
    
    /* 移动端分页样式 */
    .category-pagination a,
    .category-pagination span {
        padding: 8px 12px;
        margin: 0 2px;
        font-size: 14px;
    }
    
    /* 移动端头部样式优化 */
    .site-logo {
        font-size: 24px !important;
        flex: 1;
    }
    
    .auth-buttons {
        display: flex !important;
        gap: 10px !important;
        align-items: center !important;
    }
    
    .auth-button-group {
        display: flex;
        gap: 8px;
    }
    
    .login-btn, .register-btn {
        padding: 6px 12px !important;
        font-size: 13px !important;
        min-height: 32px !important;
        /* 确保按钮高度自适应 */
        height: fit-content !important;
        white-space: nowrap;
        align-items: center;
        justify-content: center;
        /* 添加行高控制确保文字垂直居中 */
        line-height: 1.2;
        box-sizing: border-box;
    }
    
    .user-avatar-container {
        padding: 6px 10px !important;
    }
    
    .user-avatar {
        width: 28px !important;
        height: 28px !important;
    }
    
    .user-name {
        font-size: 13px !important;
        max-width: 80px !important;
    }
}

/* 在PC端隐藏移动菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    color: #ff6b9d;
    background-color: rgba(96, 165, 250, 0.1);
}

/* Category badges */
.category-badge {
    background: linear-gradient(135deg, #ff6b9d, #ff4d8a);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 12px;
    vertical-align: middle;
}

/* View all link */
.view-all-link {
    text-align: center;
    margin-top: 20px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    color: #60a5fa;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #60a5fa;
}

.view-all-btn:hover {
    background: #60a5fa;
    color: white;
    transform: translateY(-2px);
}

/* No categories message */
.no-categories {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.no-categories i {
    display: block;
    margin-bottom: 20px;
}

/* Section specific styles */
.featured-episodes .section-title i {
    color: #f59e0b;
}

.new-release .section-title i {
    color: #ef4444;
}

.trending-now .section-title i {
    color: #10b981;
}

@media (max-width: 480px) {
    /* 超小屏幕布局 */
    .episodes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-badge {
        display: inline-block;
        margin: 0 0 0 8px;
        width: fit-content;
    }
    
    .section-title {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    /* 移动端头部进一步优化 */
    .site-logo {
        font-size: 20px;
    }
    
    .search-input {
        width: 100px;
        font-size: 13px;
    }
    
    /* 移动端认证按钮样式 */
    .auth-button-group {
        gap: 6px;
    }
    
    .login-btn, .register-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    /* 移动端用户头像样式 */
    .user-avatar-container {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
    }
    
    .user-name {
        display: none; /* 移动端隐藏用户名，只显示头像 */
    }
    
    .dropdown-menu {
        min-width: 250px;
        right: -10px; /* 调整位置适配小屏幕 */
    }
    
    /* 移动端卡片布局 */
    .episode-card {
        border-radius: 8px;
    }
    
    .episode-info {
        padding: 15px;
    }
    
    .episode-title {
        font-size: 16px;
    }
    
    .episode-actions {
        gap: 10px;
    }
    
    .watch-btn {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    /* 确保搜索结果页面在移动端有合适的布局 */
    .search-results .episodes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .page-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .page-title {
        font-size: 18px;
    }
}

/* 搜索结果页面特定样式 */
.search-results .episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* 确保剧集卡片在搜索结果页面有合适的高度 */
.search-results .episodes-grid .episode-card .episode-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 150%; /* 2:3 宽高比 */
    overflow: hidden;
}

.search-results .episodes-grid .episode-card .episode-thumbnail-img,
.search-results .episodes-grid .episode-card .episode-thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 登录/注册页面样式 */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

/* 增加site-content区域的高度 */
.site-content {
    min-height: calc(100vh - 200px);
}

.auth-form-wrapper {
    background: #1e293b;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    border: 1px solid #334155;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-form-header h1 {
    color: #f8fafc;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.auth-form-header p {
    color: #94a3b8;
    font-size: 16px;
    margin: 0;
}

.auth-error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #f87171;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #34d399;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #e2e8f0;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-checkbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-checkbox label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.forgot-password {
    color: #60a5fa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #ff6b9d;
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    /* 统一按钮颜色与注册按钮一致 */
    background: linear-gradient(45deg, #ff6b9d, #c084fc);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.auth-submit-btn:hover {
    /* 统一按钮悬停效果与注册按钮一致 */
    background: linear-gradient(45deg, #ec4899, #a855f7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
}

.auth-form-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

.auth-form-footer p {
    color: #94a3b8;
    margin: 0;
    font-size: 14px;
}

.auth-form-footer a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-form-footer a:hover {
    color: #ff6b9d;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .auth-form-wrapper {
        padding: 30px 20px;
    }
    
    .auth-form-header h1 {
        font-size: 24px;
    }
    
    .form-group input {
        padding: 10px 12px;
    }
    
    .auth-submit-btn {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 20px 15px;
    }
    
    .auth-form-wrapper {
        padding: 25px 15px;
    }
    
    .auth-form-header h1 {
        font-size: 22px;
    }
    
    .form-checkbox {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
