.custom-badge-sm {
    font-size: 0.75em;
    padding: 0.25em 0.4em;
}

.top-headers {
    background-color: transparent;  /* 改为透明背景 */
    padding-bottom: 0;
    position: relative;
    border-bottom: none;
    margin-bottom: -1px;  /* 添加负边距使其与下方内容重合 */
}

.top-headers::after {
    content: '';
    position: absolute;
    bottom: 0;  /* 调整位置 */
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(228, 226, 226);  /* 适配夜间模式的颜色 */
    z-index: 1;
}

.nav-tabs {
    border-bottom: none;
    position: relative;
    z-index: 2;  /* 提高层级 */
    margin-bottom: 0;  /* 移除底部边距 */
}

/* 其他样式保持不变 */
.nav-tabs .nav-link {
    border: none;
    padding: 0.5rem 1rem 1rem;
   
    transition: color 0.2s;
}

.nav-tabs .nav-link:hover {
    
    border: none;
    background: transparent;
}

.nav-tabs .nav-link.active {
    border: none;
    color: #0d6efd;
    background: transparent;
    position: relative;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0d6efd;
}





.profile-list {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
}

.profile-list-item {
    display: block;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.profile-list-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #333;
}

.icon-container {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 1rem;
    padding-left: 1rem;
     /* 添加左内边距 */
}


/* 自定义下拉按钮样式 */
/* 当前页码样式 */
.current-page {
    border: 1px solid #0d6efd;
    background-color: #fff;
    padding: 0.1rem 0.5rem;
    border-radius: 0.2rem;
    color: #333;
    font-size: 0.875rem;
    line-height: 1;
}

/* 每页条数下拉按钮样式 */
.per-page-dropdown .per-page-btn {
    color: #333 !important;
    border-color: #0d6efd !important;
    background-color: #fff !important;
}

.per-page-dropdown .per-page-btn:hover,
.per-page-dropdown .per-page-btn:focus,
.per-page-dropdown .per-page-btn:active,
.per-page-dropdown .per-page-btn.active {
    color: #333 !important;
    border-color: #0d6efd !important;
    background-color: #fff !important;
}

.per-page-dropdown .per-page-btn:focus,
.per-page-dropdown .per-page-btn.focus {
    box-shadow: none !important;
}

/* 下拉菜单样式 */
.per-page-dropdown .per-page-menu {
    min-width: 80px;
    border: none;
    font-size: 0.875rem;
}

.per-page-dropdown .per-page-menu .dropdown-item.active {
    background-color: #f8f9fa;
    color: #2178fc;
    font-weight: normal;
}

.current-page {
    border: 1px solid #0d6efd;
    background-color: #fff;
    padding: 0.1rem 0.5rem;  /* 减小上下内边距 */
    border-radius: 0.2rem;
    color: #333;
    font-size: 0.875rem;  /* 可选：使字体稍小，与按钮一致 */
    line-height: 1.7;  /* 减小行高 */
}


#unfollowConfirmModal .modal-content {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#unfollowConfirmModal .modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

#unfollowConfirmModal .modal-body {
    color: #666;
    font-size: 0.95rem;
}

#unfollowConfirmModal .unfollow-cancel-btn,
#unfollowConfirmModal .unfollow-confirm-btn {
    font-size: 0.9rem;
    padding: 0.375rem 1.5rem;
    border-radius: 4px;
}

#unfollowConfirmModal .unfollow-cancel-btn {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

#unfollowConfirmModal .unfollow-cancel-btn:hover {
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

#unfollowConfirmModal .modal-dialog {
    max-width: 320px;
}

#unfollowConfirmModal .close {
    outline: none !important;  /* 移除点击时的外边框 */
    box-shadow: none !important;  /* 移除阴影 */
}

#unfollowConfirmModal .close:focus {
    outline: none !important;
}



.follow-text {
    font-size: 15px;  /* 默认字体大小 */
}

@media (max-width: 768px) {
    .follow-text {
        font-size: 16px;  /* 移动端字体大小 */
    }
}

.media-icons {
    margin: 0 .5rem;
    padding: 0 .5rem;
    border-left: 1px solid var(--izone-gray-1-1);
}



.position-fixed {
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.message-toast {
    box-shadow: 0 3px 6px -4px rgba(0,0,0,.12), 0 6px 16px 0 rgba(0,0,0,.08);
    min-width: 240px;
    animation: slideIn 0.3s ease-in-out;
    max-height: 45px;
}

.bg-success {
    background-color: #61abff !important;
}

.bg-error, .bg-danger {
    background-color: #fc7c7c !important;
}

.bg-warning {
    background-color: #f8b754 !important;
}

.bg-info {
    background-color: #b4b8be !important;
}

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

#loading-overlay {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}


.reg-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.reg-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.reg-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 20px 40px;
    background: #f8f9fa;
    border-radius: 10px;
}

.reg-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.reg-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

.reg-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.reg-step.reg-active .reg-step-number {
    background-color: #007bff;
    color: white;
}

.reg-step-title {
    font-size: 14px;
    color: #666;
}

.reg-header {
    margin-bottom: 30px;
    text-align: center;
}

.reg-title {
    margin-bottom: 10px;
    color: #333;
}

.reg-type {
    margin-bottom: 20px;
}

