/* 流星雨Galgame风格统一样式表 */

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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    min-height: 100vh;
    color: #333;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 192, 203, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(135, 206, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(221, 160, 221, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

/* 颜色变量 */
:root {
    --primary-color: #ff69b4;
    --primary-dark: #ff1493;
    --primary-light: #ffb6c1;
    --secondary-color: #87cefa;
    --secondary-dark: #1e90ff;
    --secondary-light: #b0e0e6;
    --accent-color: #ffd700;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
    --bg-white: #fff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --success-color: #5cb85c;
    --error-color: #d9534f;
    --warning-color: #f0ad4e;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --border-radius-sm: 8px;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(360deg); }
}

.header h1 {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.header button {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin-left: 10px;
}

.header button:first-child {
    margin-left: 0;
}

.header button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 卡片样式 */
.card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* 面包屑样式 */
.breadcrumb {
    background-color: var(--bg-white);
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 14px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 文件列表样式 */
.file-list {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 2px solid var(--primary-light);
    position: relative;
}

/* 文件列表装饰元素 */
.file-list::before {
    content: '📂';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    color: var(--primary-light);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, rgba(255, 182, 193, 0.03), transparent);
}

.file-item:last-child {
    border-bottom: none;
}

.file-item:hover {
    background-color: var(--bg-light);
    padding-left: 25px;
}

.file-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.file-item:hover::before {
    transform: scaleY(1);
}

.file-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
}

.file-icon.folder {
    color: var(--accent-color);
}

.file-info {
    flex: 1;
}

.file-name {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-weight: 500;
}

.file-meta {
    font-size: 12px;
    color: var(--text-light);
}

.file-size {
    font-size: 12px;
    color: var(--text-light);
    width: 100px;
    text-align: right;
    font-weight: 500;
}

