/* 云上资源 - 现代化网盘样式表 */

/* ===== 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    color: #333;
}

/* 网盘风格Body */
.netdisk-body {
    background: #f5f7fa;
}

/* ===== 顶部导航栏 - 网盘风格 ===== */
.netdisk-header {
    background: #fff;
    height: 60px;
    border-bottom: 1px solid #e8eaec;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.site-logo {
    font-size: 20px;
    font-weight: 600;
    color: #1890ff;
    margin: 0;
}

.top-nav {
    display: flex;
    gap: 8px;
}

.nav-tab {
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
}

.nav-tab:hover {
    background: #f0f2f5;
    color: #1890ff;
}

.nav-tab.active {
    background: #e6f7ff;
    color: #1890ff;
    font-weight: 500;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info-compact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar-tiny {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.username-compact {
    font-size: 14px;
    color: #333;
}

.vip-badge-compact {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    color: white;
}

.header-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.header-link:hover {
    color: #1890ff;
}

/* ===== 主内容区 ===== */
.netdisk-main {
    display: flex;
    min-height: calc(100vh - 60px);
}

/* 左侧边栏 */
.netdisk-sidebar {
    width: 200px;
    background: #fff;
    border-right: 1px solid #e8eaec;
    padding: 20px 0;
}

.sidebar-section {
    margin-bottom: 24px;
    padding: 0 16px;
}

.sidebar-section h3 {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 4px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
}

.sidebar-menu a:hover {
    background: #f0f2f5;
    color: #1890ff;
}

.sidebar-menu a i {
    font-size: 16px;
    width: 16px;
}

.storage-info {
    background: #f5f7fa;
    padding: 12px;
    border-radius: 6px;
}

.storage-text {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.storage-size {
    font-size: 18px;
    font-weight: 600;
    color: #1890ff;
    margin-bottom: 8px;
}

.balance-text {
    font-size: 12px;
    color: #666;
}

/* 存储进度条 */
.storage-progress {
    width: 100%;
    height: 6px;
    background: #e8eaec;
    border-radius: 3px;
    margin: 12px 0 8px;
    overflow: hidden;
}

.storage-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1890ff, #40a9ff);
    border-radius: 3px;
    transition: width 0.3s, background 0.3s;
}

.storage-progress-bar[style*="width: 8"],
.storage-progress-bar[style*="width: 9"],
.storage-progress-bar[style*="width: 10"] {
    background: linear-gradient(90deg, #ff4d4f, #ff7875);
}

.storage-limit-text {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
}

.storage-warning {
    font-size: 11px;
    color: #ff4d4f;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.storage-warning i {
    font-size: 12px;
}

.storage-warning a {
    color: #1890ff;
    text-decoration: none;
}

.storage-warning a:hover {
    text-decoration: underline;
}

/* 文件内容区 */
.netdisk-content {
    flex: 1;
    padding: 24px;
    background: #f5f7fa;
}

/* 消息提示 */
.message-bar {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-bar.success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
}

.message-bar.error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #ff4d4f;
}

/* 内容标题 */
.content-header {
    margin-bottom: 16px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* 工具栏 */
.toolbar {
    background: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.toolbar-left {
    display: flex;
    gap: 12px;
}

.toolbar-btn {
    padding: 8px 16px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.toolbar-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.btn-upload {
    background: #1890ff;
    color: white;
    border-color: #1890ff;
}

.btn-upload:hover {
    background: #40a9ff;
    border-color: #40a9ff;
}

.toolbar-right {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.view-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.view-btn.active {
    background: #1890ff;
    color: white;
    border-color: #1890ff;
}

/* 文件列表 */
.file-list-header {
    background: #fafafa;
    border: 1px solid #e8eaec;
    border-bottom: none;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 40px 1fr 120px 120px 180px;
    gap: 16px;
    align-items: center;
    border-radius: 6px 6px 0 0;
}

.file-col {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.file-col-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-list {
    background: #fff;
    border: 1px solid #e8eaec;
    border-radius: 0 0 6px 6px;
    min-height: 400px;
}

.file-item {
    display: grid;
    grid-template-columns: 40px 1fr 120px 120px 180px;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    position: relative;
}

.file-item:hover {
    background: #fafafa;
}

.file-item:hover .file-actions {
    opacity: 1;
}

.file-icon {
    font-size: 20px;
    color: #1890ff;
    margin-right: 8px;
}

.file-name {
    font-size: 14px;
    color: #333;
}

.file-col-name {
    display: flex;
    align-items: center;
}

.file-col-size,
.file-col-type,
.file-col-date {
    font-size: 13px;
    color: #666;
}

.file-actions {
    position: absolute;
    right: 16px;
    display: flex;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.2s;
}

.action-link {
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
    cursor: pointer;
}

.action-link:hover {
    color: #1890ff;
}

.action-link.delete:hover {
    color: #ff4d4f;
}

/* 空状态 */
.empty-files {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.empty-files i {
    font-size: 64px;
    margin-bottom: 16px;
    color: #d9d9d9;
}

.empty-files p {
    font-size: 14px;
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-box {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid #e8eaec;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-form {
    padding: 24px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.form-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-field input:focus {
    outline: none;
    border-color: #1890ff;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.btn-cancel,
.btn-confirm {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-cancel {
    background: #fff;
    border: 1px solid #d9d9d9;
    color: #333;
}

.btn-cancel:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.btn-confirm {
    background: #1890ff;
    color: white;
}

.btn-confirm:hover {
    background: #40a9ff;
}

/* ===== 保留原有功能样式 ===== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== 导航栏 (其他页面使用) ===== */
.navbar {
    background: #1890ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ===== 登录/注册页面 ===== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
}

.auth-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

.auth-box h1 {
    color: #1890ff;
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #1890ff;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-footer a {
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ===== 按钮 ===== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #1890ff;
    color: white;
}

.btn-primary:hover {
    background: #40a9ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 144, 255, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: #52c41a;
    color: white;
}

.btn-success:hover {
    background: #73d13d;
}

.btn-danger {
    background: #ff4d4f;
    color: white;
}

.btn-danger:hover {
    background: #ff7875;
}

.btn-info {
    background: #1890ff;
    color: white;
}

.btn-info:hover {
    background: #40a9ff;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* ===== 提示信息 ===== */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.alert-error {
    background-color: #fff2f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}

/* ===== 用户信息栏 ===== */
.user-info-bar {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1890ff;
}

.username {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.user-balance {
    font-size: 18px;
    font-weight: 600;
    color: #1890ff;
}

/* ===== VIP徽章 ===== */
.vip-badge {
    padding: 5px 12px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* ===== 内容区域 ===== */
.content-wrapper {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.upload-section,
.receive-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.upload-section h2,
.receive-section h2,
.files-section h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.upload-form,
.receive-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.upload-form input[type="file"],
.receive-form input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

/* ===== 文件表格 ===== */
.files-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.files-table thead {
    background: #1890ff;
    color: white;
}

.files-table th,
.files-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.files-table tbody tr:hover {
    background-color: #f8f9fa;
}

.files-table td {
    color: #555;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* ===== 个人中心 ===== */
.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.profile-sidebar {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.avatar-section {
    text-align: center;
}

.user-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1890ff;
    margin-bottom: 20px;
}

.avatar-upload-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.avatar-upload-form input[type="file"] {
    font-size: 12px;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-card h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #1890ff;
    padding-bottom: 10px;
}

.info-row {
    display: flex;
    margin-bottom: 15px;
}

.info-label {
    font-weight: 600;
    color: #555;
    width: 120px;
}

.info-value {
    color: #666;
}

.balance-display {
    text-align: center;
    padding: 20px;
}

.balance-amount {
    font-size: 36px;
    font-weight: bold;
    color: #1890ff;
}

.records-table {
    width: 100%;
    border-collapse: collapse;
}

.records-table th,
.records-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.records-table thead {
    background-color: #f8f9fa;
}

.text-success {
    color: #52c41a;
    font-weight: 600;
}

.text-danger {
    color: #ff4d4f;
    font-weight: 600;
}

.empty-message {
    text-align: center;
    color: #999;
    padding: 20px;
}

/* ===== 会员中心 ===== */
.vip-header {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.vip-header h1 {
    color: #333;
    margin-bottom: 15px;
}

.vip-header p {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
}

.balance-highlight {
    color: #1890ff;
    font-weight: bold;
    font-size: 24px;
}

.vip-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.vip-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.vip-card:hover {
    transform: translateY(-10px);
}

.vip-card-header {
    padding: 30px;
    text-align: center;
    position: relative;
}

.vip-card-header h2 {
    color: white;
    font-size: 24px;
    margin: 0;
}

.recommended-badge,
.best-value-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.vip-card-body {
    padding: 30px;
}

.vip-price {
    text-align: center;
    margin-bottom: 30px;
}

.price-symbol {
    font-size: 24px;
    color: #666;
}

.price-amount {
    font-size: 48px;
    font-weight: bold;
    color: #333;
}

.price-period {
    font-size: 18px;
    color: #999;
}

.vip-features {
    list-style: none;
    margin-bottom: 30px;
}

.vip-features li {
    padding: 10px 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.recharge-note {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.recharge-note h3 {
    color: #333;
    margin-bottom: 15px;
}

.recharge-note p {
    color: #666;
    margin: 10px 0;
}

.recharge-note a {
    color: #1890ff;
    font-weight: 600;
}

/* ===== 分享页面 ===== */
.share-container {
    background: white;
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.share-container h1 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.file-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.file-info h3 {
    color: #333;
    margin-bottom: 15px;
}

.file-info p {
    margin: 10px 0;
    color: #555;
}

.share-form {
    text-align: center;
}

.share-form p {
    margin-bottom: 20px;
    color: #666;
}

.share-result {
    margin-top: 20px;
}

.share-codes {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
}

.code-item {
    margin-bottom: 20px;
}

.code-item:last-child {
    margin-bottom: 0;
}

.code-item label {
    display: block;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.code-value {
    display: flex;
    gap: 10px;
}

.code-value input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.share-tips {
    background: #e6f7ff;
    border-left: 4px solid #1890ff;
    padding: 20px;
    margin: 20px 0;
}

.share-tips h4 {
    color: #333;
    margin-bottom: 10px;
}

.share-tips p {
    color: #555;
    margin: 5px 0;
}

/* ===== 管理后台 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 36px;
    font-weight: bold;
    color: #1890ff;
}

.admin-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-section h2 {
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #1890ff;
    padding-bottom: 10px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table thead {
    background: #1890ff;
    color: white;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.admin-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* ===== 弹窗 ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .netdisk-header {
        flex-direction: column;
        height: auto;
        gap: 12px;
    }

    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .netdisk-main {
        flex-direction: column;
    }

    .netdisk-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e8eaec;
    }

    .file-list-header,
    .file-item {
        grid-template-columns: 40px 1fr;
    }

    .file-col-size,
    .file-col-type,
    .file-col-date {
        display: none;
    }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-left {
        flex-direction: column;
    }

    .toolbar-btn {
        width: 100%;
    }

    .profile-container {
        grid-template-columns: 1fr;
    }
    
    .vip-plans {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .user-info-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .upload-form,
    .receive-form {
        flex-direction: column;
    }
}

/* ===== 个人中心页面样式 ===== */
.profile-page {
    min-height: calc(100vh - 60px);
    background: #f5f7fa;
    padding: 24px;
}

.profile-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
}

/* 用户信息卡片 */
.user-profile-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.user-avatar-section {
    position: relative;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1890ff;
    color: white;
    border: 2px solid #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.3s;
}

.avatar-upload-btn:hover {
    background: #40a9ff;
}

.user-info-section {
    flex: 1;
}

.user-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.user-email {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* 分组标题 */
.section-header {
    margin: 32px 0 16px 0;
}

.section-header h3 {
    font-size: 14px;
    color: #999;
    font-weight: 500;
    margin: 0;
}

/* 服务卡片组 */
.service-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
}

.service-status {
    font-size: 14px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vip-badge-inline {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: white;
    font-weight: 500;
}

.expire-date {
    color: #999;
    font-size: 13px;
}

.balance-amount-inline {
    font-size: 20px;
    font-weight: 600;
    color: #1890ff;
}

.service-arrow {
    color: #d9d9d9;
    font-size: 16px;
}

/* 设置卡片 */
.settings-card {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.setting-item {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.setting-item:hover {
    background: #fafafa;
}

.setting-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.setting-icon {
    font-size: 18px;
    color: #666;
    width: 20px;
}

.setting-item span {
    font-size: 15px;
    color: #333;
}

.setting-arrow {
    color: #d9d9d9;
    font-size: 14px;
    transition: transform 0.3s;
}

/* 设置内容 */
.setting-content {
    border-top: 1px solid #f0f0f0;
    padding: 16px 20px;
    background: #fafafa;
}

.info-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: #999;
}

.detail-value {
    font-size: 14px;
    color: #333;
}

/* 记录列表 */
.records-list {
    max-height: 400px;
    overflow-y: auto;
}

.record-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.record-item:last-child {
    border-bottom: none;
}

.record-left {
    flex: 1;
}

.record-type {
    font-size: 14px;
    color: #333;
    margin: 0 0 4px 0;
    font-weight: 500;
}

.record-desc {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.record-right {
    text-align: right;
}

.record-amount {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.amount-plus {
    color: #52c41a;
}

.amount-minus {
    color: #666;
}

.record-time {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.empty-text {
    text-align: center;
    color: #999;
    padding: 20px;
    margin: 0;
    font-size: 14px;
}

/* 响应式 - 个人中心 */
@media (max-width: 768px) {
    .user-profile-card {
        flex-direction: column;
        text-align: center;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== 导航栏 ===== */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ===== 登录/注册页面 ===== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

.auth-box h1 {
    color: #667eea;
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ===== 按钮 ===== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* ===== 提示信息 ===== */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== 用户信息栏 ===== */
.user-info-bar {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #667eea;
}

.username {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.user-balance {
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
}

/* ===== VIP徽章 ===== */
.vip-badge {
    padding: 5px 12px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* ===== 内容区域 ===== */
.content-wrapper {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.upload-section,
.receive-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.upload-section h2,
.receive-section h2,
.files-section h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.upload-form,
.receive-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.upload-form input[type="file"],
.receive-form input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

/* ===== 文件表格 ===== */
.files-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.files-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.files-table th,
.files-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.files-table tbody tr:hover {
    background-color: #f8f9fa;
}

.files-table td {
    color: #555;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* ===== 个人中心 ===== */
.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.profile-sidebar {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.avatar-section {
    text-align: center;
}

.user-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
    margin-bottom: 20px;
}

.avatar-upload-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.avatar-upload-form input[type="file"] {
    font-size: 12px;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-card h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.info-row {
    display: flex;
    margin-bottom: 15px;
}

.info-label {
    font-weight: 600;
    color: #555;
    width: 120px;
}

.info-value {
    color: #666;
}

.balance-display {
    text-align: center;
    padding: 20px;
}

.balance-amount {
    font-size: 36px;
    font-weight: bold;
    color: #667eea;
}

.records-table {
    width: 100%;
    border-collapse: collapse;
}

.records-table th,
.records-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.records-table thead {
    background-color: #f8f9fa;
}

.text-success {
    color: #28a745;
    font-weight: 600;
}

.text-danger {
    color: #dc3545;
    font-weight: 600;
}

.empty-message {
    text-align: center;
    color: #999;
    padding: 20px;
}

/* ===== 会员中心 ===== */
.vip-header {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.vip-header h1 {
    color: #333;
    margin-bottom: 15px;
}

.vip-header p {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
}

.balance-highlight {
    color: #667eea;
    font-weight: bold;
    font-size: 24px;
}

.vip-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.vip-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.vip-card:hover {
    transform: translateY(-10px);
}

.vip-card-header {
    padding: 30px;
    text-align: center;
    position: relative;
}

.vip-card-header h2 {
    color: white;
    font-size: 24px;
    margin: 0;
}

.recommended-badge,
.best-value-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.vip-card-body {
    padding: 30px;
}

.vip-price {
    text-align: center;
    margin-bottom: 30px;
}

.price-symbol {
    font-size: 24px;
    color: #666;
}

.price-amount {
    font-size: 48px;
    font-weight: bold;
    color: #333;
}

.price-period {
    font-size: 18px;
    color: #999;
}

.vip-features {
    list-style: none;
    margin-bottom: 30px;
}

.vip-features li {
    padding: 10px 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.recharge-note {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.recharge-note h3 {
    color: #333;
    margin-bottom: 15px;
}

.recharge-note p {
    color: #666;
    margin: 10px 0;
}

.recharge-note a {
    color: #667eea;
    font-weight: 600;
}

/* ===== 分享页面 ===== */
.share-container {
    background: white;
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.share-container h1 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.file-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.file-info h3 {
    color: #333;
    margin-bottom: 15px;
}

.file-info p {
    margin: 10px 0;
    color: #555;
}

.share-form {
    text-align: center;
}

.share-form p {
    margin-bottom: 20px;
    color: #666;
}

.share-result {
    margin-top: 20px;
}

.share-codes {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
}

.code-item {
    margin-bottom: 20px;
}

.code-item:last-child {
    margin-bottom: 0;
}

.code-item label {
    display: block;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.code-value {
    display: flex;
    gap: 10px;
}

.code-value input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.share-tips {
    background: #e7f3ff;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 20px 0;
}

.share-tips h4 {
    color: #333;
    margin-bottom: 10px;
}

.share-tips p {
    color: #555;
    margin: 5px 0;
}

/* ===== 管理后台 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 36px;
    font-weight: bold;
    color: #667eea;
}

.admin-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-section h2 {
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.admin-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* ===== 弹窗 ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
    }
    
    .vip-plans {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .user-info-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .upload-form,
    .receive-form {
        flex-direction: column;
    }
}

/* ===== VIP页面样式 ===== */
.vip-page {
    min-height: calc(100vh - 60px);
    background: #f5f7fa;
    padding: 24px;
}

.vip-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
}

/* 消息提示条 */
.message-bar {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.message-bar.success {
    background: #f0f9ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
}

.message-bar.error {
    background: #fff1f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}

/* VIP状态卡片 */
.vip-status-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 32px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.status-item {
    text-align: center;
}

.status-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.status-value {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.balance-value {
    color: #1890ff;
}

.expire-value {
    font-size: 16px;
    color: #666;
}

.status-divider {
    width: 1px;
    height: 40px;
    background: #e8eaec;
}

.vip-badge-inline {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    color: white;
    font-weight: 500;
}

/* VIP套餐卡片 */
.vip-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.vip-plan-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
    text-align: center;
    border: 2px solid transparent;
}

.vip-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.vip-plan-card.recommended {
    border-color: #1890ff;
}

.recommend-tag,
.best-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 12px;
    color: white;
    font-weight: 500;
}

.recommend-tag {
    background: #1890ff;
}

.best-tag {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.plan-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
}

.week-badge {
    background: #4A90E2;
}

.month-badge {
    background: #8B4513;
}

.year-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.plan-price {
    margin-bottom: 24px;
}

.price-currency {
    font-size: 18px;
    color: #999;
}

.price-number {
    font-size: 42px;
    font-weight: 700;
    color: #1890ff;
}

.price-unit {
    font-size: 16px;
    color: #999;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.plan-features li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
}

.plan-features li i {
    color: #52c41a;
    margin-right: 8px;
}

.plan-buy-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.week-btn {
    background: #4A90E2;
}

.week-btn:hover {
    background: #3a7bc8;
}

.month-btn {
    background: #8B4513;
}

.month-btn:hover {
    background: #703609;
}

.year-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.year-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
}

/* 充值说明卡片 */
.recharge-info-card {
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    gap: 12px;
}

.recharge-info-card i {
    color: #1890ff;
    font-size: 20px;
}

.recharge-text h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
}

.recharge-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.recharge-text a {
    color: #1890ff;
    text-decoration: none;
}

.recharge-text a:hover {
    text-decoration: underline;
}

/* ===== 管理员页面样式 ===== */
.admin-page {
    min-height: calc(100vh - 60px);
    background: #f5f7fa;
    padding: 24px;
}

.admin-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.header-link.active {
    color: #1890ff;
    font-weight: 500;
}

/* 统计卡片 */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.users-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.files-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.vip-icon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.shares-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* 用户列表表格卡片 */
.admin-table-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.user-list-header {
    display: grid;
    grid-template-columns: 60px 1fr 1.5fr 120px 100px 150px 120px;
    gap: 16px;
    padding: 16px 20px;
    background: #fafafa;
    border-bottom: 1px solid #e8eaec;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.user-list-body {
    max-height: 600px;
    overflow-y: auto;
}

.user-list-item {
    display: grid;
    grid-template-columns: 60px 1fr 1.5fr 120px 100px 150px 120px;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
    align-items: center;
}

.user-list-item:hover {
    background: #fafafa;
}

.user-col {
    font-size: 14px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-col-id {
    color: #999;
    font-weight: 500;
}

.user-col-name {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #333;
}

/* 操作按钮 */
.action-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.recharge-btn {
    background: #1890ff;
    color: white;
}

.recharge-btn:hover {
    background: #40a9ff;
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-box {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e8eaec;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.modal-form {
    padding: 24px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-field input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.1);
}

.form-field input[readonly] {
    background: #f5f5f5;
    color: #999;
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cancel,
.btn-confirm {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.btn-cancel:hover {
    background: #e8e8e8;
}

.btn-confirm {
    background: #1890ff;
    color: white;
}

.btn-confirm:hover {
    background: #40a9ff;
}

/* 响应式 - VIP和管理员页面 */
@media (max-width: 1024px) {
    .vip-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vip-plans-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .vip-status-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .status-divider {
        width: 100%;
        height: 1px;
    }
    
    .user-list-header,
    .user-list-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .user-col::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 8px;
    }
}

/* ===== 分享页面样式 ===== */
.share-page {
    min-height: calc(100vh - 60px);
    background: #f5f7fa;
    padding: 24px;
}

.share-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #1890ff;
}

.back-link i {
    font-size: 12px;
}

/* 文件信息卡片 */
.file-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.file-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    flex-shrink: 0;
}

.file-info-details {
    flex: 1;
    min-width: 0;
}

.file-info-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: #999;
}

.file-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.file-meta i {
    font-size: 14px;
}

/* 生成分享卡片 */
.generate-share-card {
    background: #fff;
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.generate-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1890ff, #40a9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 24px;
}

.generate-share-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.generate-share-card p {
    font-size: 14px;
    color: #999;
    margin-bottom: 32px;
}

.share-action {
    margin: 0;
}

.btn-generate {
    padding: 14px 48px;
    background: linear-gradient(135deg, #1890ff, #40a9ff);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24,144,255,0.3);
}

/* 分享成功卡片 */
.share-success-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f0f9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #52c41a;
    margin: 0 auto 20px;
}

.share-success-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.share-success-card p {
    font-size: 14px;
    color: #999;
}

/* 分享码卡片 */
.share-codes-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.code-box {
    margin-bottom: 24px;
}

.code-box:last-child {
    margin-bottom: 0;
}

.code-box label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
}

.code-box label i {
    color: #1890ff;
    font-size: 16px;
}

.code-input-group {
    display: flex;
    gap: 12px;
}

.code-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #333;
    background: #fafafa;
    letter-spacing: 2px;
}

.code-input-group input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.1);
}

.btn-copy {
    padding: 12px 24px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-copy:hover {
    background: #40a9ff;
}

.btn-copy i {
    font-size: 14px;
}

/* 使用说明卡片 */
.share-tips-card {
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.share-tips-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.share-tips-card h4 i {
    color: #1890ff;
    font-size: 18px;
}

.share-tips-card ol {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.share-tips-card ol li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.share-tips-card ol li:last-child {
    margin-bottom: 0;
}

/* 返回首页按钮 */
.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: #1890ff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-back-home:hover {
    background: #40a9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24,144,255,0.3);
}

.btn-back-home i {
    font-size: 14px;
}

/* 响应式 - 分享页面 */
@media (max-width: 768px) {
    .file-info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .file-icon-large {
        margin: 0 auto;
    }
    
    .file-meta {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .code-input-group {
        flex-direction: column;
    }
    
    .btn-copy {
        width: 100%;
        justify-content: center;
    }
}

/* ===== 上传进度条样式 ===== */
.upload-progress-container {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upload-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.upload-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.upload-file-info i {
    font-size: 18px;
    color: #1890ff;
}

.upload-cancel-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.upload-cancel-btn:hover {
    background: #ffebee;
    color: #ff4d4f;
}

.upload-progress-bar-container {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

.upload-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1890ff, #40a9ff);
    border-radius: 4px;
    width: 0;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 进度条闪光效果 */
.upload-progress-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.upload-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

#uploadPercent {
    font-weight: 600;
    color: #1890ff;
}

#uploadSpeed {
    color: #999;
}

/* 进度条脉冲效果 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.upload-progress-bar {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== 我的分享页面样式 ===== */
.shares-page {
    min-height: calc(100vh - 60px);
    background: #f5f7fa;
    padding: 24px;
}

.shares-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 32px;
}

.page-subtitle {
    font-size: 14px;
    color: #999;
    margin-top: 8px;
}

/* 空状态 */
.empty-shares {
    background: #fff;
    border-radius: 12px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.empty-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.empty-icon i {
    font-size: 48px;
    color: #d9d9d9;
}

.empty-shares h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
}

.empty-shares p {
    font-size: 14px;
    color: #999;
}

.empty-shares a {
    color: #1890ff;
    text-decoration: none;
}

.empty-shares a:hover {
    text-decoration: underline;
}

/* 分享网格 */
.shares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

/* 分享卡片 */
.share-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.share-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.share-card-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 16px;
    align-items: center;
}

.file-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-icon-wrapper i {
    font-size: 24px;
    color: white;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0 0 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.share-card-body {
    padding: 20px;
}

.share-code-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.code-item-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.code-item-compact label {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.code-item-compact label i {
    font-size: 12px;
    color: #1890ff;
}

.code-display {
    display: flex;
    gap: 8px;
}

.code-display input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    background: #fafafa;
    color: #333;
}

.code-display input:focus {
    outline: none;
    border-color: #1890ff;
}

.btn-copy-small {
    padding: 8px 16px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-copy-small:hover {
    background: #40a9ff;
}

.share-card-footer {
    padding: 16px 20px;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-time {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-time i {
    font-size: 12px;
}

.btn-delete-share {
    padding: 6px 16px;
    background: transparent;
    color: #ff4d4f;
    border: 1px solid #ff4d4f;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-delete-share:hover {
    background: #ff4d4f;
    color: white;
}

.btn-delete-share i {
    font-size: 12px;
}

/* 响应式 - 我的分享 */
@media (max-width: 768px) {
    .shares-grid {
        grid-template-columns: 1fr;
    }
    
    .share-card-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .btn-delete-share {
        width: 100%;
        justify-content: center;
    }
}

/* ===== 分享页面额外样式 ===== */
.share-option {
    margin: 20px 0;
    padding: 16px;
    background: #f5f7fa;
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    user-select: none;
}

.no-extract-tip {
    padding: 16px;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 8px;
    color: #1890ff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.no-extract-tip i {
    font-size: 16px;
}

.no-extract-badge {
    padding: 12px 16px;
    background: #f0f9ff;
    border: 1px solid #91d5ff;
    border-radius: 8px;
    color: #1890ff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

/* ===== 接收页面样式 ===== */
.receive-page {
    min-height: calc(100vh - 60px);
    background: #f5f7fa;
    padding: 24px;
}

.receive-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.file-preview-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.preview-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.sharer-info {
    font-size: 13px;
    color: #999;
}

.receive-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.receive-form-card .form-field {
    margin-bottom: 24px;
}

.receive-form-card .form-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
}

.receive-form-card .form-field label i {
    color: #1890ff;
    font-size: 16px;
}

.receive-form-card .form-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.receive-form-card .form-field input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.1);
}

.no-extract-required {
    padding: 16px;
    background: #f0f9ff;
    border: 1px solid #91d5ff;
    border-radius: 8px;
    color: #1890ff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.btn-receive {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1890ff, #40a9ff);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-receive:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24,144,255,0.3);
}

.input-link-card {
    background: #fff;
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.input-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1890ff, #40a9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.input-icon i {
    font-size: 36px;
    color: white;
}

.input-link-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.input-link-card p {
    font-size: 14px;
    color: #999;
    margin-bottom: 32px;
}

.link-form .form-field {
    margin-bottom: 20px;
}

.link-form .form-field input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
}

.link-form .form-field input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.1);
}

.btn-submit {
    padding: 12px 48px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    background: #40a9ff;
}

/* 响应式 - 接收页面 */
@media (max-width: 768px) {
    .preview-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* ===== 广告提速状态样式 ===== */
.speedup-status {
    background: linear-gradient(135deg, #f5f7fa, #fff);
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.speedup-status.active {
    background: linear-gradient(135deg, #e6f7ff, #f0f9ff);
    border-color: #1890ff;
}

.speedup-status.cooldown {
    background: linear-gradient(135deg, #fff7e6, #fffbf0);
    border-color: #ffa940;
}

.speedup-status i {
    font-size: 24px;
    color: #999;
}

.speedup-status.active i {
    color: #1890ff;
    animation: rocket-pulse 2s infinite;
}

.speedup-status.cooldown i {
    color: #ffa940;
}

@keyframes rocket-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.speedup-status span {
    font-size: 14px;
    color: #666;
}

.speedup-status strong {
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.speedup-status.active strong {
    color: #1890ff;
}

.speedup-timer {
    margin-left: auto;
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.speedup-status.active .speedup-timer {
    color: #1890ff;
}

.btn-watch-ad {
    margin-left: auto;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.btn-watch-ad:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffed4e, #ffd700);
}

.btn-watch-ad i {
    font-size: 16px;
}

/* 响应式 - 广告提速状态 */
@media (max-width: 768px) {
    .speedup-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .speedup-timer,
    .btn-watch-ad {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}