.reg-badge {
    background: #e9ecef;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

.reg-fields {
    margin-bottom: 30px;
}

.reg-fields p {
    margin-bottom: 20px;
}

.reg-fields label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.reg-fields input[type="text"],
.reg-fields input[type="email"],
.reg-fields input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.reg-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.reg-btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.reg-btn-primary {
    background-color: #007bff;
    color: white;
}

.reg-btn-primary:hover {
    background-color: #0056b3;
}

.reg-btn-secondary {
    background-color: #6c757d;
    color: white;
}

.reg-btn-secondary:hover {
    background-color: #545b62;
}

/* 错误消息样式 */
.reg-fields .errorlist {
    color: #dc3545;
    list-style: none;
    padding: 0;
    margin: 5px 0 0;
    font-size: 14px;
}

/* 帮助文本样式 */
.reg-fields .helptext {
    color: #6c757d;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* 验证码相关样式 */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.captcha-input {
    flex: 1;
}

.captcha-image {
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-image img {
    height: 35px;  /* 降低高度 */
    width: auto;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.refresh-captcha {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #007bff;
    cursor: pointer;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.refresh-captcha:hover {
    background-color: #e9ecef;
    color: #0056b3;
}

/* 添加验证码输入框样式 */
input[name="captcha"] {
    font-size: 18px;  /* 增大输入字体 */
    letter-spacing: 2px;  /* 增加字母间距 */
    text-align: center;  /* 居中显示 */
    font-weight: 500;  /* 稍微加粗 */
}

/* 保留原有样式 */
/* ... */

/* 添加响应式设计 */
@media (max-width: 768px) {
    .reg-container {
        padding: 0 10px;
        margin: 20px auto;
    }
    
    .reg-card {
        padding: 20px 15px;
    }
    
    .reg-steps {
        padding: 15px 10px;
        margin-bottom: 25px;
    }
    
    .reg-step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .reg-step-title {
        font-size: 12px;
    }
    
    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .captcha-image {
        width: 100%;
        justify-content: space-between;
    }
    
    .captcha-image img {
        height: 40px;
        width: auto;
    }
    
    .refresh-captcha {
        background: transparent;  /* 透明背景 */
        border: none; 
        padding: 4px 8px;
        font-size: 12px;
    }
    
    input[name="captcha"] {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .reg-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .reg-buttons button {
        width: 100%;
    }
}

/* 针对特小屏幕的额外调整 */
@media (max-width: 375px) {
    .reg-step-title {
        font-size: 10px;
    }
    
    .reg-title {
        font-size: 20px;
    }
}



/* 排行榜样式 */
.ctf-ranking-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.ctf-ranking-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ctf-ranking-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.ctf-ranking-body {
    padding: 0;
}

/* 返回按钮样式 */
.ctf-back-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    color: #6c757d;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ctf-back-btn:hover {
    color: #007bff;
    text-decoration: none;
    background-color: rgba(0, 123, 255, 0.05);
}

.ctf-back-btn i {
    font-size: 14px;
    margin-right: 2px;
}

/* 标签切换按钮 - 优化版 */
.ctf-tab-group {
    display: inline-flex;
    gap: 8px;
    padding: 4px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: none;
}

.ctf-tab-btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.ctf-tab-btn:first-child {
    border-radius: 8px;
}

.ctf-tab-btn:last-child {
    border-radius: 8px;
}

.ctf-tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: #495057;
    text-decoration: none;
    transform: translateY(-1px);
}

.ctf-tab-active {
    background-color: #fff;
    color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.ctf-tab-active:hover {
    background-color: #fff;
    color: #007bff;
    transform: translateY(0);
}

/* 排行榜表格样式 */
.ctf-ranking-table {
    width: 100%;
    background: #fff;
    border-collapse: collapse;
}

.ctf-ranking-table th {
    padding: 1rem 1.5rem;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    background-color: #f8f9fa;
    text-align: left;
}

.ctf-ranking-table td {
    padding: 1rem 1.5rem;
    font-size: 14px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

/* 列样式 */
.ctf-rank-col {
    width: 80px;
    text-align: center;
}

.ctf-user-col {
    min-width: 180px;
}

.ctf-team-col {
    min-width: 180px;
}

.ctf-score-col {
    width: 100px;
    text-align: center;
}

/* 排名标记 */
.ctf-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ctf-rank-1 {
    background: linear-gradient(135deg, #ffd700, #f9a825);
    color: #fff;
}

.ctf-rank-2 {
    background: linear-gradient(135deg, #e0e0e0, #9e9e9e);
    color: #fff;
}

.ctf-rank-3 {
    background: linear-gradient(135deg, #d7ccc8, #a1887f);
    color: #fff;
}

.ctf-rank-number {
    color: #6c757d;
    font-weight: 500;
}

/* 用户信息样式 */
.ctf-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
}

.ctf-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ctf-user-avatar-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    flex-shrink: 0;
}

.ctf-user-name {
    font-weight: 500;
    color: #2d3436;
    max-width: 150px;
    display: inline-block;
}

.ctf-team-name {
    max-width: 150px;
    display: inline-block;
}

/* 得分样式 */
.ctf-points {
    font-weight: 600;
    color: #007bff;
}

.ctf-solved-count {
    color: #28a745;
    font-weight: 500;
}

/* 空数据提示 */
.ctf-empty-message {
    text-align: center;
    padding: 2.5rem !important;
    color: #6c757d;
    font-size: 14px;
    background-color: #f8f9fa;
}

/* 表格悬停效果 */
.ctf-ranking-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .ctf-ranking-header {
        padding: 1rem;
    }
    
    .ctf-ranking-title {
        font-size: 16px;
    }
    
    .ctf-tab-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .ctf-ranking-table th,
    .ctf-ranking-table td {
        padding: 0.75rem 1rem;
        font-size: 13px;
    }
    
    .ctf-rank-badge {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .ctf-user-avatar,
    .ctf-user-avatar-placeholder {
        width: 24px;
        height: 24px;
    }
    
    .ctf-user-name,
    .ctf-team-name {
        max-width: 120px;
    }
}

@media (max-width: 576px) {
    .ctf-ranking-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .ctf-ranking-header > div {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }
    
    .ctf-tab-group {
        width: 100%;
    }
    
    .ctf-tab-btn {
        flex: 1;
        text-align: center;
    }
    
    .ctf-user-name,
    .ctf-team-name {
        max-width: 100px;
    }
    
    .ctf-ranking-table th:not(.ctf-rank-col):not(.ctf-score-col),
    .ctf-ranking-table td:not(.ctf-rank-col):not(.ctf-score-col) {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}



.modal-content {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  
  .modal .close {
    background: transparent;
    border: none !important;
    outline: none !important;
    font-size: 1.5rem;
    opacity: 0.5;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
  }
  
  .modal .close:hover {
    opacity: 0.8;
  }
  
  .modal-header {
    align-items: center;
  }
  
  .modal-title {
    font-weight: 600;
  }




/* 鼓励 */
/* 使用ctf前缀避免类名冲突 */
/* 简约现代的励志语录样式 */
.ctf-quote-section {
    background-color: #fff;
    padding: 5px 0 15px;
    border-bottom: 1px solid #f0f0f0;
}

.ctf-quote-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 10px 20px;
    position: relative;
}

.ctf-quote-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    font-weight: 400;
    text-align: center;
    position: relative;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 15px;
    letter-spacing: 0.01em;
}

.ctf-quote-content::before,
.ctf-quote-content::after {
    content: "";
    position: absolute;
    height: 20px;
    width: 1px;
    background: linear-gradient(to bottom, #a5a7a8, transparent);
}

.ctf-quote-content::before {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.ctf-quote-content::after {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.ctf-quote-author {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #1d2225;
    font-weight: 500;
}

/* 使用ctf特定前缀的动画类 */
.ctf-fade-in {
    animation: ctfFadeIn 1s forwards;
}

.ctf-fade-out {
    animation: ctfFadeOut 0.5s forwards;
}

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

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


.knowledge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 5px 0;
  }
  
.knowledge-item {
    display: inline-block;
    padding: 5px 12px;
    background-color: rgba(12, 60, 133, 0.05);
    color: #0366df;
    border: 1px solid rgba(127, 170, 235, 0.1);
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.knowledge-item:hover {
    background-color: rgba(13, 110, 253, 0.1);
    color: #074086;
    border-color: rgba(13, 110, 253, 0.15);
    text-decoration: none;
}




/* 比赛倒计时 */
.comp-countdown-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.comp-status-badge {
    background-color: #e6efff;
    color: #4775FF;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.comp-status-ongoing {
    background-color: #e3fcef;
    color: #10b981;
}

.comp-status-ended {
    background-color: #e6efff;
    color: #4775FF;
}

.comp-timer-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: default;
}

.comp-time-group {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.comp-time-block {
    display: inline-block;
    background-color: #e6f0ff;
    color: #333;
    min-width: 32px;
    height: 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 32px;
    margin-right: 2px;
}

@media (max-width: 400px) {
    .comp-countdown-flex {
        flex-direction: column;
        gap: 8px;
    }
    
    .comp-timer-wrapper {
        justify-content: center;
    }
}
/* 结束 */





.challenge-detail-tags .tag-cloud {
    margin: 8px 0;
  }
  
  .challenge-detail-tags .tags {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 15px;
  }
  
  /* 分类标签 */
  .challenge-detail-tags .challenge-category-badge {
    background-color: rgba(227, 242, 253, 0.7);
    color: #1565c0;
  }
  
  /* 难度标签 */
  .challenge-detail-tags .challenge-difficulty-badge {
    background-color: rgba(255, 248, 225, 0.7);
    color: #ff8f00;
  }
  
  /* 主题标签 */
  .challenge-detail-tags .challenge-topic-badge {
    background-color: rgba(241, 248, 233, 0.7);
    color: #558b2f;
  }
  
  /* 会员标签 */
  .challenge-detail-tags .challenge-member-badge {
    background-color: rgba(232, 234, 246, 0.7);
    color: #3949ab;
  }
  
  /* 未公开标签 */
  .challenge-detail-tags .challenge-inactive-badge {
    background-color: rgba(245, 245, 245, 0.7);
    color: #757575;
  }


.jobdetailtag{
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 15px;
    background-color: rgba(191, 215, 248, 0.7);
    color: #1565c0;

}

.comp-tags{
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 8px;
  background-color: rgba(191, 215, 248, 0.7);
  color: #1565c0;
  font-size: 14px;

}

.comp-tags-gf{
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 8px;
  background-color: rgba(191, 215, 248, 0.7);
  color: #fc3943;
  font-size: 14px;

}

  .user-coins-card {
    background: linear-gradient(45deg, #2196F3, #3F51B5);
    border-radius: 15px;
    padding: 25px;
    color: white;
    margin-bottom: 30px;
}
.modal .close:focus {
    outline: 0;
    box-shadow: none;
}



.exchange-btn {
    padding: 6px;
     /* 减少内边距 */
    /* border: none; */
    border-radius: 6px;
     /* 调整字体大小 */
    /* font-weight: 500; */
    /* cursor: pointer;
    transition: all 0.3s ease; */
    text-align: center;
    border: none;
    width: 100%;
}

.exchange-btn:not(:disabled) {
    background: #2196F3;
    color: white;
}

.exchange-btn:not(:disabled):hover {
    background: #1976D2;
}

.exchange-btn:disabled {
    background: #E0E0E0;
    color: #9E9E9E;
    cursor: not-allowed;
}

.history-section {
    margin-top: 50px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.history-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th,
.history-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.history-table th {
    font-weight: 600;
    color: #666;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.status-pending {
    background: #FFF3E0;
    color: #FF9800;
}

.status-completed {
    background: #E8F5E9;
    color: #4CAF50;
}

  /* 分类标签 */

@media (min-width: 992px) {  /* lg 屏幕及以上 */
    .rewards-row {
        width: 100%;
    }
}

.reward-meta {
    font-size: 14px;
    color: #333;
    display: flex;
    gap: 10px;
}

.coins,
.stock {
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.coins {
    color: #158cfc; /* 金币颜色 */
}

.stock {
    color: #158cfc; /* 库存颜色 */
}




/* =========================================================
   小红书极简白 · 分类悬浮图片顶部 · 手机 2 列 · 无红色主题
   ========================================================= */

:root {
  --theme: #464545;          /* 主文字 */
  --theme-light: #555;    /* 副文字 */
  --border: #eee;         /* 线条 */
  --bg: #fff;
  --blue: #1890ff;              /* 卡片背景 */
  --shadow: 0 4px 16px rgba(58, 125, 248, 0.06);
  --shadow-hover: 0 8px 24px rgba(52, 174, 245, 0.1);
  --radius: 12px;
}

/* 瀑布流容器 */
.snow-waterfall {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

/* 卡片基础 */
.snow-card {
  width: 100%;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .35s ease;
  will-change: transform, box-shadow;
  position: relative;      /* 让分类绝对定位参考 */
}
.snow-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* 图片容器 */
.snow-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;   /* 正方形 */
  position: relative;
  overflow: hidden;

}
.snow-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.snow-card:hover .snow-card-image img {
  transform: scale(1.05);
}

/* 分类悬浮在图片左上角 */
.snow-card-meta {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: calc(100% - 12px);
  opacity: 0;              /* 关键：看不见 */
  transform: translateY(-4px);
  transition: all .25s ease;
  pointer-events: none;    /* 防止提前触发 tooltip */
}
.snow-card:hover .snow-card-meta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 分类 & 标签样式（无红色） */
.snow-category,
.snow-tag {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .7rem;    /* 再小一点 */
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(0,0,0,.55);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(2px);
  transition: background .25s;
}

.snow-category:hover,
.snow-tag:hover {
  color: var(--blue);
}
.snow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1 1 100%;      /* 强制满行 */
}
/* 内容区 */
.snow-card-content {
  padding: 12px 14px 10px;
}
.snow-card-title {
  margin: 0 0 6px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
}

.snow-card-title a:hover {
  color: var(--blue);
}
.snow-card-summary {
  font-size: .82rem;
  color: var(--theme-light);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 作者栏 */
.snow-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: .8rem;
}
.snow-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.snow-author a {
  color: var(--theme-light);
  text-decoration: none;
}
.snow-stats {
  margin-left: auto;
  color: var(--theme-light);
}

/* 加载动画 */
.snow-loading-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 20px 0;
}
.snow-loading-dots .snow-dot {
  width: 8px;
  height: 8px;
  background: var(--theme-light);
  border-radius: 50%;
  animation: dotPulse 1.4s infinite ease-in-out;
}
.snow-loading-dots .snow-dot:nth-child(2) { animation-delay: .2s; }
.snow-loading-dots .snow-dot:nth-child(3) { animation-delay: .4s; }
@keyframes dotPulse {
  0%,100% { transform: scale(.4); opacity: .3; }
  50%     { transform: scale(1); opacity: 1; }
}

/* 手机端 2 列 */
@media (max-width: 576px) {
  .snow-waterfall > .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 4px;
  }
}






.profile-card {
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
    border-radius: 12px !important;
    overflow: hidden;
    border: none !important;
    margin-bottom: 20px;
    background-color: #fff;
  }
  .profile-modal {
    border-radius: 10px;
    overflow: hidden;
  }
  
  .profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  }
  
  .profile-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
    background-color: #fff;
    border-radius: 12px 12px 0 0;
    padding: 16px 20px;
    position: relative;
  }
  
  .profile-header h6 {
    font-weight: 600;
    color: #333;
    margin: 0;
    font-size: 1rem;
  }
  
  .profile-avatar {
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100px;
    height: 100px;
    object-fit: cover;
  }
  
  .profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
  }
  
  .profile-tag {
    transition: all 0.2s ease;
    border-radius: 20px;
    padding: 3px 10px;
    background-color: #f8f9fa;
    color: #555;
    font-size: 0.75rem;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
  }
  
  .profile-tag:hover {
    transform: scale(1.05);
    background-color: #f0f2f5;
  }
  
  .profile-tag-primary {
    background-color: #e6f3ff;
    color: #0d6efd;
  }
  
  .profile-tag-success {
    background-color: #e6f8e6;
    color: #198754;
  }
  
  .profile-tag-warning {
    background-color: #fff8e6;
    color: #ffc107;
  }
  
  .profile-tag-danger {
    background-color: #ffe6e6;
    color: #dc3545;
  }
  
  .profile-list-item {
    border-radius: 10px;
    transition: all 0.25s ease;
    margin-bottom: 12px;
    padding: 15px;
    display: block;
    color: inherit;
    text-decoration: none;
    border: 1px solid #f8f9fa;
    background-color: #fff;
  }
  
  .profile-list-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    text-decoration: none;
    color: inherit;
  }
  
  .profile-stat {
    text-align: center;
    padding: 8px 10px;
    transition: all 0.2s ease;
  }
  
  .profile-stat:hover {
    background-color: rgba(13, 110, 253, 0.05);
    border-radius: 8px;
  }
  
  .profile-stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 3px;
  }
  
  .profile-stat-value {
    font-weight: bold;
    font-size: 1.1rem;
    color: #343a40;
    transition: all 0.3s ease;
  }
  
  .profile-stat:hover .profile-stat-value {
    transform: scale(1.1);
    color: #0d6efd;
  }
  
  .profile-nav-wrapper {
    padding: 0;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  
  .profile-nav-wrapper::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
  }
  
  .profile-nav-tabs {
    border-bottom: none !important;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 2px;
  }
  
  .profile-nav-item .nav-link {
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-right: 5px;
    border: none !important;
    color: #6c757d;
    font-size: 0.9rem;
  }
  
  .profile-nav-item .nav-link:hover {
    background-color: rgba(13, 110, 253, 0.05);
    color: #0d6efd;
  }
  
  .profile-nav-item .nav-link.active {
    font-weight: 600;
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.08);
  }
  
  .profile-content-wrapper {
    padding: 20px 15px 10px;
  }
  
  .profile-empty {
    padding: 40px 0;
    color: #adb5bd;
    text-align: center;
  }
  
  .profile-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
  }
  
  .profile-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 10px;
    padding: 8px 0;
  }
  
  .profile-pagination-page {
    font-weight: bold;
    color: #0d6efd;
    margin: 0 10px;
  }
  
  .profile-pagination-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #6c757d;
    border: none;
    transition: all 0.2s ease;
    border-radius: 4px;
  }
  
  .profile-pagination-btn:hover {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
  }
  
  .profile-pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }
  
  .profile-per-page {
    border-radius: 6px;
    background-color: transparent;
    border: 1px solid #dee2e6;
    font-size: 0.85rem;
    padding: 4px 12px;
    color: #555;
    margin-left: 10px;
  }
  
  .profile-per-page:hover {
    background-color: #f8f9fa;
  }
  
  .profile-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.7rem;
    display: inline-block;
    margin-top: 8px;
  }
  
  .profile-badge-admin {
    background-color: #ffe6e6;
    color: #dc3545;
  }
  
  .profile-badge-member {
    background-color: #fff8e6;
    color: #ffc107;
  }
  
  .profile-badge-normal {
    background-color: #f0f2f5;
    color: #6c757d;
  }
  
  .profile-bio {
    background-color: #f8f9fa;
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 15px;
  }
  
  .profile-follow-stats {
    display: flex;
    justify-content: center;
    padding: 10px 0;
  }
  
  .profile-follow-item {
    padding: 0 15px;
    text-align: center;
    position: relative;
  }
  
  .profile-follow-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: #e6e9ed;
  }
  
  .profile-follow-count {
    font-weight: bold;
    font-size: 1.1rem;
    color: #343a40;
  }
  
  .profile-follow-label {
    font-size: 0.8rem;
    color: #6c757d;
  }
  
  .profile-invite-code {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(0,0,0,0.05);
  }
  
  .profile-invite-code span {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
  }
  
  .profile-invite-copy {
    cursor: pointer;
    color: #0d6efd;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    padding: 5px;
  }
  
  .profile-invite-copy:hover {
    transform: scale(1.2);
    color: #0a58ca;
  }
  
  .invite-code-section {
    margin-bottom: 10px;
  }
  
  .invite-code-section .text-center {
    margin-top: 8px;
  }
  
  
  .profile-item-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    color: #333;
  }
  
  .profile-item-desc {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.5;
  }
  
  .profile-item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  
  .profile-item-meta-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
    color: #6c757d;
    font-size: 0.8rem;
  }
  
  .profile-item-meta-item i {
    margin-right: 4px;
    font-size: 0.85rem;
  }
  
  /* 响应式调整 */
  @media (max-width: 768px) {
    .profile-stat {
      padding: 6px 8px;
    }
    
    .profile-avatar {
      width: 80px;
      height: 80px;
    }
    
    .profile-nav-item .nav-link {
      padding: 6px 12px;
      font-size: 0.85rem;
    }
  }
  
  /* 列表项初始状态（用于动画） */
  .profile-list-item {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  /* 队伍操作按钮样式 - 无边框版本 */
  .team-action {
    display: flex;
    align-items: center;
  }
  
  .team-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    transition: all 0.2s ease;
    background-color: transparent;
    border: none !important;
    outline: none !important;
    color: #6c757d;
    padding: 0;
    cursor: pointer;
    box-shadow: none;
  }
  
  .team-action-btn:hover {
    transform: translateY(-2px);
    background-color: #f8f9fa;
  }
  
  .team-action-btn:focus {
    box-shadow: none;
  }
  
  .team-action-btn.view-btn:hover {
    color: #0d6efd;
  }
  
  .team-action-btn.leave-btn:hover {
    color: #ffc107;
  }
  
  .team-action-btn.dissolve-btn:hover {
    color: #dc3545;
  }
  
  .team-action-btn i {
    font-size: 0.9rem;
  }
  
  .team-members {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    gap: 5px;
  }
  
  .team-member {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 3px 10px;
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    align-items: center;
  }
  
  .team-member.leader {
    background-color: #fff8e6;
    color: #ffc107;
  }
  
  .team-member i {
    font-size: 0.7rem;
    margin-right: 4px;
  }
  
  /* 模态框样式优化 */
  .modal-content {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  
  .modal .close {
    background: transparent;
    border: none !important;
    outline: none !important;
    font-size: 1.5rem;
    opacity: 0.5;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
  }
  
  .modal .close:hover {
    opacity: 0.8;
  }
  
  .modal-header {
    align-items: center;
  }
  
  .modal-title {
    font-weight: 600;
  }
  
  /* 关注和粉丝模态框样式 */
  .follow-modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  
  .follow-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #ffffff;
    border-radius: 12px 12px 0 0;
  }
  
  .follow-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
  }
  
  .follow-modal-body {
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
  }
  
  .follow-list-container {
    min-height: 150px;
  }
  
  .follow-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    color: #888;
  }
  
  .follow-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: follow-spin 1s linear infinite;
    margin-bottom: 10px;
  }
  
  @keyframes follow-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .follow-user-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s;
  }
  
  .follow-user-item:last-child {
    border-bottom: none;
  }
  
  .follow-user-item:hover {
    background-color: #f9f9f9;
  }
  
  .follow-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 1px solid #eee;
  }
  
  .follow-user-info {
    flex: 1;
  }
  
  .follow-user-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
  }
  
  .follow-user-badge {
    display: inline-block;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 5px;
    background-color: #e3f2fd;
    color: #1976d2;
  }
  
  .follow-user-bio {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
  }
  
  .follow-action-btn {
    min-width: 64px;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.2s;
  }
  
  .follow-action-btn .spinner-border-sm {
    width: 0.8rem;
    height: 0.8rem;
    border-width: 0.15em;
    vertical-align: middle;
    margin-right: 2px;
  }
  
  .follow-empty {
    text-align: center;
    padding: 30px 20px;
    color: #888;
  }
  
  .follow-empty-icon {
    font-size: 40px;
    color: #ddd;
    margin-bottom: 10px;
  }
  
  /* 让关注和粉丝数字可点击 */
  #following-item, #followers-item {
    cursor: pointer;
    transition: transform 0.2s;
  }
  
  #following-item:hover, #followers-item:hover {
    transform: translateY(-2px);
  }
  
  /* 响应式调整 */
  @media (max-width: 576px) {
    .follow-user-bio {
      max-width: 150px;
    }
  }
  
  /* 添加分页相关样式 */
  .follow-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    background-color: #fff;
  }
  
  .follow-pagination-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #6c757d;
    border: none;
    transition: all 0.2s ease;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .follow-pagination-btn:hover:not(.disabled) {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
  }
  
  .follow-pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }
  
  .follow-pagination-page {
    font-weight: 600;
    color: #0d6efd;
    margin: 0 10px;
    font-size: 14px;
  }
  
  .follow-pagination-info {
    font-size: 12px;
    color: #6c757d;
    margin-right: 10px;
  }




  .challenge-timeline {
    position: relative;
    margin-left: 10px;     /* 更紧凑 */
    padding-left: 15px;  /* 给圆点留空间 */
    border-left: 2px solid #d4f5d6; /* 竖线 */
  }
  
  .challenge-timeline-item {
    position: relative;
  }
  
  .challenge-timeline-item.last {
    border-left: none; /* 最后一条不显示竖线 */
  }
  
  .challenge-timeline-icon {
    width: 24px;
    height: 24px;
    background: #d4f5d6;
    color: #198754;
    flex-shrink: 0;
    position: relative;
    left: -28px; /* 圆点更贴近竖线 */
    z-index: 1;
    font-size: 14px;
  }
  
  .challenge-timeline-content {
    line-height: 1.6;
    display: flex;
    margin-left: -16px;
    justify-content: space-between;

    min-width: 0; /* 关键：让子元素的 text-truncate 生效 */
  }
  
  .challenge-timeline-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* 保证单行 */
  }
  
  .challenge-timeline-content .text-nowrap {
    flex-shrink: 0; /* 防止时间被挤换行 */
  }
  
  
   
  /*比赛题目创建*/


  .comp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.comp-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 25px;
    border: none;
}

