@charset "UTF-8";
/**
 * 葫芦侠三楼关注列表工具 - 样式文件
 *
 * @author 奶嘴
 * @version 3.4.0
 * @date 2026-03-01
 *
 * 修改记录：
 * 2026-03-01 奶嘴 - v3.4.0 移除管理面板和签到相关样式
 * 2026-03-01 奶嘴 - v3.3.0 优化签到功能样式
 * 2026-03-01 奶嘴 - v3.2.0 添加管理面板标签页样式
 * 2026-03-01 奶嘴 - v3.1.0 添加葫芦侠签到功能样式
 * 2026-03-01 奶嘴 - v3.0.0 更新版本号
 * 2026-03-01 奶嘴 - v2.7.0 创建独立CSS文件，从index.php中分离样式
 * 2026-02-XX 奶嘴 - 添加管理面板样式
 * 2026-02-XX 奶嘴 - 优化移动端响应式布局
 * 2025-08-XX 奶嘴 - 使用Arco Design风格重构界面
 */

/* ==================== CSS变量定义 ==================== */
/* 2026-03-01 奶嘴 - 定义全局颜色变量，便于主题切换 */
:root {
    --primary-color: #165dff;
    --hover-color: #4080ff;
    --bg-color: #f2f3f5;
    --card-bg: #ffffff;
    --text-primary: #1d2129;
    --text-secondary: #4e5969;
    --border-color: #e5e6eb;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ==================== 全局样式 ==================== */
/* 2026-03-01 奶嘴 - 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2026-03-01 奶嘴 - 设置全局字体和背景 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

/* 2026-03-01 奶嘴 - 主容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ==================== 头部样式 ==================== */
/* 2026-03-01 奶嘴 - 页面头部区域 */
.header {
    background: var(--card-bg);
    padding: 20px 0;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 2026-03-01 奶嘴 - Logo和标题样式 */
.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 2026-03-01 奶嘴 - 版本号标签 */
.version {
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(22, 93, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
    margin-left: 12px;
}

/* ==================== 更新日志样式 ==================== */
/* 2026-03-01 奶嘴 - 更新日志卡片 */
.update-log {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.update-log h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 2026-03-01 奶嘴 - 更新日志条目 */
.update-log-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

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

/* 2026-03-01 奶嘴 - 版本号标签 */
.update-version {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(22, 93, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    min-width: 70px;
    text-align: center;
}

/* 2026-03-01 奶嘴 - 更新日期 */
.update-date {
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: 8px;
}

/* 2026-03-01 奶嘴 - 更新内容 */
.update-content {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

.update-content ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.update-content li {
    margin: 4px 0;
}

/* ==================== 导航栏样式 ==================== */
/* 2026-03-01 奶嘴 - 标签页导航 */
.nav {
    display: flex;
    gap: 8px;
    background: var(--card-bg);
    padding: 8px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

/* 2026-03-01 奶嘴 - 导航按钮 */
.nav-item {
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item:hover {
    background: rgba(22, 93, 255, 0.05);
    color: var(--primary-color);
}

/* 2026-03-01 奶嘴 - 激活状态的导航按钮 */
.nav-item.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(22, 93, 255, 0.3);
}

/* ==================== 内容区域样式 ==================== */
/* 2026-03-01 奶嘴 - 内容区域切换动画 */
.section {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 卡片样式 ==================== */
/* 2026-03-01 奶嘴 - 通用卡片容器 */
.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

/* 2026-03-01 奶嘴 - 卡片标题 */
.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

/* ==================== 表单样式 ==================== */
/* 2026-03-01 奶嘴 - 输入框组 */
.input-group {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-end;
}

/* 2026-03-01 奶嘴 - 输入框包装器 */
.input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 2026-03-01 奶嘴 - 输入框标签 */
.input-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 2026-03-01 奶嘴 - 输入框样式 */
.input-field {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: var(--card-bg);
    color: var(--text-primary);
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
}

/* 2026-03-01 奶嘴 - 小尺寸输入框 */
.input-field.small {
    width: 120px;
}

/* ==================== 按钮样式 ==================== */
/* 2026-03-01 奶嘴 - 通用按钮 */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

/* 2026-03-01 奶嘴 - 主要按钮 */
.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--hover-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}

/* 2026-03-01 奶嘴 - 次要按钮 */
.btn-secondary {
    background: #f2f3f5;
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: #e5e6eb;
}

/* 2026-03-01 奶嘴 - 小尺寸按钮 */
.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

/* ==================== 表格样式 ==================== */
/* 2026-03-01 奶嘴 - 表格容器 */
.table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* 2026-03-01 奶嘴 - 表格 */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
}

/* 2026-03-01 奶嘴 - 表头 */
.table th {
    background: #f7f8fa;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

/* 2026-03-01 奶嘴 - 表格单元格 */
.table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

/* 2026-03-01 奶嘴 - 表格行悬停效果 */
.table tbody tr:hover {
    background: #f7f8fa;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ==================== 头像样式 ==================== */
/* 2026-03-01 奶嘴 - 用户头像 */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.avatar:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

/* ==================== 加载状态样式 ==================== */
/* 2026-03-01 奶嘴 - 加载动画 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    flex-direction: column;
    gap: 16px;
}

/* 2026-03-01 奶嘴 - 旋转加载器 */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== 空状态样式 ==================== */
/* 2026-03-01 奶嘴 - 空数据提示 */
.empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ==================== 错误提示样式 ==================== */
/* 2026-03-01 奶嘴 - 错误消息 */
.error {
    background: #ffece8;
    border: 1px solid #ffcdc5;
    border-radius: 8px;
    padding: 16px;
    color: #d41d1d;
    margin: 16px 0;
    display: none;
}

.error.success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
}

/* ==================== 分页样式 ==================== */
/* 2026-03-01 奶嘴 - 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

/* 2026-03-01 奶嘴 - 分页信息 */
.page-info {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==================== 筛选区域样式 ==================== */
/* 2026-03-01 奶嘴 - 筛选栏 */
.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==================== 操作按钮组样式 ==================== */
/* 2026-03-01 奶嘴 - 历史记录操作按钮组 */
.history-actions {
    display: flex;
    gap: 8px;
}

/* ==================== 签到功能样式 ==================== */
/* 2026-03-01 奶嘴 - 签到摘要卡片 */
.signin-summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.signin-summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.signin-summary-header i {
    font-size: 28px;
}

.signin-summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.signin-stat-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.signin-stat-label {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.signin-stat-value {
    font-size: 24px;
    font-weight: 700;
}

.signin-stat-highlight {
    background: rgba(255, 255, 255, 0.25);
}

.signin-summary-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.signin-summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.signin-summary-item i {
    font-size: 16px;
}

/* 2026-03-01 奶嘴 - 签到状态标签 */
.signin-status-success {
    color: #00b42a;
    font-weight: 600;
}

.signin-status-success i {
    margin-right: 4px;
}

.signin-status-fail {
    color: #f53f3f;
    font-weight: 600;
}

.signin-status-fail i {
    margin-right: 4px;
}

/* ==================== 管理面板标签页样式 ==================== */
/* 2026-03-01 奶嘴 - 管理面板标签导航 */
.admin-tabs {
    display: flex;
    gap: 8px;
    margin: 20px 0;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
}

.admin-tab-item {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: -2px;
}

.admin-tab-item:hover {
    color: var(--primary-color);
    background: rgba(22, 93, 255, 0.05);
}

.admin-tab-item.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

.admin-tab-item i {
    font-size: 16px;
}

/* 2026-03-01 奶嘴 - 管理面板标签内容 */
.admin-tab-content {
    display: none;
    padding: 20px 0;
    animation: fadeIn 0.3s ease;
}

.admin-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 响应式设计 ==================== */
/* 2026-03-01 奶嘴 - 移动端适配（768px以下） */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }

    .header-content {
        padding: 0 12px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .logo {
        font-size: 18px;
        justify-content: center;
    }

    .version {
        font-size: 10px;
        padding: 2px 6px;
        margin-left: 8px;
    }

    .card {
        padding: 16px;
        border-radius: 8px;
    }

    .card-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

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

    .signin-summary-footer {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .admin-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-tab-item {
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 13px;
    }

    /* 2026-03-01 奶嘴 - 移动端输入框垂直排列 */
    .input-group {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 16px;
    }

    .input-wrapper {
        width: 100%;
    }

    .input-label {
        font-size: 13px;
        display: block;
        margin-bottom: 4px;
    }

    /* 移动端最近查询优化 */
    .input-label span {
        display: block !important;
        margin-left: 0 !important;
        margin-top: 6px;
        font-size: 10px !important;
    }

    .input-label span span {
        display: flex !important;
        flex-wrap: wrap;
        gap: 6px !important;
        margin-top: 4px;
    }

    .input-label span span a {
        font-size: 10px !important;
        padding: 2px 6px;
        background: rgba(102, 126, 234, 0.1);
        border-radius: 4px;
        margin-right: 0 !important;
    }

    .input-field {
        width: 100%;
        padding: 10px 12px;
        font-size: 14px;
    }

    .input-field.small {
        width: 100%;
    }

    /* 2026-03-01 奶嘴 - 移动端按钮全宽 */
    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-small {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* 2026-03-01 奶嘴 - 移动端导航横向滚动 */
    .nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 6px;
        gap: 6px;
        margin-bottom: 16px;
    }

    .nav-item {
        padding: 10px 16px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* 2026-03-01 奶嘴 - 移动端表格优化 */
    .table-container {
        border-radius: 6px;
    }

    .table {
        font-size: 12px;
    }

    .table th,
    .table td {
        padding: 8px 6px;
        font-size: 11px;
    }

    .table th {
        font-size: 12px;
    }

    /* 2026-03-01 奶嘴 - 移动端头像缩小 */
    .avatar {
        width: 32px;
        height: 32px;
    }

    /* 2026-03-01 奶嘴 - 移动端筛选区域垂直排列 */
    .filter-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .filter-section h2 {
        font-size: 16px;
    }

    .filter-section input {
        width: 100% !important;
        font-size: 14px;
    }

    /* 2026-03-01 奶嘴 - 移动端操作按钮垂直排列 */
    .history-actions {
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }

    .history-actions .btn {
        width: 100%;
        font-size: 11px;
        padding: 6px 10px;
    }

    /* 2026-03-01 奶嘴 - 移动端更新日志优化 */
    .update-log {
        padding: 16px;
        border-radius: 8px;
    }

    .update-log h3 {
        font-size: 16px;
    }

    .update-log-item {
        flex-direction: column;
        gap: 8px;
        padding: 10px 0;
    }

    .update-version {
        font-size: 12px;
        width: auto;
    }

    .update-content {
        font-size: 13px;
    }

    .update-content ul {
        margin-left: 16px;
    }

    /* 2026-03-01 奶嘴 - 移动端分页优化 */
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 16px;
    }

    .pagination .btn {
        flex: 1;
        min-width: 100px;
        font-size: 13px;
        padding: 10px 16px;
    }

    .page-info {
        width: 100%;
        text-align: center;
        font-size: 13px;
    }

    /* 移动端加载状态优化 */
    .loading {
        padding: 40px 20px;
    }

    .spinner {
        width: 28px;
        height: 28px;
    }

    /* 移动端空状态优化 */
    .empty {
        padding: 40px 20px;
    }

    .empty-icon {
        font-size: 36px;
    }

    /* 移动端错误提示优化 */
    .error {
        padding: 12px;
        font-size: 13px;
        border-radius: 6px;
    }
}

/* ==================== 深色模式支持 ==================== */
/* 2026-03-01 奶嘴 - 深色模式颜色变量 */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0f0f0f;
        --card-bg: #1a1a1a;
        --text-primary: #e5e6eb;
        --text-secondary: #86909c;
        --border-color: #2a2a2b;
    }
}
