/* 默认风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

:root {
    --metallic-gold: linear-gradient(135deg, #f8d49f 0%, #f6c453 50%, #e6ac27 100%);
    --metallic-silver: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 50%, #a9a9a9 100%);
    --metallic-dark: linear-gradient(135deg, #333333 0%, #555555 50%, #333333 100%);
    --gold-text-shadow: 0 0 5px rgba(255, 215, 0, 0.7);
    --silver-text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    overscroll-behavior: none;
    /* touch-action: none; */
}

.user-header {
    background: var(--metallic-dark);
    height: 120px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 2px;
    border-bottom: 2px solid transparent;
    border-image: var(--metallic-gold) 1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.user-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    color: white;
    background-color: white;
}

.user-header .header-inline {
    color: white;
    background-color: inherit;
    text-align: center;
    /* padding: 20px 0; */
    /* 添加以下样式 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-header h1 {
    margin: 0 0 -5px 0; 
    color: #fff;
    font-size: 24px;
    margin-left: 5px;
}

.user-header p {
    margin: 0; 
    font-size: 14px; 
    color: #fff; 
    text-align: center;
}

.user-header span {
    margin: 0; 
    font-size: 14px; 
    color: #fff; 
    text-align: center;
}

.user-header.user-header-only-with-title {
    height: 60px;
}

.user-header .header-title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    text-align: center;
}

.user-header .title {
    margin: 0;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
}

.user-header .sub-title {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: #fff;
    font-weight: 300;
    line-height: 1.2;
}

.header-button-area {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
    width: 100%;
}

/* 挨着userhead下的按钮菜单 */
.header-button {
    background-color: #333;
    border: none;
    color: white;
    padding: 8px 8px;
    min-width: 70px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-top: 10px;
    margin-left: 5px;
}

.header-button:hover {
    background-color: #45a049;
}

/* 表头搜索框开始 */
.header-search-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
    flex-wrap: nowrap; /* 防止元素换行 */
    overflow-x: auto; /* 空间不足时显示水平滚动条 */
    padding-bottom: 8px; /* 为滚动条预留空间 */
}

.header-search-container::-webkit-scrollbar {
    height: 4px; /* 设置滚动条高度 */
}

.header-search-container::-webkit-scrollbar-thumb {
    background-color: #ccc; /* 设置滚动条颜色 */
    border-radius: 2px; /* 设置滚动条圆角 */
}

.header-search-container input {
    flex-grow: 0; 
    width: 200px; /* 可按需调整输入框宽度 */
    padding: 8px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    margin-right: 10px; 
    box-sizing: border-box; 
    min-width: 100px; /* 设置最小宽度防止元素过小 */
}

.header-search-container button {
    padding: 8px 15px; 
    background-color: #007BFF; 
    color: white; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    transition: background-color 0.3s; 
    margin-right: 10px; 
    white-space: nowrap; /* 防止按钮文本换行 */
}

.header-search-container span {
    white-space: nowrap; /* 防止搜索结果换行 */
    margin-left: 10px;
}
/* 表头搜索框结束 */

.header-menu-container {
    display: flex; /* 使用 Flexbox 布局 */
    flex-direction: row; /* 让子元素水平排列 */
    flex-wrap: wrap; 
    align-items: flex-end; 
    justify-content: flex-start; /* 子元素从容器起始位置开始排列 */
    gap: 2px; /* 子元素之间的间距，可按需调整 */
    margin-bottom: 20px;
    margin-left: 0px;
}

.menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* 仅保留必要间距 */
    margin: 30; /* 移除所有外边距 */
    padding: 0; /* 移除所有内边距 */
    background: none; /* 确保无背景 */
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-top: 30px;
}

/* 菜单项 - 上图标下文字 */
.menu-box {
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 80px;
}

.header-menu-container .menu-box {
    min-width: 60px;
}

.menu-box:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--menu-active);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* 菜单项图标 */
.menu-icon {
    font-size: 30px; /* 适当图标大小 */
    margin-bottom: 3px; /* 图标与文字间距 */
    color: #007BFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 菜单项文字 */
.menu-text {
    font-size: 14px; /* 紧凑文字大小 */
    color: white; /* 文字颜色 */
    text-align: center;
    line-height: 1.2; /* 紧凑行高 */
    color: black;
}

/* 表单按钮 */
.form-button {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px;
    cursor: pointer;
    font-size: 16px;
    /* 设置固定宽度 */
    width: 100px;
    /* 设置按钮居中 */
    margin: 0 auto;
    display: block;
    /* 添加过渡效果 */
    transition: all 0.3s ease;
    /* 添加阴影效果 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.form-button:hover {
    background-color: #333;
    /* 悬停时轻微上移 */
    transform: translateY(-2px);
    /* 悬停时增加阴影 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.table-container {
    overflow-x: auto; /* 启用水平滚动 */
    max-width: 100%; /* 限制容器宽度 */
    margin-bottom: 20px;
}

/* 日期筛选器容器开始 */
.date-filter-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.date-filter-container .date-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 300px;
}