.comp-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.comp-form-group {
    margin-bottom: 22px;
}

.comp-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
    font-size: 0.95rem;
}

.comp-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
    background-color: #fafafa;
}

.comp-input:focus {
    border-color: #6591f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(101, 145, 241, 0.1);
    background-color: #fff;
}

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

.comp-select {
    height: 42px;
    background-color: #fafafa;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.comp-btn {
    display: inline-block;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.85rem;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comp-btn-primary {
    background-color: #6591f1;
    color: white;
}

.comp-btn-primary:hover {
    background-color: #5080e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(101, 145, 241, 0.2);
}

.comp-btn-light {
    background-color: #f5f5f5;
    color: #444;
}

.comp-btn-light:hover {
    background-color: #e9e9e9;
    transform: translateY(-1px);
}

.comp-help-text {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}

.comp-required {
    color: #e74c3c;
    margin-left: 3px;
}

.comp-invalid-feedback {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.comp-input.is-invalid {
    border-color: #e74c3c;
    background-color: #fff9f9;
}

.comp-input.is-invalid + .comp-invalid-feedback {
    display: block;
}

.comp-alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comp-alert-info {
    background-color: #e3f2fd;
    color: #0c5460;
    border-left: 4px solid #4fc3f7;
}

.comp-alert-icon {
    font-size: 18px;
    margin-right: 12px;
    color: #4fc3f7;
}

.comp-form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.comp-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.comp-form-section-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #444;
}

/* 自定义复选框样式 */
.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.8rem;
    margin-bottom: 10px;
    z-index: 5;
}

