/* 用户相关页面样式 */

/* 登录页面样式 */
.login-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    margin: 40px 0;
}

.login-form-container {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 20px 40px;
    box-shadow: var(--shadow);
    max-width: 500px;
    width: 100%;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.login-header p {
    color: var(--color-text-light);
    font-size: 14px;
}

.login-form {
    display: grid;
    gap: 14px;
}

.form-section {
    display: grid;
    gap: 10px;
}

/* 输入框组样式 */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 5px;
    font-size: 16px;
    color: var(--color-text-light);
    z-index: 2;
}

.input-group input {
    padding-left: 40px;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-text-light);
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--color-primary);
}

/* 表单选项样式 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    color: var(--color-text);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
}

.forgot-password {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.forgot-password:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* 表单操作区域 */
.form-actions {
    display: grid;
    gap: 20px;
}

.divider {
    position: relative;
    text-align: center;
    color: var(--color-text-light);
    font-size: 14px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-border-light);
}

.divider span {
    background: white;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

/* 社交登录样式 */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid var(--color-border-light);
    background: white;
    color: var(--color-text);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-social:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-wechat:hover {
    border-color: #07c160;
    color: #07c160;
}

.btn-alipay:hover {
    border-color: #1677ff;
    color: #1677ff;
}

.social-icon {
    font-size: 16px;
}

/* 登录页脚 */
.login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
}

.register-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.register-link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* 登录页特色展示 */
.login-features {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--color-text);
    text-align: center;
}

.feature-list {
    display: grid;
    gap: 24px;
}

.feature-item {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 16px;
    padding: 10px 20px;
    background: var(--color-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border-light);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}
.feature-text {
    flex: 3;
}
.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}

.feature-text p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

/* 注册页面样式 */
.register-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    margin: 40px 0;
}

.register-form-container {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 20px 40px;
    box-shadow: var(--shadow);
    max-width: 500px;
    width: 100%;
}

.register-header {
    text-align: center;
    margin-bottom: 32px;
}

.register-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.register-header p {
    color: var(--color-text-light);
    font-size: 14px;
}

.register-form {
    display: grid;
    gap: 12px;
}

.form-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary-light);
}

/* 密码强度样式 */
.password-strength {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.strength-meter {
    flex: 1;
    height: 4px;
    background: var(--color-border-light);
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 12px;
    font-weight: 500;
}

/* 输入状态样式 */
.input-status {
    position: absolute;
    right: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* 发送验证码按钮样式 */
.send-code-btn {
    position: absolute;
    right: 8px;
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
}

/* 单选框样式 */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    color: var(--color-text);
}

.radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
}

/* 协议同意样式 */
.agreement-section {
    background: rgba(0, 53, 128, 0.03);
    border: 1px solid rgba(0, 53, 128, 0.1);
    border-radius: var(--border-radius);
    padding: 16px;
}

.agreement-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.agreement-link:hover {
    text-decoration: underline;
}

/* 社交注册样式 */
.social-register {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* 注册页脚 */
.register-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
}

.login-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.login-link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* 注册页特色展示 */
.register-features {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 100px;
}

 

/* 个人中心样式 */
.user-profile-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
    margin: 0 auto 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.user-profile-card .user-info h3 {
    margin-bottom: 4px;
    font-size: 18px;
    color: var(--color-bg);
}

.user-profile-card .user-info p {
    margin-bottom: 16px;
    opacity: 0.9;
    color: var(--color-bg);
}

.user-stats {
    display: flex;
    justify-content: space-around;
    gap: 16px;
}

.user-stats .stat {
    text-align: center;
}

.user-stats .stat-number {
    display: block;
    font-size: 20px;
    font-weight: 600;
}

.user-stats .stat-label {
    font-size: 12px;
    opacity: 0.8;
}

/* 用户导航样式 */
.user-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.user-nav li {
    margin-bottom: 2px;
}

.user-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.user-nav li.active a {
    background: rgba(0, 53, 128, 0.08);
    color: var(--color-primary);
    font-weight: 500;
}

.user-nav a:hover {
    background: rgba(0, 53, 128, 0.05);
}

.nav-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.nav-badge {
    margin-left: auto;
    background: var(--color-primary);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* 会员信息卡片样式 */
.membership-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid var(--color-border-light);
}

.membership-level {
    text-align: center;
    margin-bottom: 20px;
}

.level-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #333;
}

.membership-progress {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--color-text-light);
}

.membership-progress .progress-bar {
    height: 8px;
    background: var(--color-border-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.membership-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 4px;
}

.progress-tip {
    font-size: 12px;
    color: var(--color-text-light);
    text-align: center;
}

.membership-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.membership-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text);
    padding: 8px;
    background: white;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border-light);
}

.membership-benefits .benefit-icon {
    font-size: 14px;
}

/* 统计卡片样式 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 53, 128, 0.1);
    border-radius: var(--border-radius);
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-bg-alt);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-border);
}

/* 内容标签页样式 */
.tabcontent {
    display: flex;
    flex-direction: column;
}
.content-tabs {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border-light);
}

.tab-btn {
    flex: 1;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn.active {
    color: var(--color-primary);
    background: white;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
}

.tabs-content {
    padding: 0;
}

.tab-pane {
    display: none;
    padding: 32px;
}

.tab-pane.active {
    display: block;
}

/* 会议列表样式 */
.meetings-list {
    display: grid;
    gap: 24px;
}

.meeting-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border-light);
    transition: var(--transition);
}

