/* ============================================
   冰梦云 · 部署管理 - 完整样式表
   存放路径：网站根目录 /dashboard.css
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    overflow: hidden;
    background-image: url('2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ========== 公告弹窗 - 透明玻璃 ========== */
.announcement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.announcement-overlay.hidden {
    display: none;
}

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

.announcement-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 28px;
    padding: 36px 30px 28px;
    max-width: 520px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.announcement-card .announce-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.announcement-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.announcement-card .announce-body {
    text-align: left;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 24px;
    max-height: 240px;
    overflow-y: auto;
}

.btn-acknowledge {
    background: #007aff;
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 28px;
    font-weight: 650;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
}

.btn-acknowledge:hover {
    background: #0056cc;
    transform: translateY(-1px);
}

/* ========== 编辑器弹窗 ========== */
.editor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.editor-overlay.hidden {
    display: none;
}

.editor-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-radius: 24px;
    padding: 28px;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.editor-card h3 {
    margin-bottom: 12px;
    flex-shrink: 0;
    color: #1d1d1f;
}

.editor-card textarea {
    flex: 1;
    min-height: 250px;
    margin-bottom: 12px;
    width: 100%;
    padding: 15px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.5);
    font-family: 'SF Mono', 'Menlo', 'Monaco', monospace;
    font-size: 13px;
    outline: none;
    resize: vertical;
    color: #1c1c1e;
}

.editor-card textarea:focus {
    border-color: #007aff;
}

.editor-card .editor-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* ========== 整体布局 ========== */
.app-container {
    display: flex;
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ========== PC端侧边栏 - 独立毛玻璃圆角卡片 ========== */
.sidebar {
    width: 270px;
    min-width: 270px;
    height: calc(100vh - 32px);
    margin: 16px 0 16px 16px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    padding: 24px 18px;
    z-index: 20;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    padding-left: 8px;
}

.logo-icon {
    font-size: 30px;
    color: #007aff;
    filter: drop-shadow(0 4px 8px rgba(0, 122, 255, 0.25));
}

.logo-text {
    font-weight: 700;
    font-size: 24px;
    color: #1c1c1e;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    color: #3a3a3c;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.28s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.nav-item i {
    font-size: 20px;
    width: 24px;
    text-align: center;
    color: #8e8e93;
    transition: color 0.28s;
}

.nav-item.active {
    background: rgba(0, 122, 255, 0.12);
    color: #007aff;
    font-weight: 600;
}

.nav-item.active i {
    color: #007aff;
}

.nav-item:hover:not(.active) {
    background: rgba(0, 0, 0, 0.04);
}

.user-info-sidebar {
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1c1c1e;
}

/* ========== 侧边栏分割线 ========== */
.sidebar-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 8px 0;
}

/* ========== 反馈按钮 ========== */
.btn-feedback {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 122, 255, 0.2);
    background: rgba(0, 122, 255, 0.05);
    color: #007aff;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    width: 100%;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.btn-feedback:hover {
    background: rgba(0, 122, 255, 0.1);
}

/* ========== 右侧主内容区 - 独立高斯模糊卡片 ========== */
.main-content {
    flex: 1;
    padding: 16px 16px 16px 8px;
    overflow-y: auto;
    position: relative;
    z-index: 10;
}

.content-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 28px;
    padding: 32px;
    min-height: calc(100vh - 32px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
}

/* ========== 页面切换动画 ========== */
.page {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.page.active-page {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ========== 所有卡片统一玻璃质感 ========== */
.card,
.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
}

h2 {
    font-size: 26px;
    font-weight: 650;
    color: #1d1d1f;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* ========== 高对比度文字全局 ========== */
.page h2, .page h3, .card h2, .card h3,
p, span, label, td, th, .setting-row label,
.domain-table td, .stat-label, .used-text, .name,
.stat-badge, .stat-number {
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* ========== 液态玻璃快捷统计卡片 ========== */
.quick-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.quick-stat-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 18px;
    padding: 18px 14px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.quick-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.3);
}

.quick-stat-card .stat-value {
    font-size: 26px;
    font-weight: 800;
    color: #007aff;
    text-shadow: 0 0 10px rgba(0, 122, 255, 0.2);
    margin-bottom: 4px;
}

.quick-stat-card .stat-label {
    font-size: 12px;
    color: #555;
    font-weight: 550;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* ========== CPU 圆形仪表盘 + 流量图（玻璃质感） ========== */
.monitor-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 20px;
}

.cpu-circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 28px 32px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    min-width: 180px;
    flex-shrink: 0;
}