.custom-control-input {
    position: absolute;
    z-index: 6;
    opacity: 1;
    width: 20px;
    height: 20px;
    left: 0;
    top: 2px;
    cursor: pointer;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    cursor: pointer;
    padding-left: 10px;
    display: inline-block;
}

/* 移除可能导致遮挡的伪元素 */
.custom-control-label::before,
.custom-control-label::after {
    display: none;
}

.comp-radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.comp-radio-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.comp-radio-item input[type="radio"] {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .comp-radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* 添加验证码样式 */
.captcha-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.captcha-input {
    flex: 1;
    margin-right: 10px;
}

.captcha-image {
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #e0e0e0;
}

.captcha-refresh {
    margin-left: 10px;
    color: #6591f1;
    cursor: pointer;
    font-size: 16px;
}

.captcha-refresh:hover {
    color: #5080e0;
}

  /*比赛题目创建结束*/



  



.comp-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #444;
}

.comp-btn {
    display: inline-block;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.85rem;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comp-btn-primary {
    background-color: #6591f1;
    color: white;
}

.comp-btn-primary:hover {
    background-color: #5080e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(101, 145, 241, 0.2);
}

.comp-btn-light {
    background-color: #f5f5f5;
    color: #444;
}

.comp-btn-light:hover {
    background-color: #e9e9e9;
    transform: translateY(-1px);
}

.comp-challenge-list {
    margin-top: 20px;
    max-height: 500px;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    padding: 5px;
}

.comp-challenge-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s;
    background-color: #fafafa;
}