.date-filter-container .date-group {
    flex: 1;
    min-width: 120px;
}

.date-filter-container .date-separator {
    color: var(--medium-gray);
    padding: 0 5px;
    white-space: nowrap;
}

.date-filter-container input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.date-filter-container input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 75, 140, 0.1);
}

.date-filter-container .search-btn {
    padding: 12px 24px;
    background-color: #083a6b;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
    min-width: 120px;
}

.date-filter-container .search-btn:hover {
    background-color: #083a6b;
    transform: translateY(-2px);
}

.date-filter-container .search-btn:active {
    transform: translateY(0);
}

.date-filter-container .search-btn i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .date-filter-container .date-filter {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }

    .date-filter-container .date-controls {
        width: 100%;
        min-width: 0;
    }

    .date-filter-container .date-group {
        min-width: 0;
    }

    .date-filter-container .search-btn {
        width: 100%;
    }
}
/* 日期筛选器容器结束 */

/* 必填项标识 */
.required-field {
    position: relative;
}

.required-field::after {
    content: " *";
    color: red;
    font-weight: bold;
}

/* FIFA风格表格样式 */
.user-table-1 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.user-table-1 thead {
    position: sticky;
    top: 0;
    z-index: 3;
}

/* 固定第一列 */
.user-table-1 th:first-child,
.user-table-1 td:first-child {
    position: sticky;
    left: 0;
    background-color: inherit;
    font-weight: bold;
    z-index: 2;
    min-width: 80px; /* 保持第一列80px */
    color: inherit;
}

.user-table-1 th:first-child {
    background-color: #0a2463;
    border-radius: 8px 0 0 0;
    color: white;
}

.user-table-1 th {
    background-color: #0a2463;
    color: white;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    position: relative;
    cursor: pointer;
}

.user-table-1 th:hover {
    background-color: #1e3a8a;
}

/* 排序指示器 */
.user-table-1 th::after {
    /* content: '\f0dc'; */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
    opacity: 0.6;
}

.user-table-1 th.asc::after {
    content: '\f0de';
    opacity: 1;
}

.user-table-1 th.desc::after {
    content: '\f0dd';
    opacity: 1;
}

.user-table-1 tr {
    background-color: white;
}

/* .user-table-1 tr:hover { */
/* } */

.user-table-1 tbody tr:nth-child(odd) {
    /* background-color: #333333; */
    color: black;
}
.user-table-1 tbody tr:nth-child(even) {
    /* background-color: black; */
    color: black;
}

.user-table-1 td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    min-width: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 表格风格样式1结束 */

/* 分页控件样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
    gap: 8px; /* 减小间距 */
    flex-wrap: nowrap; /* 禁止换行 */
    overflow-x: auto; /* 横向溢出时允许滚动 */
    padding: 5px 0; /* 添加上下内边距 */
}
.pagination::-webkit-scrollbar {
    height: 4px; /* 滚动条高度 */
}
.pagination::-webkit-scrollbar-thumb {
    background-color: #ccc; /* 滚动条颜色 */
    border-radius: 2px;
}
.pagination-arrow {
    padding: 4px 10px; /* 减小按钮内边距 */
    border: 1px solid #007BFF;
    background-color: white;
    color: #007BFF;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}
.page-input {
    width: 45px; /* 减小输入框宽度 */
    padding: 4px; /* 减小内边距 */
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.page-size-select {
    padding: 4px; /* 减小下拉框内边距 */
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    white-space: nowrap;
}
#paginationInfo {
    margin-right: 5px;
    white-space: nowrap;
    font-size: 14px; /* 减小字体大小 */
}
/* 分页控件样式结束 */


/* 操作按钮 */
.action-button { 
    padding: 7px 10px; 
    background-color: #333;
    color: white; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    transition: background-color 0.3s; 
    font-size: 12px;
    width: 70px;
} 

/* 底部菜单 */
.bottom-menu {
    display: flex;
    justify-content: space-around;
    background: var(--metallic-dark);
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.bottom-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--menu-inactive);
    text-decoration: none;
    font-size: 12px;
    flex: 1;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.bottom-menu-item.active {
    color: var(--menu-active);
}

.bottom-menu-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.bottom-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .bottom-menu-item i {
        font-size: 18px;
    }
    .bottom-menu-item span {
        font-size: 11px;
    }
}