.meeting-card:hover {
    box-shadow: var(--shadow-lg);
}

.meeting-card.completed {
    opacity: 0.8;
    background: var(--color-bg);
}

.meeting-info {
    margin-bottom: 20px;
}

.meeting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.meeting-header h3 {
    font-size: 18px;
    margin-bottom: 0;
    flex: 1;
}

.meeting-header h3 a {
    color: var(--color-text);
    text-decoration: none;
}

.meeting-header h3 a:hover {
    color: var(--color-primary);
}

.meeting-status {
    flex-shrink: 0;
    margin-left: 16px;
}

.meeting-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.meeting-desc {
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

.meeting-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

/* 头部用户信息样式 */
.user-info {
    font-size: 14px;
    color: var(--color-text);
    margin-right: 16px;
}

.user-info strong {
    color: var(--color-primary);
}

/* 订单列表样式 */
.orders-list {
    display: grid;
    gap: 20px;
}

.order-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow);
}

.order-header,
.order-footer {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.order-header {
    border-bottom: 1px solid var(--color-border-light);
    font-size: 13px;
}

.order-body {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border-light);
}

/* 带图片的订单内容布局（文字在左，图片在右） */
.order-body.with-image {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.order-body-main {
    flex: 1;
    min-width: 0;
}
.order-title {
    margin-top: 20px;
}
.order-body-media {
    width: 140px;
    flex-shrink: 0;
}

.order-body-media img {
    width: 100%;
    display: block;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
}

.order-meta-left {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--color-text-light);
}

.order-no {
    font-weight: 500;
}

.order-type {
    font-size: 12px;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.order-title a {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

.order-title a:hover {
    color: var(--color-primary);
}

.order-info {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--color-text-light);
}

.order-amount {
    font-size: 13px;
    color: var(--color-text-light);
}

.order-amount strong {
    font-size: 16px;
    color: var(--color-primary);
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 安全设置样式 */
.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.security-item:last-child {
    border-bottom: none;
}

.security-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.security-desc {
    font-size: 13px;
    color: var(--color-text-light);
}

.security-actions .btn {
    white-space: nowrap;
}

.security-level {
    margin-bottom: 16px;
}

.security-level .level-bar {
    height: 8px;
    background: var(--color-border-light);
    border-radius: 4px;
    overflow: hidden;
}

.security-level .level-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107, #28a745);
}

.security-level .level-text {
    margin-top: 6px;
    font-size: 13px;
    color: var(--color-text-light);
}

.level-tips {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: var(--color-text-light);
}

.level-tips li {
    margin-bottom: 4px;
}

/* 个人信息页面（Profile）样式 */
.profile-layout {
    display: grid;
    gap: 24px;
}

.profile-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
}

.profile-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border-light);
    background: linear-gradient(180deg, rgba(0, 53, 128, 0.04), rgba(0, 53, 128, 0.00));
}

.profile-card-header h2 {
    margin: 0 0 6px 0;
    font-size: 18px;
    color: var(--color-text);
}

.profile-card-header p {
    margin: 0;
    font-size: 13px;
    color: var(--color-text-light);
}

.profile-avatar-block {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--color-border-light);
}

.avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    margin-left: 8px;
    box-shadow: var(--shadow);
}

.avatar-actions .avatar-title {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.avatar-actions .avatar-desc {
    font-size: 12px;
    color: var(--color-text-light);
    margin-bottom: 10px;
    line-height: 1.4;
}

.avatar-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-form {
    padding: 22px 24px 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.form-row-full {
    grid-column: 1 / -1;
}

.field-inline {
    display: flex;
    gap: 10px;
    align-items: center;
}

.field-inline input {
    flex: 1;
}

.profile-actions {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-tip {
    font-size: 12px;
    color: var(--color-text-light);
}

/* 布局 */
.layout-sidebar {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border-light);
}

.sidebar-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text);
}

.content-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-light);
}

.breadcrumb {
    font-size: 14px;
    color: var(--color-text-light);
}

.breadcrumb a {
    color: var(--color-text-light);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

/* 用户页面响应式样式 */
@media (max-width: 1024px) {
    .login-section,
    .register-section {
        grid-template-columns: 1fr;
        gap: 32px;
        margin: 24px 0;
        align-items: stretch;
        min-height: auto;
    }

    .login-form-container,
    .register-form-container {
        max-width: 100%;
        padding: 24px;
    }

    .login-features,
    .register-features {
        position: static;
        top: auto;
    }

    .login-features {
        justify-content: flex-start;
    }

    /* 登录 / 注册页特色模块：小于 1024px 时一行两列 */
    .feature-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .layout-sidebar {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .login-form-container,
    .register-form-container {
        padding: 18px;
    }

    .login-header,
    .register-header {
        margin-bottom: 20px;
    }

    /* 注册页：手机号 + 发送验证码按钮避免遮挡（改为换行显示） */
    .input-group {
        flex-wrap: wrap;
    }

    .send-code-btn {
        position: static;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }

    .input-group input {
        padding-right: 12px;
    }

    /* 登录/注册页右侧特色内容在小屏下更紧凑 */
    .feature-list {
        gap: 14px;
        grid-template-columns: auto;
    }

    .feature-item {
        padding: 16px;
    }

    .order-body.with-image {
        flex-direction: column;
    }

    .order-body-media {
        width: 100%;
    }
    .order-actions{
        justify-content: end;
    }
}