.comp-challenge-item:hover {
    background-color: #f5f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
}

.comp-challenge-checkbox {
    margin-right: 15px;
}

.comp-challenge-info {
    flex: 1;
    cursor: pointer;
}

.comp-challenge-title {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.comp-challenge-meta {
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    color: #777;
    gap: 12px;
}

.comp-challenge-meta-item {
    display: flex;
    align-items: center;
}

.comp-challenge-meta-item i {
    margin-right: 4px;
    color: #6591f1;
}

.comp-challenge-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
}

.comp-badge-web {
    background-color: #61affe;
    color: white;
}

.comp-badge-crypto {
    background-color: #9b59b6;
    color: white;
}

.comp-badge-pwn {
    background-color: #e74c3c;
    color: white;
}

.comp-badge-misc {
    background-color: #f1c40f;
    color: #333;
}

.comp-badge-rev {
    background-color: #2ecc71;
    color: white;
}

.comp-badge-easy {
    background-color: #2ecc71;
    color: white;
}

.comp-badge-medium {
    background-color: #f1c40f;
    color: #333;
}

.comp-badge-hard {
    background-color: #e74c3c;
    color: white;
}

.comp-search-box {
    display: flex;
    margin-bottom: 20px;
}

.comp-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    transition: all 0.2s;
    background-color: #fafafa;
}

.comp-search-input:focus {
    outline: none;
    border-color: #6591f1;
    background-color: #fff;
}

.comp-search-btn {
    padding: 10px 15px;
    background-color: #6591f1;
    color: white;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.comp-search-btn:hover {
    background-color: #5080e0;
}

.comp-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.comp-filter-item {
    padding: 6px 12px;
    background-color: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.comp-filter-item:hover {
    background-color: #e9e9e9;
    transform: translateY(-1px);
}

.comp-filter-item.active {
    background-color: #6591f1;
    color: white;
    box-shadow: 0 2px 5px rgba(101, 145, 241, 0.2);
}

.comp-selected-count {
    margin-top: 20px;
    font-weight: 500;
    color: #444;
    padding: 8px 12px;
    background-color: #f5f7ff;
    border-radius: 6px;
    display: inline-block;
}

.comp-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #777;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 20px;
}

.comp-empty-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ccc;
}

.comp-create-challenge {
    text-align: center;
    padding: 30px;
    background-color: #f5f7ff;
    border-radius: 12px;
    margin: 30px 0;
    border: 2px dashed #d0d9f0;
    transition: all 0.2s;
}

.comp-create-challenge:hover {
    background-color: #eef2ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(101, 145, 241, 0.1);
}

.comp-create-icon {
    font-size: 40px;
    color: #6591f1;
    margin-bottom: 15px;
}

.comp-create-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.comp-create-text {
    color: #666;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.comp-tabs {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 25px;
}

.comp-tab {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    margin-right: 10px;
}

.comp-tab:hover {
    color: #6591f1;
}

.comp-tab.active {
    color: #6591f1;
    border-bottom-color: #6591f1;
}

.comp-tab-content {
    display: none;
}

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

/* 自定义复选框样式 */
.comp-custom-checkbox {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
}

.comp-custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.comp-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f0f0f0;
    border-radius: 4px;
    transition: all 0.2s;
}

.comp-custom-checkbox:hover input ~ .comp-checkmark {
    background-color: #e0e0e0;
}

.comp-custom-checkbox input:checked ~ .comp-checkmark {
    background-color: #6591f1;
}

.comp-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.comp-custom-checkbox input:checked ~ .comp-checkmark:after {
    display: block;
}

.comp-custom-checkbox .comp-checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .comp-challenge-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .comp-filter-bar {
        overflow-x: auto;
        padding-bottom: 5px;
        flex-wrap: nowrap;
    }
}






.manage-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.manage-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 25px;
  border: none;
}

.manage-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}

.manage-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: #444;
}

.manage-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
}

.manage-tab {
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 500;
  color: #666;
  position: relative;
  transition: all 0.2s;
}

.manage-tab:hover {
  color: #5080e0;
}

.manage-tab.active {
  color: #5080e0;
}

.manage-tab.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #5080e0;
}

.manage-tab-content {
  display: none;
}

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

.manage-btn {
  display: inline-block;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.85rem;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.manage-btn-primary {
  background-color: #6591f1;
  color: white;
}

.manage-btn-primary:hover {
  background-color: #5080e0;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(101, 145, 241, 0.2);
  color: white;
  text-decoration: none;
}

.manage-btn-success {
  background-color: #4caf50;
  color: white;
}

.manage-btn-success:hover {
  background-color: #43a047;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(76, 175, 80, 0.2);
  color: white;
  text-decoration: none;
}

.manage-btn-danger {
  background-color: #f44336;
  color: white;
}

.manage-btn-danger:hover {
  background-color: #e53935;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(244, 67, 54, 0.2);
  color: white;
  text-decoration: none;
}

.manage-btn-light {
  background-color: #f5f5f5;
  color: #444;
}

.manage-btn-light:hover {
  background-color: #e9e9e9;
  transform: translateY(-1px);
  color: #333;
  text-decoration: none;
}

.manage-table {
  width: 100%;
  border-collapse: collapse;
}

.manage-table th,
.manage-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.manage-table th {
  font-weight: 500;
  color: #555;
  background-color: #f9f9f9;
}

.manage-table tr:hover {
  background-color: #f5f7ff;
}

.manage-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.manage-badge-success {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.manage-badge-warning {
  background-color: #fff8e1;
  color: #f57f17;
}

.manage-badge-danger {
  background-color: #ffebee;
  color: #c62828;
}

.manage-form-group {
  margin-bottom: 22px;
}

.manage-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: #444;
  font-size: 0.95rem;
}

.manage-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
  background-color: #fafafa;
}

.manage-input:focus {
  border-color: #6591f1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(101, 145, 241, 0.1);
  background-color: #fff;
}

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

.manage-select {
  height: 42px;
  background-color: #fafafa;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.manage-help-text {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}

.manage-required {
  color: #e74c3c;
  margin-left: 3px;
}

.manage-stats-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.manage-stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.manage-stats-title {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.manage-stats-value {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
}

.manage-stats-icon {
  float: right;
  font-size: 2rem;
  color: rgba(101, 145, 241, 0.2);
}

.manage-pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.manage-pagination-item {
  margin: 0 5px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background-color: #f5f5f5;
  color: #444;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.manage-pagination-item:hover {
  background-color: #e0e0e0;
}

.manage-pagination-item.active {
  background-color: #6591f1;
  color: white;
}

.manage-search {
  position: relative;
  margin-bottom: 20px;
}

.manage-search-input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
  background-color: #fafafa;
}

.manage-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.manage-datetime-wrapper {
  position: relative;
}

.manage-datetime-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

.manage-alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.manage-alert-info {
  background-color: #e3f2fd;
  color: #0c5460;
  border-left: 4px solid #4fc3f7;
}

.manage-alert-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid #4caf50;
}

.manage-alert-warning {
  background-color: #fff8e1;
  color: #f57f17;
  border-left: 4px solid #ffb300;
}

.manage-alert-danger {
  background-color: #ffebee;
  color: #c62828;
  border-left: 4px solid #f44336;
}

.manage-alert-icon {
  margin-right: 12px;
  font-size: 18px;
}

.manage-empty-state {

  display: flex;                /* 使用 Flexbox */
  flex-direction: column;       /* 垂直排列 */
  justify-content: center;      /* 垂直居中 */
  align-items: center;          /* 水平居中 */

  
  padding: 40px 20px;
  color: #888;
}