/* 存储信息样式 */
.storage-info {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.storage-bar {
    height: 20px;
    background-color: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid var(--border-color);
}

.storage-used {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 10px;
    position: relative;
}

.storage-used::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.storage-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 文件下载区域样式 */
.modal-body .download-section {
    margin-top: 20px;
    text-align: center;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    width: 400px;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-light);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-light), transparent);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header h3 {
    font-size: 18px;
    margin: 0;
    color: var(--primary-dark);
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

.modal-body {
    padding: 20px;
}

.info-row {
    display: flex;
    margin-bottom: 15px;
    font-size: 14px;
    align-items: flex-start;
}

.info-label {
    width: 100px;
    color: var(--text-light);
    flex-shrink: 0;
    font-weight: 500;
    padding-top: 3px;
}

.info-value {
    color: var(--text-primary);
    word-break: break-all;
    flex: 1;
    padding: 3px 0;
}

.info-value.small-text {
    font-size: 11px;
    color: var(--text-light);
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
    position: relative;
    z-index: 1;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
    transform: translateY(-1px);
}

/* 输入框placeholder动画 */
input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder {
    transition: all 0.3s ease;
    color: var(--text-light);
}

input[type="text"]:focus::placeholder,
input[type="password"]:focus::placeholder,
input[type="email"]:focus::placeholder {
    transform: translateX(5px);
    color: var(--primary-light);
}

button {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

button:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 按钮变体 */
.btn-secondary {
    background-color: var(--secondary-color);
}

/* 公告样式 */
.announcement-container {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f0f4ff 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 20px auto;
    max-width: 90%;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.announcement-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcement-title::before {
    content: '📢';
    font-size: 20px;
}

.announcement-content {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.announcement-meta {
    font-size: 12px;
    color: var(--text-light);
    text-align: right;
}

/* 公告管理样式 */
.announcement-manage {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    max-width: 800px;
    margin: 20px auto;
}

.announcement-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.announcement-form input,
.announcement-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
}

.announcement-form input:focus,
.announcement-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
    transform: translateY(-1px);
}

.announcement-form textarea {
    resize: vertical;
    min-height: 120px;
}

.announcement-form .form-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.announcement-form .form-row > div {
    flex: 1;
}

.announcement-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.announcement-list {
    margin-top: 30px;
}

.announcement-item {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-sm);
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.announcement-item.active {
    border-left: 4px solid var(--success-color);
}

.announcement-item.inactive {
    border-left: 4px solid var(--text-light);
    opacity: 0.7;
}

.announcement-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.announcement-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
}

.announcement-item-actions {
    display: flex;
    gap: 10px;
}

.announcement-item-content {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.announcement-item-meta {
    font-size: 12px;
    color: var(--text-light);
    text-align: right;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    box-shadow: 0 4px 12px rgba(135, 206, 250, 0.3);
}

.btn-danger {
    background-color: var(--error-color);
}

.btn-danger:hover {
    background-color: #c9302c;
    box-shadow: 0 4px 12px rgba(217, 83, 79, 0.3);
}

.btn-success {
    background-color: var(--success-color);
}

.btn-success:hover {
    background-color: #4cae4c;
    box-shadow: 0 4px 12px rgba(92, 184, 92, 0.3);
}

/* 注册链接样式 */
.register-link {
    text-align: center;
    margin-top: 15px;
}

.register-link a {
    color: var(--success-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.register-link a:hover {
    color: #4cae4c;
    text-decoration: underline;
    transform: translateY(-1px);
}

/* 忘记密码链接样式 */
.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.forgot-password a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* QQ群按钮样式 */
.qq-group {
    text-align: center;
    margin-top: 15px;
}

.qq-group a {
    color: var(--success-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.qq-group a:hover {
    color: #4cae4c;
    text-decoration: underline;
    transform: translateY(-1px);
}

/* 弹窗样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.modal-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-content .close:hover {
    color: var(--primary-color);
}

.modal-content p {
    margin: 10px 0;
    line-height: 1.6;
}

.modal-content .email-address {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    margin: 15px 0;
}

.modal-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-content li {
    margin: 5px 0;
}

.modal-content .notice {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* 登录容器样式 */
.login-container {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    width: 350px;
    max-width: 90%;
    border: 2px solid var(--primary-light);
    position: relative;
    overflow: hidden;
}

/* 登录容器装饰元素 */
.login-container::before,
.login-container::after {
    content: '💖';
    position: absolute;
    font-size: 35px;
    color: var(--primary-light);
    opacity: 0.4;
    pointer-events: none;
}

.login-container::before {
    top: 15px;
    left: 15px;
    animation: float 3s ease-in-out infinite;
}

.login-container::after {
    bottom: 15px;
    right: 15px;
    animation: float 3s ease-in-out infinite reverse;
}

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

.login-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-dark);
    font-size: 24px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.login-container h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 10px auto 0;
    border-radius: 2px;
}

/* 消息提示样式 */
.error-message,
.success-message {
    text-align: center;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    margin: 10px 0;
    font-size: 14px;
    font-weight: 500;
}

.error-message {
    background-color: rgba(217, 83, 79, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(217, 83, 79, 0.3);
}

.success-message {
    background-color: rgba(92, 184, 92, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(92, 184, 92, 0.3);
}

/* 加载状态样式 */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 14px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 输入组样式 */
.input-group {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.input-with-margin {
    margin-right: 10px;
}

/* 对齐辅助类 */
.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

/* 个人中心样式 */
.profile-container {
    max-width: 600px;
    margin: 20px auto;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    border: 2px solid var(--primary-light);
    position: relative;
    overflow: hidden;
}

/* 装饰性角落元素 */
.profile-container::before,
.profile-container::after {
    content: '✿';
    position: absolute;
    font-size: 30px;
    color: var(--primary-light);
    opacity: 0.5;
    pointer-events: none;
}

.profile-container::before {
    top: 10px;
    left: 10px;
}

.profile-container::after {
    bottom: 10px;
    right: 10px;
    transform: rotate(180deg);
}

.profile-header {
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.profile-header h2 {
    font-size: 24px;
    color: var(--primary-dark);
    font-weight: 700;
}

.profile-section {
    margin-bottom: 30px;
}

.profile-section h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    font-weight: 600;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.profile-item:last-child {
    border-bottom: none;
}

.profile-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.profile-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* 返回按钮样式 */
.back-button {
    margin-top: 30px;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    width: 100%;
}

.back-button:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(135, 206, 250, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        padding: 12px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .header h1 {
        font-size: 16px;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .header button {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 80px;
    }
    
    .file-list {
        margin: 10px;
        border-radius: 8px;
    }
    
    .file-item {
        padding: 12px 15px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .file-info {
        flex: 1;
        min-width: 0;
    }
    
    .file-name {
        font-size: 13px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .file-meta {
        font-size: 11px;
    }
    
    .file-size {
        width: auto;
        font-size: 11px;
    }
    
    .login-container {
        padding: 20px;
        width: 90%;
        border-radius: 8px;
    }
    
    .profile-container {
        margin: 10px;
        padding: 20px;
        border-radius: 8px;
    }
    
    .profile-section h3 {
        font-size: 16px;
    }
    
    .profile-item {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 0;
    }
    
    .profile-label {
        width: 100%;
        font-size: 13px;
    }
    
    .input-group {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .input-with-margin {
        margin-right: 0;
        width: 100%;
    }
    
    .input-group button {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
        border-radius: 8px;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
    
    .info-row {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .info-label {
        width: 100%;
        font-size: 13px;
    }
    
    .container {
        padding: 10px;
    }
    
    .breadcrumb {
        font-size: 12px;
        padding: 10px 15px;
    }
    
    /* 表单行响应式 */
    .form-row {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .form-row .form-group {
        width: 100%;
    }
    
    /* 按钮响应式 */
    button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    /* 输入框响应式 */
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    select {
        padding: 10px;
        font-size: 13px;
    }
    
    /* 消息提示响应式 */
    .error-message,
    .success-message {
        font-size: 13px;
        padding: 10px;
    }
}

/* 右键菜单样式 */
.context-menu {
    position: fixed;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-color);
    z-index: 1000;
    min-width: 150px;
    overflow: hidden;
}

.context-menu-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--text-primary);
}

.context-menu-item:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: var(--primary-dark);
}

/* 自定义图标样式 */
.custom-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* 下载状态样式 */
.download-status {
    margin: 0 15px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
}

.download-status #download-count {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 16px;
}

.download-status #download-max {
    color: rgba(255, 255, 255, 0.8);
}

/* 今日下载记录样式 */
.today-downloads-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 60vh;
    overflow-y: auto;
}

.today-download-item {
    padding: 15px;
    margin-bottom: 15px;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light);
}

/* 搜索容器样式 */
.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background-color: var(--bg-white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
    transform: translateY(-1px);
}

.search-scope {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    background-color: var(--bg-white);
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 120px;
}

.search-scope:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
    transform: translateY(-1px);
}

.search-button, .cancel-button {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.search-button {
    background-color: var(--primary-color);
    color: white;
}

.search-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

.cancel-button {
    background-color: var(--secondary-color);
    color: white;
}

.cancel-button:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(135, 206, 250, 0.3);
}

/* 搜索结果信息 */
.search-results-info {
    padding: 15px 20px;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* 搜索关键词高亮 */
.search-highlight {
    background-color: var(--accent-color);
    color: var(--text-primary);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* 搜索模式下的样式 */
.search-mode .breadcrumb {
    opacity: 0.8;
}

.search-mode .storage-info {
    opacity: 0.8;
}

/* 响应式搜索样式 */
@media (max-width: 768px) {
    .search-container {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }

    .search-input {
        flex: 1;
        min-width: 0;
        padding: 10px;
        font-size: 13px;
    }

    .search-scope {
        flex: 1;
        min-width: 100px;
        padding: 10px;
        font-size: 13px;
    }

    .search-button, .cancel-button {
        flex: 1;
        min-width: 0;
        padding: 10px;
        font-size: 13px;
    }
}

.today-download-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.download-item-header {
    margin-bottom: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-item-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

.download-item-name {
    font-size: 14px;
    color: var(--text-primary);
    flex: 1;
    word-break: break-all;
}

.download-item-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.download-item-path, .download-item-time {
    display: block;
    font-size: 13px;
    word-break: break-all;
    padding: 3px 0;
}

.download-item-actions {
    display: flex;
    justify-content: flex-end;
}

.download-item-actions .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* 页脚样式 */
.footer {
    background-color: var(--bg-white);
    border-top: 2px solid var(--primary-light);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
    padding: 30px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.footer-section p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 响应式页脚 */
@media (max-width: 768px) {
    .footer {
        padding: 20px 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 文件夹描述编辑器样式 */
.desc-editor-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.desc-editor-section,
.desc-preview-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.desc-editor-section label,
.desc-preview-section label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
}

.desc-textarea {
    width: 100%;
    height: 250px;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    resize: vertical;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
    line-height: 1.6;
}

.desc-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.desc-textarea::placeholder {
    color: var(--text-light);
}

.desc-preview {
    flex: 1;
    min-height: 250px;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light);
    font-size: 14px;
    overflow-y: auto;
    line-height: 1.8;
}

.desc-preview h1 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.desc-preview h2 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.desc-preview h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.desc-preview p {
    margin-bottom: 10px;
}

.desc-preview code {
    background-color: rgba(255, 105, 180, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--primary-dark);
}

.desc-preview a {
    color: var(--primary-color);
    text-decoration: none;
}

.desc-preview a:hover {
    text-decoration: underline;
}

.desc-preview hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 15px 0;
}

.desc-preview li {
    margin-left: 20px;
    margin-bottom: 5px;
}

.desc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.folder-desc {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.08) 0%, rgba(255, 105, 180, 0.03) 100%);
    border: 1px solid rgba(255, 105, 180, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 10px 20px;
    font-size: 13px;
    line-height: 1.6;
}

.folder-desc-content {
    color: var(--text-primary);
}

.folder-desc-content h1 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: var(--primary-dark);
}

.folder-desc-content h2 {
    font-size: 16px;
    margin: 10px 0 8px 0;
    color: var(--primary);
}

.folder-desc-content p {
    margin: 8px 0;
}

.folder-desc-content code {
    background: rgba(255, 105, 180, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--primary-dark);
}

.folder-desc-content a {
    color: var(--primary);
    text-decoration: none;
}

.folder-desc-content a:hover {
    text-decoration: underline;
}

.folder-desc-content ul, .folder-desc-content ol {
    margin: 8px 0;
    padding-left: 24px;
}

.folder-desc-content li {
    margin: 4px 0;
}
.file-desc {
    font-size: 11px;
    color: var(--text-tertiary, #888);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    font-style: italic;
}

/* 响应式描述编辑器 */
@media (max-width: 768px) {
    .desc-editor-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .desc-textarea,
    .desc-preview {
        height: 200px;
        min-height: 200px;
    }
    
    .desc-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .desc-actions button {
        width: 100%;
    }
}

/* 通知区域样式 */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    min-width: 280px;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
    backdrop-filter: blur(10px);
}

.notification.success {
    background: linear-gradient(135deg, var(--success-color), #4cae4c);
}

.notification.error {
    background: linear-gradient(135deg, var(--error-color), #c9302c);
}

.notification.warning {
    background: linear-gradient(135deg, var(--warning-color), #ec971f);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.notification-title {
    font-weight: bold;
    font-size: 14px;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.notification-close:hover {
    opacity: 1;
}

.notification-content {
    font-size: 13px;
    opacity: 0.95;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}