.cpu-circle {
    position: relative;
    width: 130px;
    height: 130px;
}

.cpu-circle svg {
    transform: rotate(-90deg);
    width: 130px;
    height: 130px;
}

.cpu-circle .bg-circle {
    fill: none;
    stroke: rgba(0, 0, 0, 0.06);
    stroke-width: 10;
}

.cpu-circle .progress-circle {
    fill: none;
    stroke: #007aff;
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s ease;
}

.cpu-circle .cpu-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.cpu-circle .cpu-percent {
    font-size: 32px;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -1px;
}

.cpu-circle .cpu-label {
    font-size: 13px;
    color: #8e8e93;
    font-weight: 500;
    margin-top: 2px;
}

.traffic-chart-container {
    flex: 1;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.traffic-chart-container h3 {
    margin-bottom: 4px;
    flex-shrink: 0;
}

.traffic-current {
    font-size: 14px;
    color: #007aff;
    font-weight: 600;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.traffic-canvas-wrap {
    flex: 1;
    position: relative;
    min-height: 120px;
    overflow: hidden;
}

.traffic-canvas-wrap canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========== 账户卡片（玻璃质感） ========== */
.account-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.account-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.account-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007aff, #5856d6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.account-details p {
    margin: 2px 0;
    font-size: 14px;
    color: #555;
}

.account-details .name {
    font-size: 18px;
    font-weight: 650;
    color: #1d1d1f;
}

.storage-info {
    text-align: right;
}

.storage-info .used-text {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}

.progress-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    margin: 6px 0;
    width: 180px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #007aff;
    border-radius: 8px;
    transition: width 0.5s ease;
}

/* ========== 统计标签 ========== */
.stats-grid {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.stat-badge {
    background: rgba(0, 122, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px 22px;
    border-radius: 22px;
    font-weight: 550;
    color: #007aff;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ========== 按钮 ========== */
button {
    background: #007aff;
    border: none;
    color: white;
    padding: 13px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 6px 18px rgba(0, 122, 255, 0.25);
}

button.secondary {
    background: rgba(0, 0, 0, 0.06);
    color: #1c1c1e;
    box-shadow: none;
}

button.danger {
    background: rgba(255, 59, 48, 0.12);
    color: #ff3b30;
    box-shadow: none;
}

button.small {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 16px;
}

button:active {
    transform: scale(0.96);
}

/* ========== 输入框 ========== */
input,
select {
    width: 100%;
    padding: 15px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 10px 0 18px;
    font-size: 16px;
    outline: none;
    transition: border 0.2s;
    color: #1c1c1e;
}

input:focus,
select:focus {
    border-color: #007aff;
    background: rgba(255, 255, 255, 0.6);
}

/* ========== 网站卡片（玻璃质感） ========== */
.site-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px 22px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.25s ease;
}

.site-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

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

.site-card-id {
    font-size: 13px;
    color: #8e8e93;
    font-weight: 500;
}

.site-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.site-card-url {
    font-size: 13px;
    color: #007aff;
    margin-bottom: 6px;
    word-break: break-all;
}

.site-card-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #8e8e93;
    margin-bottom: 12px;
}

.site-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.site-card-actions button,
.site-card-actions a {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
}

.btn-visit {
    background: #007aff;
    color: white;
}

.btn-template {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
}

.btn-files {
    background: rgba(0, 0, 0, 0.06);
    color: #555;
}

/* ========== 文件列表（玻璃质感） ========== */
.file-list {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 10px;
    margin-top: 16px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.file-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.file-row:hover {
    background: rgba(0, 122, 255, 0.04);
    border-radius: 12px;
}

.file-row .file-actions {
    display: flex;
    gap: 6px;
}

/* ========== 模板页面（玻璃质感） ========== */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.template-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.25s ease;
}

.template-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.template-card .template-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.template-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1d1d1f;
}