.manage-empty-icon {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 15px;
}

.manage-empty-text {
  font-size: 16px;
  margin-bottom: 20px;
}

.manage-file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border: 2px dashed #e0e0e0;
  border-radius: 8px;
  background-color: #fafafa;
  transition: all 0.2s;
  cursor: pointer;
  height: 120px;
}

.manage-file-upload:hover {
  border-color: #6591f1;
  background-color: #f5f7ff;
}

.manage-file-upload input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

.manage-file-icon {
  font-size: 24px;
  color: #6591f1;
  margin-bottom: 8px;
}

.manage-file-text {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
  text-align: center;
}

.manage-file-subtext {
  font-size: 11px;
  color: #888;
  text-align: center;
}

.manage-file-preview-container {
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}

.manage-file-preview-container img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.manage-file-name {
  margin-top: 5px;
  font-size: 11px;
  color: #666;
  word-break: break-all;
  text-align: center;
}

/* 报名链接样式 */
.manage-link-container {
  position: relative;
  display: flex;
  align-items: center;
}

.manage-link-text {
  flex-grow: 1;
  color: #0c5460;
  font-size: 0.9rem;
  word-break: break-all;
  padding-right: 40px;
}

.manage-link-copy-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 30px;
  width: 30px;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  color: #0c5460;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.manage-link-copy-btn:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: #0a4b5a;
}

.manage-link-copy-btn:focus {
  outline: none;
}

/* 移除所有按钮的黑色边框 */
.manage-btn:focus, 
.manage-btn:active,
button:focus, 
button:active,
.close:focus,
.close:active {
  outline: none !important;
  box-shadow: none !important;
}

/* 模态框关闭按钮样式 */
.modal .close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.modal .close:hover {
  opacity: 1;
}

/* 确保所有输入框也没有黑色边框 */
input:focus, 
select:focus, 
textarea:focus {
  outline: none !important;
  box-shadow: none !important;
}



/* city_detail模板样式 */
:root {
  --recruit-primary: #1890ff;
  --recruit-primary-hover: #40a9ff;
  --recruit-primary-light: #e6f7ff;
}

/* 城市详情页样式 - 简约风格 */
.city-header {
  background: white;
  padding: 2.5rem 0;
  margin-bottom: 2rem;
  border-radius: 8px;
  border: 1px solid #ffffff;
}

.city-header h1 {
  font-weight: 600;
  color: #262626;
  margin-bottom: 0;
}

.city-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.city-stat-item {
  background: #f7f7f7;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s;
}

.city-stat-item:hover {
  background: #f0f0f0;
  border-color: #d0d0d0;
}

.city-stat-number {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #262626;
}

.city-stat-label {
  font-size: 0.875rem;
  color: #8c8c8c;
}

.city-description {
  background: white;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  border: 1px solid #e8e8e8;
}

.city-description h5 {
  color: #262626;
  font-weight: 600;
  font-size: 1rem;
}

.city-description p {
  color: #595959;
  line-height: 1.8;
  margin-bottom: 0;
}

/* 职位卡片样式 */
.recruit-job-card {
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0 !important;
  overflow: hidden;
  background: white;
}

.recruit-job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(24, 144, 255, 0.12);
  border-color: var(--recruit-primary) !important;
}

.recruit-job-card .card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #262626;
  transition: color 0.3s;
}

.recruit-job-card:hover .card-title {
  color: var(--recruit-primary) !important;
}

/* 薪资徽章 */
.recruit-salary-badge {
  background: var(--recruit-primary-light);
  color: var(--recruit-primary);
  font-size: 0.875rem;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  white-space: nowrap;
  border: 1px solid var(--recruit-primary);
}

/* 技能标签 */
.recruit-skill-tag {
  display: inline-block;
  background: var(--recruit-primary-light);
  color: var(--recruit-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #91d5ff;
  transition: all 0.3s;
}

.recruit-skill-tag:hover {
  background: var(--recruit-primary);
  color: white;
  border-color: var(--recruit-primary);
  transform: translateY(-2px);
}

/* 职位元信息 */
.recruit-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: #8c8c8c;
}

.recruit-job-meta-separator {
  color: #d9d9d9;
  margin: 0 0.25rem;
}

/* 职位元信息中的链接 */
.recruit-link-hover {
  color: #8c8c8c;
  text-decoration: none;
  border-bottom: 1px dashed #d9d9d9;
  transition: all 0.3s;
  cursor: pointer;
}

.recruit-link-hover:hover {
  color: var(--recruit-primary);
  border-bottom-color: var(--recruit-primary);
  text-decoration: none;
}

/* 查看详情按钮 */
.recruit-detail-btn {
  background: var(--recruit-primary);
  border: none;
  color: white;
  transition: all 0.3s;
}

.recruit-detail-btn:hover {
  background: var(--recruit-primary-hover);
  color: white;
}

/* 截止日期 */
.recruit-deadline {
  color: #8c8c8c;
  font-size: 0.875rem;
}

.recruit-deadline i {
  color: var(--recruit-primary);
}

/* 空状态 */
.recruit-empty-state {
  padding: 4rem 2rem;
  text-align: center;
}

.recruit-empty-state i {
  color: #d9d9d9;
  font-size: 3rem;
}

.recruit-empty-text {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #8c8c8c;
}


/* company_detail模板样式 */
.company-header {
  background: white;
  padding: 2.5rem 0;
  margin-bottom: 2rem;
  border-radius: 8px;
  border: 1px solid #ffffff;
}

.company-header h1 {
  font-weight: 600;
  color: #262626;
  margin-bottom: 0;
}

.company-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.company-stat-item {
  background: #f7f7f7;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s;
}

.company-stat-item:hover {
  background: #f0f0f0;
  border-color: #d0d0d0;
}

.company-stat-number {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #262626;
}

.company-stat-label {
  font-size: 0.875rem;
  color: #8c8c8c;
}

.company-info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  border: 1px solid #e8e8e8;
}

.company-info-card h5 {
  color: #262626;
  font-weight: 600;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.company-info-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.company-info-label {
  font-weight: 500;
  min-width: 100px;
  color: #8c8c8c;
  font-size: 0.875rem;
}

.company-info-value {
  color: #262626;
  font-size: 0.875rem;
}

.company-info-value a {
  color: #262626;
  text-decoration: none;
  border-bottom: 1px solid #d9d9d9;
  transition: all 0.3s;
}

.company-info-value a:hover {
  color: #000;
  border-bottom-color: #000;
}

.company-description {
  background: white;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  border: 1px solid #e8e8e8;
}

.company-description h5 {
  color: #262626;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.company-description p {
  color: #595959;
  line-height: 1.8;
  margin-bottom: 0;
}

.company-links {
  margin-top: 1rem;
}

.company-links a {
  display: inline-block;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #d9d9d9;
  color: #595959;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.875rem;
}

.company-links a:hover {
  background: #fafafa;
  border-color: #262626;
  color: #262626;
}

/* 职位卡片样式 */
.recruit-job-card {
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0 !important;
  overflow: hidden;
  background: white;
}

.recruit-job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(24, 144, 255, 0.12);
  border-color: var(--recruit-primary) !important;
}

.recruit-job-card .card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #262626;
  transition: color 0.3s;
}

.recruit-job-card:hover .card-title {
  color: var(--recruit-primary) !important;
}

/* 薪资徽章 */
.recruit-salary-badge {
  background: var(--recruit-primary-light);
  color: var(--recruit-primary);
  font-size: 0.875rem;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  white-space: nowrap;
  border: 1px solid var(--recruit-primary);
}

/* 技能标签 */
.recruit-skill-tag {
  display: inline-block;
  background: var(--recruit-primary-light);
  color: var(--recruit-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #91d5ff;
  transition: all 0.3s;
}

.recruit-skill-tag:hover {
  background: var(--recruit-primary);
  color: white;
  border-color: var(--recruit-primary);
  transform: translateY(-2px);
}

/* 职位元信息 */
.recruit-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: #8c8c8c;
}

.recruit-job-meta-separator {
  color: #d9d9d9;
  margin: 0 0.25rem;
}

/* 职位元信息中的链接 */
.recruit-link-hover {
  color: #8c8c8c;
  text-decoration: none;
  border-bottom: 1px dashed #d9d9d9;
  transition: all 0.3s;
  cursor: pointer;
}