.date-search-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 浮动按钮开始 */
.floating-btn {
    position: fixed;
     /* width: 80px; */
    /* height: 80px;  */
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    padding: 12px;
}

.floating-btn i {
    font-size: 24px;
    margin-bottom: 3px;
}

.floating-btn span {
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.floating-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.5);
    /* background: linear-gradient(135deg, #43A047 0%, #7CB342 100%); */
}

.floating-btn:active {
    transform: translateY(2px) scale(0.98);
}

/* <div class="no-search-result-hint">
    <i class="fas fa-search"></i>
    <p>没有找到相关活动记录</p>
    <span>请尝试联系球队管理员或检查搜索条件</span>
</div> */
.no-search-result-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 20px;
}

.no-search-result-hint i {
    font-size: 56px;
    color: #ccc;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.no-search-result-hint p {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.no-search-result-hint span {
    font-size: 14px;
    color: #999;
    line-height: 1.5;
}

.no-search-result-hint:hover i {
    transform: scale(1.1);
}

.no-search-result-hint.error {
    background-color: #fff2f0;
}

.no-search-result-hint.error i {
    color: #ff4d4f;
}

.no-search-result-hint.error .no-search-result-hint-title {
    color: #ff4d4f;
}
/* 浮动按钮结束 */

/* 自定义确认弹窗开始 */
.custom-confirm-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;
}

.custom-confirm-modal .content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-confirm-modal .header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.custom-confirm-modal .header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.custom-confirm-modal .body {
    padding: 20px;
}

.custom-confirm-modal .body p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.custom-confirm-modal .footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.custom-confirm-modal button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.custom-confirm-modal .footer .cancel-btn {
    background-color: #f5f5f5;
    color: #666;
}

.custom-confirm-modal .footer .cancel-btn:hover {
    background-color: #e0e0e0;
}

.custom-confirm-modal .footer .ok-btn {
    background-color: #ff4d4f;
    color: white;
}

.custom-confirm-modal .footer .ok-btn:hover {
    background-color: #ff7875;
}
/* 自定义确认弹窗结束 */

/* TAB 1 容器样式开始 */
/* <div class="tab-container">
        <div class="tab-nav">
            <button class="tab-btn active" onclick="switchTab(event, 'internal-events')">
                <i class="fas fa-home"></i> 内部赛事
            </button>
            <button class="tab-btn" onclick="switchTab(event, 'external-events')">
                <i class="fas fa-globe"></i> 外部赛事
            </button>
        </div>

        <!-- 内部赛事内容 -->
        <div id="internal-events" class="tab-content active"> */