.template-card p {
    font-size: 12px;
    color: #8e8e93;
}

/* ========== 域名表格 ========== */
.domain-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.domain-table th,
.domain-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.domain-table th {
    font-size: 13px;
    font-weight: 600;
    color: #8e8e93;
}

.domain-table td {
    font-size: 14px;
    color: #1d1d1f;
}

.domain-table .btn-claim {
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: #007aff;
    color: white;
}

.domain-table .btn-claim:disabled {
    background: rgba(0, 0, 0, 0.1);
    color: #999;
    cursor: not-allowed;
}

.quota-badge {
    display: inline-block;
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.site-type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.site-type-free {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
}

.site-type-domain {
    background: rgba(255, 149, 0, 0.1);
    color: #ff9500;
}

/* ========== 手机端底部导航 - 可滑动 ========== */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-radius: 36px;
    padding: 10px 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.5);
    z-index: 1000;
    display: flex;
    gap: 16px;
    max-width: 95vw;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-nav::-webkit-scrollbar {
    display: none;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8e8e93;
    font-size: 11px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 30px;
    transition: all 0.25s ease;
    cursor: pointer;
    flex-shrink: 0;
    min-width: 48px;
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.mobile-nav-item.active {
    color: #007aff;
    background: rgba(0, 122, 255, 0.12);
}

/* ========== Toast 提示 ========== */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: #1c1c1e;
    color: white;
    padding: 14px 28px;
    border-radius: 40px;
    z-index: 9999;
    font-weight: 500;
    animation: slideIn 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.toast.error {
    background: #ff3b30;
}

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

/* ========== 设置页面 ========== */
.settings-section {
    margin-bottom: 20px;
}

.settings-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.setting-row label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    min-width: 140px;
}

.opacity-slider {
    flex: 1;
    min-width: 180px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    outline: none;
    margin: 0 !important;
    padding: 0 !important;
}

.opacity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #007aff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
    border: 3px solid white;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.theme-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 14px;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.theme-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.theme-card.active {
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.theme-preview {
    width: 100%;
    height: 60px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.theme-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 2px;
}

.theme-card p {
    font-size: 11px;
    color: #8e8e93;
}

.theme-active-badge {
    display: inline-block;
    background: #007aff;
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
}

/* ========== 反馈弹窗 ========== */
.feedback-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.feedback-overlay.hidden {
    display: none;
}

.feedback-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    max-width: 480px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feedback-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.feedback-card textarea {
    width: 100%;
    height: 150px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    outline: none;
    resize: vertical;
    margin-bottom: 12px;
    color: #1d1d1f;
    font-family: inherit;
}

.feedback-card textarea:focus {
    border-color: #007aff;
}

.feedback-card input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    outline: none;
    margin-bottom: 12px;
}

.feedback-card .feedback-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* ========== 响应式：手机端 ========== */
@media (max-width: 768px) {
    body {
        background-image: url('1.jpg') !important;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        padding: 12px;
        padding-bottom: 120px;
    }

    .content-card {
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 24px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        padding: 20px;
        min-height: auto;
    }

    .card,
    .glass-card,
    .cpu-circle-container,
    .traffic-chart-container,
    .account-card,
    .site-card,
    .file-list,
    .template-card {
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .quick-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .monitor-row {
        flex-direction: column;
    }

    input,
    select {
        background: rgba(255, 255, 255, 0.45);
    }

    .mobile-nav {
        display: flex;
    }

    .account-card {
        flex-direction: column;
        text-align: center;
    }

    .storage-info {
        text-align: center;
    }

    .progress-bar {
        margin: 6px auto;
    }
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
}

.flex-row {
    display: flex;
    gap: 10px;
    align-items: center;
}