.recruit-link-hover:hover {
  color: var(--recruit-primary);
  border-bottom-color: var(--recruit-primary);
  text-decoration: none;
}

/* 查看详情按钮 */
.recruit-detail-btn {
  background: var(--recruit-primary);
  border: none;
  color: white;
  transition: all 0.3s;
}

.recruit-detail-btn:hover {
  background: var(--recruit-primary-hover);
  color: white;
}

/* 截止日期 */
.recruit-deadline {
  color: #8c8c8c;
  font-size: 0.875rem;
}

.recruit-deadline i {
  color: var(--recruit-primary);
}

/* 空状态 */
.recruit-empty-state {
  padding: 4rem 2rem;
  text-align: center;
}

.recruit-empty-state i {
  color: #d9d9d9;
  font-size: 3rem;
}

.recruit-empty-text {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #8c8c8c;
}

/* 招聘页面专用样式 - 使用 recruit- 前缀避免冲突 */
:root {
  --recruit-primary: #1890ff;
  --recruit-primary-hover: #40a9ff;
  --recruit-primary-light: #e6f7ff;
  --recruit-success: #52c41a;
  --recruit-warning: #fa8c16;
  --recruit-border: #d9d9d9;
  --recruit-bg-gray: #fafafa;
}

/* 筛选卡片 */
.recruit-filter-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.recruit-filter-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 筛选表单样式 */
.recruit-filter-card .form-control {
  border: 1px solid #d9d9d9 !important;
  border-radius: 8px !important;
  transition: all 0.3s;
  height: 40px;
  font-size: 14px;
  background-color: #fff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.recruit-filter-card .form-control:focus {
  border-color: var(--recruit-primary) !important;
  border-width: 1px !important;
  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.12) !important;
  outline: none !important;
}

.recruit-filter-card .form-control:hover:not(:focus) {
  border-color: #40a9ff !important;
}

/* 隐藏原生select */
.recruit-filter-card select.form-control {
  display: none;
}

/* 招聘页面自定义下拉框容器 */
.recruit-select-wrapper {
  position: relative;
  width: 100%;
}

/* 招聘页面自定义下拉框显示区域 */
.recruit-select-display {
  position: relative;
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  background: white;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
  color: #262626;
  height: 40px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  user-select: none;
}

.recruit-select-display:hover {
  border-color: #40a9ff;
}

.recruit-select-display.active {
  border-color: var(--recruit-primary);
  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.12);
}

/* 招聘页面下拉箭头 */
.recruit-select-arrow {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  transition: transform 0.3s;
}

.recruit-select-arrow::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #1890ff;
}

.recruit-select-display.active .recruit-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* 招聘页面下拉选项列表 */
.recruit-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-height: 280px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.recruit-select-dropdown.show {
  display: block;
  animation: recruitDropdownFadeIn 0.2s ease-out;
}

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

/* 招聘页面选项项 */
.recruit-select-option {
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  color: #262626;
}

.recruit-select-option:hover {
  background: var(--recruit-primary-light);
  color: var(--recruit-primary);
}

.recruit-select-option.selected {
  background: var(--recruit-primary-light);
  color: var(--recruit-primary);
  font-weight: 500;
}

.recruit-select-option:first-child {
  border-radius: 8px 8px 0 0;
}

.recruit-select-option:last-child {
  border-radius: 0 0 8px 8px;
}

/* 招聘页面滚动条样式 */
.recruit-select-dropdown::-webkit-scrollbar {
  width: 6px;
}

.recruit-select-dropdown::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 0 8px 8px 0;
}

.recruit-select-dropdown::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 3px;
}

.recruit-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: #bfbfbf;
}

/* 输入框样式 */
.recruit-filter-card input.form-control {
  background-color: white !important;
  border-radius: 8px !important;
}

.recruit-filter-card input.form-control::placeholder {
  color: #bfbfbf;
  font-size: 14px;
}

/* 表单标签提示 */
.recruit-filter-label {
  font-size: 13px;
  color: #595959;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

/* 排序标签区 */
.recruit-sort-tabs {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid var(--recruit-border);
  margin-bottom: 1.5rem;
}

.recruit-sort-tabs a {
  color: #595959;
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  transition: all 0.3s;
  display: inline-block;
  font-weight: 500;
}

.recruit-sort-tabs a:hover {
  color: var(--recruit-primary);
  background: var(--recruit-primary-light);
}

.recruit-sort-tabs a.active {
  color: var(--recruit-primary);
  background: var(--recruit-primary-light);
  font-weight: 600;
  position: relative;
}

.recruit-sort-tabs a.active::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--recruit-primary);
}

/* 职位卡片 */
.recruit-job-card {
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0 !important;
  overflow: hidden;
}

.recruit-job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(24, 144, 255, 0.12);
  border-color: var(--recruit-primary) !important;
}

.recruit-job-card .card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #262626;
  transition: color 0.3s;
}

.recruit-job-card:hover .card-title {
  color: var(--recruit-primary) !important;
}

/* 薪资徽章 */
.recruit-salary-badge {
  background: var(--recruit-primary-light);
  color: var(--recruit-primary);
  font-size: 0.875rem;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  white-space: nowrap;
  border: 1px solid var(--recruit-primary);
}

/* 技能标签 */
.recruit-skill-tag {
  display: inline-block;
  background: var(--recruit-primary-light);
  color: var(--recruit-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #91d5ff;
  transition: all 0.3s;
}

.recruit-skill-tag:hover {
  background: var(--recruit-primary);
  color: white;
  border-color: var(--recruit-primary);
  transform: translateY(-2px);
}

/* 职位元信息 */
.recruit-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: #8c8c8c;
}

.recruit-job-meta-separator {
  color: #d9d9d9;
  margin: 0 0.25rem;
}

/* 职位元信息中的链接 */
.recruit-link-hover {
  color: #8c8c8c;
  text-decoration: none;
  border-bottom: 1px dashed #d9d9d9;
  transition: all 0.3s;
  cursor: pointer;
}

.recruit-link-hover:hover {
  color: var(--recruit-primary);
  border-bottom-color: var(--recruit-primary);
  text-decoration: none;
}

/* 过期职位 */
.recruit-expired {
  opacity: 0.65;
  position: relative;
}

.recruit-expired .recruit-job-card {
  background: var(--recruit-bg-gray);
}

.recruit-expired .recruit-job-card::before {
  content: '即将过期';
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--recruit-warning);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  font-size: 0.75rem;
  z-index: 1;
}

/* 按钮优化 */
.recruit-btn-primary {
  background: linear-gradient(135deg, var(--recruit-primary) 0%, #096dd9 100%);
  border: none;
  color: white;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(24, 144, 255, 0.2);
  transition: all 0.3s;
}

.recruit-btn-primary:hover {
  background: linear-gradient(135deg, var(--recruit-primary-hover) 0%, #1890ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
  color: white;
}

.recruit-btn-primary:active {
  transform: translateY(0);
}

.recruit-btn-reset {
  color: #595959;
  border-color: var(--recruit-border);
  background: white;
  font-weight: 500;
  transition: all 0.3s;
}

.recruit-btn-reset:hover {
  color: var(--recruit-primary);
  border-color: var(--recruit-primary);
  background: var(--recruit-primary-light);
  transform: translateY(-2px);
}

/* 查看详情按钮 */
.recruit-detail-btn {
  background: var(--recruit-primary);
  border: none;
  color: white;
  transition: all 0.3s;
}

.recruit-detail-btn:hover {
  background: var(--recruit-primary-hover);
  color: white;
}

/* 空状态 */
.recruit-empty-state {
  padding: 4rem 2rem;
  text-align: center;
}

.recruit-empty-state i {
  color: #d9d9d9;
  font-size: 3rem;
}

.recruit-empty-text {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #8c8c8c;
}

/* 卡片动画 */
@keyframes recruit-fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.recruit-job-card {
  animation: recruit-fadeInUp 0.5s ease;
}

/* 截止日期图标 */
.recruit-deadline {
  color: #8c8c8c;
  font-size: 0.875rem;
}

.recruit-deadline i {
  color: var(--recruit-primary);
}

/* 免责声明框 */
.recruit-disclaimer-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f4ff 100%);
  border-left: 4px solid var(--recruit-primary);
  padding: 0.85rem 1.2rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #595959;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
  box-shadow: 0 2px 6px rgba(24, 144, 255, 0.08);
}