.tab-container {
    width: 100%;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-nav {
    display: flex;
    background: var(--metallic-dark);
}

.tab-btn {
    flex: 1;
    padding: 12px 15px;
    text-align: center;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn.active {
    color: #f6c453;
    font-weight: bold;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--metallic-gold);
}

.tab-content {
    padding: 15px;
    background-color: white;
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* TAB 1 容器样式结束 */

/* TAB 2 容器样式开始 */
/* <div class="tab-container">
        <div class="tab-nav">
            <button class="tab-btn active" onclick="switchTab(event, 'internal-events')">
                <i class="fas fa-home"></i> 内部赛事
            </button>
            <button class="tab-btn" onclick="switchTab(event, 'external-events')">
                <i class="fas fa-globe"></i> 外部赛事
            </button>
        </div>

        <!-- 内部赛事内容 -->
        <div id="internal-events" class="tab-content active"> */
.simple-tab-container {
    width: 100%;
    margin: 5px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
}

.simple-tab-container .tab-nav {
    display: flex;
    color: #333;
    background: #fafafa; /* 更浅的背景色 */
    border-bottom: 1px solid #e0e0e0;
}

.simple-tab-container .tab-btn {
    flex: 1;
    padding: 14px 15px;
    text-align: center;
    color: #666; /* 稍微浅一点的文字颜色 */
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.simple-tab-container .tab-btn:hover {
    color: #333; /* 悬停时加深颜色 */
    background-color: rgba(0,0,0,0.03);
}

.simple-tab-container .tab-btn.active {
    color: #333;
    font-weight: 600;
}

.simple-tab-container .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #007bff; /* 激活状态的下划线 */
    border-radius: 3px 3px 0 0;
}

.simple-tab-container .tab-content {
    padding: 20px;
    background-color: white;
    display: none;
}

.simple-tab-container .tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* TAB 2 容器样式结束 */

/* 添加加载指示器样式 */
.loading-overlay-with-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-overlay-with-spinner .spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4CAF50;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 默认风格结束 */

/* 暗黑科技风 */
.user-header.dark-tech {
    background: #0f172a;
    border-image: linear-gradient(90deg, #6366f1, #8b5cf6) 1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.bottom-menu.dark-tech {

    background: #1e293b;
}

.bottom-menu.dark-tech .bottom-menu-item {
    color: #e0f2fe;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.bottom-menu.dark-tech .bottom-menu-item:hover {
    background: rgba(56, 189, 248, 0.2);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}
/* 暗黑科技风结束 */

/* 极简主义样式 */
.user-header.minimal {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: none;
}

.bottom-menu.minimal {
    background: #f8fafc;
    border-radius: 0;
}

.bottom-menu.minimal .bottom-menu-item {
    color: #334155;
    padding: 8px 16px;
    margin: 0 2px;
}

.bottom-menu.minimal .bottom-menu-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}
/* 极简主义样式结束 */

/* 活力色彩风样式 */
.user-header.vibrant {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border: none;
    border-radius: 8px 8px 0 0;
}

.bottom-menu.vibrant {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.bottom-menu.vibrant .bottom-menu-item {
    color: #ec4899;
    font-weight: 600;
    border-radius: 20px;
}

.bottom-menu.vibrant .bottom-menu-item:hover {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
}
/* 活力色彩风样式结束 */

/* 复古像素风样式 */
.user-header.pixel {
    background: #c2e0ff;
    border-bottom: 4px solid #3b82f6;
    box-shadow: none;
}

.bottom-menu.pixel {
    background: #93c5fd;
    padding: 8px 0;
}

.bottom-menu.pixel .bottom-menu-item {
    color: #1e40af;
    font-family: "Press Start 2P", cursive;
    font-size: 12px;
    padding: 4px 8px;
    border: 2px solid #1e40af;
}

.bottom-menu.pixel .bottom-menu-item:hover {
    background: #1e40af;
    color: white;
}
/* 复古像素风样式结束 */

/* 自然有机风样式 */
.user-header.natural {
    background: linear-gradient(to right, #dcfce7, #bbf7d0);
    border-bottom: 5px solid #4ade80;
}

.user-header.natural p, .user-header.natural h1, .user-header.natural span {
    color: black;
}

.bottom-menu.natural {
    background: #f0fdf4;
    border-radius: 20px;
    margin: 10px 0;
}

.bottom-menu.natural .bottom-menu-item {
    color: #166534;
    border-radius: 16px;
}

.bottom-menu.natural .bottom-menu-item:hover {
    background: #bbf7d0;
}
/* 自然有机风样式结束 */

/* FIFA足球风格颜色变量 */
:root {
    --fifa-green: #006400; /* 足球场绿色 */
    --fifa-dark-green: #004d00; /* 深绿色 */
    --fifa-gold: #ffd700; /* 金色 */
    --fifa-light-gold: #fffacd; /* 浅金色 */
    --fifa-blue: #003366; /* 深蓝色 */
    --fifa-red: #cc0000; /* 红色强调 */
    --fifa-white: #f8f9fa; /* 白色文本 */
    --fifa-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* FIFA风格头部 */
.user-header.fifa {
    background: linear-gradient(135deg, var(--fifa-dark-green), var(--fifa-green));
    height: 120px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--fifa-gold);
    box-shadow: var(--fifa-shadow);
    position: relative;
}

.user-header.fifa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="5" fill="rgba(255,215,0,0.1)"/></svg>');
    opacity: 0.3;
}

.user-header.fifa img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--fifa-gold);
    object-fit: cover;
    position: relative;
}

.user-header.fifa h1 {
    margin: 0 0 -5px 15px;
    color: var(--fifa-white);
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    position: relative;
}

.user-header.fifa span {
    margin: 0 0 0 15px;
    font-size: 16px;
    color: var(--fifa-light-gold);
    text-align: left;
    position: relative;
}
.bottom-menu.fifa {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(to top, var(--fifa-dark-green), var(--fifa-green));
    padding: 12px 0;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.3);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 2px solid var(--fifa-gold);
}

.bottom-menu-item.fifa {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--fifa-light-gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    flex: 1;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
}

.bottom-menu-item.fifa.active {
    color: var(--fifa-gold);
}

.bottom-menu-item.fifa i {
    font-size: 24px;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.bottom-menu-item.fifa:hover {

    background-color: rgba(255,215,0,0.2);
    transform: translateY(-3px);
}

.bottom-menu-item.fifa::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--fifa-gold);
    transition: width 0.3s ease;
}

.bottom-menu-item.fifa:hover::after {
    width: 80%;
}
/* FIFA风格结束 */