.recruit-disclaimer-box i {
  color: var(--recruit-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.recruit-disclaimer-box strong {
  color: var(--recruit-primary);
  font-weight: 600;
}

/* 响应式 */
@media (max-width: 768px) {
  .recruit-job-card {
      margin-bottom: 1rem;
  }
  
  /* 手机端排序标签 - 水平滚动 */
  .recruit-sort-tabs {
      padding: 0.75rem 0.5rem;
      gap: 0.5rem;
      justify-content: flex-start;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE and Edge */
      flex-wrap: nowrap;
  }
  
  /* 隐藏滚动条 */
  .recruit-sort-tabs::-webkit-scrollbar {
      display: none; /* Chrome, Safari */
  }
  
  .recruit-sort-tabs a {
      padding: 0.45rem 1rem;
      font-size: 0.85rem;
      border-radius: 18px;
      flex-shrink: 0;
  }
  
  .recruit-sort-tabs a i {
      font-size: 0.8rem;
  }
  
  .recruit-salary-badge {
      font-size: 0.75rem;
      padding: 0.3rem 0.6rem;
  }
  
  .recruit-job-card .card-title {
      font-size: 1rem;
  }
  
  .recruit-filter-card .form-control {
      font-size: 14px;
      height: 36px;
  }
  
  .recruit-filter-card select.form-control {
      background-size: 10px;
  }
  
  .recruit-disclaimer-box {
      font-size: 0.8rem;
      padding: 0.75rem 1rem;
  }
  
  .recruit-disclaimer-box i {
      font-size: 1rem;
  }
}

/* 筛选表单网格优化 */
@media (max-width: 991px) {
  .recruit-filter-card .col-md-2,
  .recruit-filter-card .col-md-3 {
      margin-bottom: 0.75rem;
  }
}

/* 职位内容区域样式 */
.job-content-section {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

/* Markdown内容样式优化 */
.markdown-content {
  line-height: 1.8;
  color: #333;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.markdown-content h1 { font-size: 1.8rem; }
.markdown-content h2 { font-size: 1.6rem; }
.markdown-content h3 { font-size: 1.4rem; }
.markdown-content h4 { font-size: 1.2rem; }

.markdown-content p {
  margin-bottom: 1rem;
  text-align: justify;
}

.markdown-content ul,
.markdown-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.markdown-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.markdown-content ul li {
  list-style-type: disc;
}

.markdown-content ol li {
  list-style-type: decimal;
}

.markdown-content ul li::marker {
  color: #007bff;
}

.markdown-content strong {
  font-weight: 600;
  color: #000;
}

.markdown-content em {
  font-style: italic;
  color: #666;
}

.markdown-content code {
  background-color: #f4f4f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #e83e8c;
}

.markdown-content pre {
  background-color: #282c34;
  color: #abb2bf;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.markdown-content pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
  font-size: 0.875rem;
}

.markdown-content blockquote {
  border-left: 4px solid #007bff;
  padding-left: 1rem;
  margin-left: 0;
  margin-bottom: 1rem;
  color: #666;
  font-style: italic;
}

.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.markdown-content table th,
.markdown-content table td {
  padding: 0.75rem;
  border: 1px solid #dee2e6;
}

.markdown-content table th {
  background-color: #e9ecef;
  font-weight: 600;
}

.markdown-content hr {
  margin: 2rem 0;
  border: 0;
  border-top: 2px solid #e9ecef;
}

.markdown-content a {
  color: #007bff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.markdown-content a:hover {
  border-bottom-color: #007bff;
}

/* 响应式优化 */
@media (max-width: 768px) {
  .job-content-section {
      padding: 1rem;
  }
  
  .markdown-content {
      font-size: 0.95rem;
  }
  
  .markdown-content ul,
  .markdown-content ol {
      padding-left: 1.5rem;
  }
}

/* 免责声明框 */
.recruit-disclaimer-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f4ff 100%);
  border-left: 4px solid #1890ff;
  padding: 0.85rem 1.2rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #595959;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
  box-shadow: 0 2px 6px rgba(24, 144, 255, 0.08);
}

.recruit-disclaimer-box i {
  color: #1890ff;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.recruit-disclaimer-box strong {
  color: #1890ff;
  font-weight: 600;
}

/* 操作按钮组 */
.job-action-buttons {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

/* 分享按钮样式 - 简约风格 */
.job-share-btn-wrapper {
  position: relative;
}

.job-share-btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.875rem;
  font-weight: 400;
  transition: all 0.2s;
  border-radius: 4px;
  border-width: 1px;
}

.job-share-btn i {
  font-size: 0.9rem;
}

.job-share-btn:hover {
  background: #1890ff;
  border-color: #1890ff;
  color: white;
}

/* 收藏按钮 - 简约风格 */
#collectBtn {
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  transition: all 0.2s;
  border-radius: 4px;
  min-width: 70px !important;
}

#collectBtn i {
  font-size: 0.9rem;
}

/* 分享菜单 - 简约风格 */
.job-share-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  min-width: 140px;
  z-index: 1000;
  overflow: hidden;
}

.share-menu-item {
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.2s;
  color: #595959;
}

.share-menu-item:hover {
  background: #f5f5f5;
  color: #1890ff;
}

.share-menu-item i {
  font-size: 1rem;
  width: 18px;
  text-align: center;
}

.share-menu-item span {
  font-size: 0.85rem;
}

/* 微信二维码弹窗 */
.wechat-qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wechat-qr-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.wechat-qr-content {
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 400px;
  animation: modalSlideIn 0.3s ease-out;
}

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

.wechat-qr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e8e8e8;
}

.wechat-qr-header h5 {
  margin: 0;
  color: #262626;
  font-weight: 600;
}

.wechat-qr-header i.fa-weixin {
  color: #09bb07;
}

.wechat-qr-close {
  background: none;
  border: none;
  color: #8c8c8c;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.wechat-qr-close:hover {
  background: #f5f5f5;
  color: #262626;
}

.wechat-qr-body {
  padding: 2rem;
  text-align: center;
}

.wechat-qr-code {
  display: inline-block;
  padding: 1rem;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.wechat-qr-code img {
  display: block;
  width: 200px;
  height: 200px;
}

.wechat-qr-tip {
  color: #8c8c8c;
  font-size: 0.9rem;
  margin: 0;
}

/* 响应式 - 手机端 */
@media (max-width: 768px) {
  /* 手机端标题适配 */
  .card-title {
      font-size: 1.2rem !important;
      padding: 0 !important;
      line-height: 1.4 !important;
  }
  
  /* 手机端操作按钮组 */
  .job-action-buttons {
      position: relative !important;
      transform: none !important;
      display: flex !important;
      justify-content: center !important;
      gap: 0.5rem !important;
      margin-top: 0.75rem !important;
      top: auto !important;
      right: auto !important;
  }
  
  /* 手机端按钮更紧凑 */
  .job-share-btn {
      padding: 0.4rem 0.6rem !important;
      font-size: 0.8rem !important;
  }
  
  .job-share-btn i {
      font-size: 0.85rem !important;
  }
  
  .job-share-btn .d-none {
      display: none !important;
  }
  
  #collectBtn {
      padding: 0.4rem 0.7rem !important;
      font-size: 0.8rem !important;
      min-width: 65px !important;
  }
  
  #collectBtn i {
      font-size: 0.85rem !important;
  }
  
  /* 手机端容器调整 */
  .position-relative[style*="min-height"] {
      min-height: auto !important;
  }
  
  .recruit-disclaimer-box {
      font-size: 0.8rem;
      padding: 0.75rem 1rem;
  }
  
  .recruit-disclaimer-box i {
      font-size: 1rem;
  }
  
  /* 手机端分享菜单 */
  .job-share-menu {
      left: 50%;
      right: auto;
      transform: translateX(-50%);
      min-width: 130px;
  }
  
  .share-menu-item {
      padding: 0.55rem 0.75rem;
  }
  
  .share-menu-item i {
      font-size: 0.95rem;
  }
  
  .share-menu-item span {
      font-size: 0.8rem;
  }
  
  /* 手机端微信二维码弹窗 */
  .wechat-qr-content {
      width: 95%;
      max-width: 320px;
  }
  
  .wechat-qr-header {
      padding: 1.2rem;
  }
  
  .wechat-qr-header h5 {
      font-size: 1rem;
  }
  
  .wechat-qr-body {
      padding: 1.5rem;
  }
  
  .wechat-qr-code img {
      width: 180px;
      height: 180px;
  }
}