/* 导航平台样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* 现代化头部样式 */
.modern-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.modern-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.modern-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
}

.modern-logo:hover {
    transform: translateY(-2px);
}

.modern-logo img {
    height: 40px;
    margin-right: 12px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-1px);
}

.publish-btn {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.publish-btn:hover {
    background: linear-gradient(45deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-icon {
    font-size: 1.2rem;
    font-weight: 700;
}

/* 主要内容区域 */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.card-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-content {
    line-height: 1.6;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-success {
    background-color: #27ae60;
}

.btn-success:hover {
    background-color: #219a52;
}

.btn-danger {
    background-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-secondary {
    background-color: #95a5a6;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

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

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* 网格布局 */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

/* 首页交流群组 5列布局 */
.groups-container.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

/* 首页交流群组响应式布局 */
@media (max-width: 1400px) {
    .groups-container.grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .groups-container.grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .groups-container.grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .groups-container.grid-5 {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

.grid-6 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* 专门为6列布局优化的卡片样式 */
.grid-6 .card {
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
}

.grid-6 .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #f39c12);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-6 .card:hover::before {
    opacity: 1;
}

.grid-6 .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.grid-6 .card-title {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    position: relative;
}

.grid-6 .card-title .tag {
    margin-bottom: 0.5rem;
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grid-6 .card-title div {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grid-6 .card-meta {
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
    color: #95a5a6;
    font-weight: 500;
}

.grid-6 .card-content {
    font-size: 0.85rem;
}

.grid-6 .card-content p {
    margin-bottom: 1rem;
    color: #7f8c8d;
    line-height: 1.4;
    font-style: italic;
}

.grid-6 .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    width: 100%;
    border-radius: 8px;
    font-weight: 600;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.grid-6 .btn::before {
    content: '🌐';
    margin-right: 0.5rem;
    font-size: 1rem;
}

.grid-6 .btn:hover {
    background: linear-gradient(45deg, #2980b9, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a {
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* 标签样式 */
.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: #ecf0f1;
    color: #2c3e50;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* 不同任务类型的颜色样式 */
.tag.tag-custom-dev {
    background-color: #e8f5e8;
    color: #27ae60;
}

.tag.tag-second-dev {
    background-color: #e8f4fd;
    color: #3498db;
}

.tag.tag-fix-source {
    background-color: #fee;
    color: #e74c3c;
}

.tag.tag-ui-custom {
    background-color: #f3e5f5;
    color: #9b59b6;
}

.tag.tag-source-purchase {
    background-color: #fdf2e8;
    color: #f39c12;
}

/* 保持向后兼容的通用任务标签 */
.tag.tag-task {
    background-color: #f8f9fa;
    color: #6c757d;
}

.tag.tag-qq {
    background-color: #e8f4fd;
    color: #3498db;
}

.tag.tag-telegram {
    background-color: #e3f2fd;
    color: #0088cc;
}

.tag.tag-group {
    background-color: #e8f4fd;
    color: #3498db;
}

.tag.tag-website {
    background-color: #fdf2e8;
    color: #f39c12;
}

/* 状态标签 */
.status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.status.approved {
    background-color: #d4edda;
    color: #155724;
}

.status.rejected {
    background-color: #f8d7da;
    color: #721c24;
}

/* 警告框 */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* 现代化页脚样式 */
.modern-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #3d5a80 100%);
    color: white;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="60" cy="40" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    max-width: 400px;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 1rem;
}

.footer-desc {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* 群头像样式 */
.group-avatar {
    text-align: center;
    margin-bottom: 1rem;
}

.avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e8f4fd;
    transition: transform 0.3s, border-color 0.3s;
}

.avatar-img:hover {
    transform: scale(1.05);
    border-color: #3498db;
}

/* 响应式设计 */
/* 大屏幕 - 保持6列 */
@media (min-width: 1400px) {
    .grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
    .grid-6 {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* 中等屏幕 - 4列 */
@media (max-width: 1200px) and (min-width: 992px) {
    .grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
    .grid-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 小屏幕 - 3列 */
@media (max-width: 991px) and (min-width: 769px) {
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 移动设备 - 2列 */
@media (max-width: 768px) and (min-width: 481px) {
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .grid-6 .card {
        padding: 1rem;
    }
    
    .grid-6 .card-title div {
        font-size: 0.95rem;
    }
    
    .grid-6 .btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

/* 小移动设备 - 1列 */
@media (max-width: 480px) {
    .grid-5 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .grid-6 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .grid-6 .card {
        padding: 1.2rem;
        margin: 0 0.5rem;
    }
    
    .grid-6 .card-title {
        margin-bottom: 1rem;
    }
    
    .grid-6 .card-title div {
        font-size: 1.1rem;
        white-space: normal;
    }
    
    .grid-6 .card-meta {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .grid-6 .card-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .grid-6 .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }
}

/* 首页响应式设计 */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    /* 中等屏幕简洁列表样式 */
    .task-row {
        padding: 1.2rem;
    }
    
    .simple-task-title {
        font-size: 1rem;
    }
    
    .simple-task-desc {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* 移动端头部样式 */
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .modern-nav {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .publish-btn {
        align-self: center;
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
    
    /* 移动端页脚样式 */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-compact {
        padding: 1.5rem 0;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .content-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-item {
        padding: 0.8rem;
        gap: 0.5rem;
    }
    
    .nav-text {
        font-size: 0.9rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .card-compact {
        padding: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* 移动端简洁列表样式 */
    .task-row {
        padding: 1rem;
    }
    
    .task-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .task-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .task-meta-info {
        gap: 0.5rem;
    }
    
    .simple-btn {
        align-self: flex-start;
    }
    
    .form-row {
        flex-direction: column;
    }
}

/* 首页特殊样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

/* 新的紧凑英雄区域 */
.hero-compact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 1.5rem;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.btn-compact {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* 主内容区域 */
.main-content-compact {
    padding: 2rem 0;
}

/* 内容导航 */
.content-nav {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    gap: 0.5rem;
}

.nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #7f8c8d;
}

.nav-item:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.nav-item.active {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.nav-icon {
    font-size: 1.2rem;
}

.nav-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-count {
    background: rgba(255,255,255,0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 1.5rem;
    text-align: center;
}

.nav-item.active .nav-count {
    background: rgba(255,255,255,0.3);
}

/* 内容区域 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

/* 区域标题 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #2c3e50;
    font-weight: 700;
}

.view-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.view-more:hover {
    color: #2980b9;
}

/* 4列网格 */
.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* 简洁任务列表样式 */
.simple-task-list {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.simple-task-item {
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

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

.simple-task-item:hover {
    background-color: #f8f9fa;
}

.task-row {
    padding: 1.5rem;
}

.task-content {
    width: 100%;
}

.task-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.simple-task-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
}

.simple-task-desc {
    font-size: 0.9rem;
    color: #7f8c8d;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.task-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.task-meta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.simple-date {
    font-size: 0.85rem;
    color: #95a5a6;
}

.simple-info {
    font-size: 0.85rem;
    color: #7f8c8d;
}

.simple-info.budget {
    color: #e67e22;
    font-weight: 500;
}

.simple-btn {
    padding: 0.5rem 1rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.simple-btn:hover {
    background-color: #2980b9;
}

/* 紧凑卡片样式 */
.card-compact {
    background: white;
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f2f6;
    position: relative;
    overflow: hidden;
}

.card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #f39c12);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-compact:hover::before {
    opacity: 1;
}

.card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #3498db;
}

/* 卡片头部 */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.card-date {
    font-size: 0.75rem;
    color: #95a5a6;
    background: #f8f9fa;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
}

/* 卡片标题 */
.card-title-compact {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.8rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 卡片描述 */
.card-desc {
    font-size: 0.85rem;
    color: #7f8c8d;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 卡片底部 */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* 信息标签 */
.info-badge {
    background: #f1f2f6;
    color: #576574;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* 迷你按钮 */
.btn-mini {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    border-radius: 6px;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 600;
}

.btn-mini:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.btn-mini.btn-primary {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    color: white;
    border: none;
}

.btn-mini.btn-primary:hover {
    background: linear-gradient(45deg, #2980b9, #27ae60);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
}

/* 管理后台样式 */
.admin-header {
    background-color: #34495e;
    color: white;
    padding: 1rem 0;
}

.admin-nav {
    background-color: #2c3e50;
    padding: 1rem 0;
}

.admin-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.admin-nav a:hover,
.admin-nav a.active {
    background-color: #34495e;
}

.admin-content {
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
}

.stat-label {
    color: #7f8c8d;
    margin-top: 0.5rem;
}

/* 表格样式 */
.table-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
}

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

.actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.table-responsive {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* 任务详情页面样式 */
.breadcrumb {
    margin-bottom: 2rem;
    padding: 1rem 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.task-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.task-title-section {
    margin-bottom: 2rem;
}

.task-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

.task-title .tag {
    margin-right: 1rem;
    font-size: 0.9rem;
}

.task-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-item {
    background: rgba(255,255,255,0.1);
    padding: 1.2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.info-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.1rem;
    font-weight: bold;
}

.info-value.budget {
    color: #f1c40f;
    font-size: 1.3rem;
}

.task-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.task-main-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.task-images-section {
    margin-bottom: 2rem;
}

.images-title {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.images-title .icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.task-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.task-image-thumb {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: white;
}

.task-image-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.task-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.task-image-thumb:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.task-image-thumb:hover .image-overlay {
    opacity: 1;
}

.zoom-icon {
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.more-images-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-images-indicator:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* 单张图片时的特殊样式 */
.task-images-grid.single-image {
    grid-template-columns: 1fr;
    max-width: 400px;
}

.task-images-grid.single-image .task-image-thumb {
    height: 250px;
}

/* 图片模态框样式 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { 
        transform: scale(0.8);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
    color: #ff6b6b;
}

.content-section {
    padding: 2rem;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8f4fd;
}

.section-title .icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.task-description {
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.task-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card, .action-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-title, .action-title {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.contact-title .icon, .action-title .icon {
    margin-right: 0.5rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.contact-type {
    font-weight: bold;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.contact-value {
    font-weight: bold;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.contact-value.qq {
    background: #e8f4fd;
    color: #3498db;
}

.contact-value.wechat {
    background: #e8f5e8;
    color: #27ae60;
}

.contact-value.telegram {
    background: #fdf2e8;
    color: #f39c12;
}

.no-contact {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 1rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid #3498db;
    color: #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .task-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .task-header {
        padding: 1.5rem;
    }
    
    .task-title {
        font-size: 1.5rem;
    }
    
    .task-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-item {
        padding: 1rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .task-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .task-image-thumb {
        height: 100px;
    }
    
    .images-title {
        font-size: 1.1rem;
        padding: 0.6rem 1rem;
    }
    
    .close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
        width: 40px;
        height: 40px;
    }
    
    .modal-content {
        padding: 1rem;
    }
}

/* ================== 交流群页面专用样式 ================== */

/* 简洁头部 */
.simple-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.add-btn {
    background: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.add-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.add-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

/* 空状态样式 */
.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.empty-content {
    text-align: center;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-content h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.empty-content p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

/* 群组分区 */
.groups-section {
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.section-icon {
    font-size: 1.5rem;
}

.section-count {
    background: #ecf0f1;
    color: #7f8c8d;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: auto;
}

/* 群组容器 */
.groups-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

/* 群组项样式 */
.group-item {
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 280px;
    position: relative;
    overflow: hidden;
}

/* TG群渐变背景 */
.tg-gradient {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #90caf9;
}

.tg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(13, 71, 161, 0.1) 100%);
    pointer-events: none;
}

/* QQ群渐变背景 */
.qq-gradient {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border-color: #a5d6a7;
}

.qq-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(27, 94, 32, 0.1) 100%);
    pointer-events: none;
}

.group-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tg-gradient:hover {
    border-color: #42a5f5;
}

.qq-gradient:hover {
    border-color: #66bb6a;
}

/* 头像区域 */
.group-avatar-section {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
}

.type-tag {
    position: absolute;
    bottom: -2px;
    right: -2px;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    border: 2px solid white;
}

.tag-qq {
    background: #3498db;
}

.tag-telegram {
    background: #00aced;
}

/* 群组信息 */
.group-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.group-title {
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6rem;
}

.group-id {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    display: inline-block;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

/* TG群ID样式 */
.tg-gradient .group-id {
    background: rgba(33, 150, 243, 0.15);
    color: #1976d2;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

/* QQ群ID样式 */
.qq-gradient .group-id {
    background: rgba(76, 175, 80, 0.15);
    color: #388e3c;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.group-date {
    font-size: 0.75rem;
    color: #95a5a6;
    margin: 0;
}

/* 加入按钮 */
.group-action {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.join-btn {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #bdc3c7;
}

.join-qq:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.join-telegram:hover {
    background: #00aced;
    color: white;
    border-color: #00aced;
}

/* 响应式设计 - 交流群页面 */
@media (max-width: 1200px) {
    .groups-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .groups-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .simple-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .groups-section {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .groups-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .groups-section {
        margin-bottom: 2rem;
    }
    
    .group-item {
        height: 250px;
        padding: 1.2rem;
    }
    
    .avatar {
        width: 60px;
        height: 60px;
    }
    
    .group-title {
        font-size: 0.95rem;
        height: 2.4rem;
    }
    
    .group-id {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
    }
    
    .join-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .groups-container {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .add-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .group-item {
        height: 230px;
        padding: 1rem;
    }
}

/* 筛选器样式 */
.filter-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #5a6c7d;
    margin-bottom: 0.3rem;
}

.filter-select {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
}

.filter-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.filter-select:hover {
    border-color: #d1d5db;
}

.filter-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: flex-end;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-apply {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.filter-apply:hover {
    background: linear-gradient(135deg, #5b56f0 0%, #8147f5 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.filter-reset {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.filter-reset:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
}

.filter-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stats-text {
    color: #6c757d;
    font-size: 0.9rem;
}

.stats-text strong {
    color: #2c3e50;
    font-weight: 600;
}

.active-filters {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.filter-tag {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(25, 118, 210, 0.2);
}

/* 响应式筛选器 */
@media (max-width: 992px) {
    .filter-form {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-actions {
        grid-column: span 2;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .filter-section {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-actions {
        grid-column: span 1;
        justify-content: stretch;
    }
    
    .filter-btn {
        flex: 1;
        justify-content: center;
    }
    
    .filter-stats {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
        text-align: center;
    }
    
    .active-filters {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .filter-section {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .filter-select {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .filter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .filter-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* 分页导航样式 */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.8rem;
    background: white;
    color: #6c757d;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: #f8f9fa;
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-1px);
}

.page-current {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-color: #6366f1;
}

.page-current:hover {
    background: linear-gradient(135deg, #5b56f0 0%, #8147f5 100%);
    transform: translateY(-1px);
}

.page-prev, .page-next {
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.page-prev:hover, .page-next:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-color: #6366f1;
}

.page-dots {
    color: #adb5bd;
    padding: 0.5rem;
    font-weight: bold;
}

.page-jump {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jump-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.jump-input {
    width: 60px;
    padding: 0.4rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.jump-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.jump-btn {
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jump-btn:hover {
    background: linear-gradient(135deg, #5b56f0 0%, #8147f5 100%);
    transform: translateY(-1px);
}

/* 响应式分页 */
@media (max-width: 768px) {
    .pagination-wrapper {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .page-prev, .page-next {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .jump-form {
        font-size: 0.85rem;
    }
    
    .jump-input {
        width: 50px;
        padding: 0.3rem;
        font-size: 0.85rem;
    }
    
    .jump-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 0.3rem;
    }
    
    .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }
    
    .page-prev, .page-next {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
         /* 隐藏过多的页码，只显示关键的 */
     .pagination .page-btn:nth-child(n+6):nth-last-child(n+6) {
         display: none;
     }
 }

/* 群组页面空状态样式 */
.empty-section {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    border: 2px dashed #e9ecef;
    margin: 2rem 0;
}

.empty-section .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.empty-section p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* 源码网页面样式 */
.website-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.website-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.website-card:hover::before {
    opacity: 1;
}

.website-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
}

.website-header {
    padding: 1.2rem 1.2rem 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    position: relative;
}

.website-favicon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.website-title-section {
    flex: 1;
    min-width: 0;
}

.website-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.website-domain {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
    font-family: 'Courier New', monospace;
    background: rgba(108, 117, 125, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-content {
    padding: 0 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.website-desc {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.website-meta {
    margin-top: auto;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #adb5bd;
}

.meta-icon {
    font-size: 0.75rem;
}

.website-actions {
    padding: 1rem 1.2rem 1.2rem;
    margin-top: auto;
}

.visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.visit-btn:hover {
    background: linear-gradient(135deg, #5b56f0 0%, #8147f5 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-icon {
    font-size: 0.9rem;
}

/* 特殊网站卡片样式 */
.website-card.fresh::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.website-card.code-repo::before {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.website-card.opensource .website-favicon {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.website-card.commercial .website-favicon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.code-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.code-btn:hover {
    background: linear-gradient(135deg, #e68900 0%, #c2690a 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.commercial-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.commercial-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* 徽章样式 */
.fresh-badge, .repo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.fresh-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.repo-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* 时间和类型分组样式 */
.time-group, .type-group {
    margin-bottom: 2.5rem;
}

.time-title, .type-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.type-icon {
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .website-card {
        min-height: 250px;
    }
    
    .website-header {
        padding: 1rem 1rem 0.6rem;
    }
    
    .website-favicon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .website-title {
        font-size: 0.95rem;
    }
    
    .website-domain {
        font-size: 0.75rem;
    }
    
    .website-content {
        padding: 0 1rem;
    }
    
    .website-desc {
        font-size: 0.85rem;
    }
    
    .website-actions {
        padding: 0.8rem 1rem 1rem;
    }
    
    .visit-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .time-title, .type-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .website-card {
        min-height: 220px;
    }
    
    .website-header {
        padding: 0.8rem 0.8rem 0.5rem;
        gap: 0.6rem;
    }
    
    .website-favicon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .website-content {
        padding: 0 0.8rem;
    }
    
    .website-actions {
        padding: 0.6rem 0.8rem 0.8rem;
    }
}

/* 发布页面样式 */
.publish-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.publish-header .header-content {
    max-width: 600px;
    margin: 0 auto;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.title-icon {
    font-size: 1.8rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.publish-type-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    font-size: 1.2rem;
}

.type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.type-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.type-card:hover::before,
.type-card.active::before {
    transform: scaleX(1);
}

.type-card:hover {
    border-color: #6366f1;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.type-card.active {
    border-color: #6366f1;
    background: linear-gradient(135deg, #f8faff 0%, #f1f5ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}

.type-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.type-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.8rem 0;
}

.type-card p {
    color: #6c757d;
    margin: 0 0 1.2rem 0;
    line-height: 1.5;
}

.type-features {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.feature {
    font-size: 0.85rem;
    color: #495057;
    text-align: left;
}

.publish-form-container {
    background: white;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.form-content {
    padding: 2rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f3f4;
}

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

.form-section .section-title {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.section-hint {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: normal;
    margin-left: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.label-icon {
    font-size: 0.9rem;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

.optional {
    color: #6b7280;
    font-weight: 400;
    font-size: 0.85rem;
}

.modern-select,
.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.modern-select:focus,
.form-control:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.modern-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.file-upload-area {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label:hover,
.file-upload-label.drag-over {
    border-color: #6366f1;
    background: #f8faff;
}

.file-upload-label.has-files {
    border-color: #10b981;
    background: #f0fdf4;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.upload-text {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.3rem;
}

.upload-hint {
    font-size: 0.8rem;
    color: #6b7280;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.hint-icon {
    font-size: 0.8rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.contact-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.contact-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.contact-icon.qq {
    color: #12b7f5;
}

.contact-icon.wechat {
    color: #07c160;
}

.contact-icon.telegram {
    color: #0088cc;
}

.form-actions {
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.submit-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    min-width: 140px;
    justify-content: center;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.cancel-btn {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cancel-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.alert {
    position: relative;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.alert-icon {
    font-size: 1.1rem;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid #10b981;
    color: #065f46;
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid #ef4444;
    color: #7f1d1d;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .publish-header {
        padding: 1.5rem 0;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .type-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .type-card {
        padding: 1.5rem;
    }
    
    .form-header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .form-content {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        padding: 1.5rem;
        flex-direction: column;
    }
    
    .submit-btn,
    .cancel-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .type-card {
        padding: 1.2rem;
    }
    
    .type-icon {
        font-size: 2.5rem;
    }
    
    .form-header {
        padding: 1rem;
    }
    
    .form-content {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .form-actions {
        padding: 1rem;
    }
}

/* 任务详情页面样式 */
.modern-breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb-items {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.breadcrumb-item:hover {
    color: #374151;
    background: #f3f4f6;
}

.breadcrumb-current {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #6366f1;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #f8faff 0%, #f1f5ff 100%);
    border-radius: 8px;
}

.breadcrumb-separator {
    color: #d1d5db;
    font-size: 0.8rem;
}

.breadcrumb-icon {
    font-size: 0.8rem;
}

.task-detail-header {
    margin-bottom: 2rem;
}

.task-header-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.task-header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.task-header-content {
    flex: 1;
}

.task-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.badge-icon {
    font-size: 0.9rem;
}

.task-main-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

.task-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.meta-icon {
    font-size: 1rem;
    color: #6b7280;
}

.meta-label {
    color: #6b7280;
    font-weight: 500;
}

.meta-value {
    color: #374151;
    font-weight: 600;
}

.budget-meta .meta-value {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    border: 1px solid #f59e0b;
}

.task-header-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

.primary-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.primary-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.secondary-btn {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.secondary-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    color: #374151;
}

.task-detail-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
}

.task-main-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-icon {
    font-size: 1rem;
}

.image-count {
    background: #6366f1;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: auto;
}

.card-content {
    padding: 1.5rem;
}

.task-description-content {
    line-height: 1.8;
    color: #374151;
    font-size: 1rem;
}

.modern-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.modern-images-grid.single-image {
    grid-template-columns: 1fr;
    max-width: 400px;
}

.modern-image-item {
    aspect-ratio: 1;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.modern-image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.modern-image-item:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.zoom-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.3rem;
}

.zoom-text {
    font-size: 0.8rem;
    font-weight: 500;
}

.more-images-card {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-images-card:hover {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border-color: #9ca3af;
}

.more-content {
    text-align: center;
    color: #6b7280;
}

.more-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.more-text {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.2rem;
}

.more-label {
    font-size: 0.8rem;
}

.task-sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: #f1f3f4;
    border-color: #dee2e6;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.contact-platform-icon {
    font-size: 1.2rem;
}

.contact-platform {
    font-weight: 600;
    color: #374151;
}

.contact-value-display {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-number {
    flex: 1;
    font-family: 'Courier New', monospace;
    background: white;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    color: #374151;
}

.copy-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: #5b56f0;
    transform: scale(1.05);
}

.copy-btn.clicked {
    background: #10b981;
    transform: scale(0.95);
}

.copy-icon {
    font-size: 0.9rem;
}

.no-contact-info {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.no-contact-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.action-buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.modern-action-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.modern-action-btn.primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.modern-action-btn.primary:hover {
    background: linear-gradient(135deg, #5b56f0 0%, #8147f5 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.modern-action-btn.secondary {
    background: white;
    color: #6b7280;
    border-color: #e5e7eb;
}

.modern-action-btn.secondary:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    color: #374151;
}

.action-icon {
    font-size: 1.1rem;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #6366f1;
}

.tip-icon {
    font-size: 1rem;
    margin-top: 0.1rem;
}

.tip-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #374151;
}

/* Toast 通知样式 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    font-weight: 500;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .task-detail-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .task-sidebar-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .task-header-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .task-header-actions {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .action-btn {
        flex: 1;
        min-width: auto;
    }
    
    .task-main-title {
        font-size: 1.4rem;
    }
    
    .task-meta-row {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .modern-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.8rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .contact-method {
        padding: 0.8rem;
    }
    
    .contact-value-display {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .copy-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .breadcrumb-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .task-header-card {
        padding: 1rem;
    }
    
    .task-main-title {
        font-size: 1.2rem;
    }
    
    .task-header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modern-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modern-images-grid.single-image {
        grid-template-columns: 1fr;
    }
    
    .toast {
        left: 10px;
        right: 10px;
        transform: translateY(-100%);
    }
    
    .toast.show {
        transform: translateY(0);
    }
}

/* 任务卡片网格布局样式 */
.task-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.task-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    cursor: pointer;
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.task-card-header {
    padding: 1rem 1rem 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.task-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f59e0b;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.badge-icon {
    font-size: 0.7rem;
}

.badge-text {
    font-size: 0.75rem;
}

.task-budget-display {
    text-align: right;
    flex-shrink: 0;
}

.budget-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #dc2626;
}

.budget-negotiate {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
}

.task-card-content {
    flex: 1;
    padding: 0.5rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
}

.task-card-title {
    margin: 0 0 0.8rem 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.task-card-title {
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.task-card-description {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.task-period-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    padding: 0.4rem 0.6rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.8rem;
}

.period-label {
    color: #6b7280;
}

.period-value {
    color: #374151;
    font-weight: 600;
}

.task-card-footer {
    padding: 0.8rem 1rem;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
    margin-top: auto;
}

.task-meta-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.task-publish-time {
    color: #6b7280;
    font-size: 0.8rem;
    text-align: center;
    font-weight: 500;
}

/* 空状态样式调整 */
.empty-state {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .task-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 900px) {
    .task-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .task-card {
        min-height: 260px;
    }
    
    .task-card-header {
        padding: 0.8rem 0.8rem 0.4rem 0.8rem;
    }
    
    .task-card-content {
        padding: 0.4rem 0.8rem 0.8rem 0.8rem;
    }
    
    .task-card-footer {
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 640px) {
    .task-cards-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .task-card {
        min-height: 240px;
    }
    
    .task-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .task-budget-display {
        text-align: left;
        width: 100%;
    }
    
    .task-meta-bottom {
        justify-content: center;
    }
    
    .task-publish-time {
        text-align: center;
    }
}

/* 筛选器样式优化 */
.filter-section {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.filter-select {
    padding: 0.6rem 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.filter-apply {
    background: #6366f1;
    color: white;
}

.filter-apply:hover {
    background: #5b56f0;
}

.filter-reset {
    background: #f3f4f6;
    color: #6b7280;
}

.filter-reset:hover {
    background: #e5e7eb;
    color: #374151;
}

.filter-stats {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.stats-text {
    color: #6b7280;
    font-size: 0.9rem;
}

.stats-text strong {
    color: #374151;
    font-weight: 600;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.filter-tag {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #dbeafe;
}

/* 分页样式优化 */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.page-btn {
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: #6b7280;
    background: white;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    min-width: 36px;
    text-align: center;
}

.page-btn:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #d1d5db;
}

.page-current {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.page-current:hover {
    background: #6366f1;
    color: white;
}

.page-prev,
.page-next {
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.page-dots {
    padding: 0.5rem 0.3rem;
    color: #9ca3af;
    font-weight: 500;
}

.page-jump {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.jump-input {
    width: 60px;
    padding: 0.4rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
}

.jump-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.jump-btn {
    padding: 0.4rem 0.8rem;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.jump-btn:hover {
    background: #5b56f0;
}

@media (max-width: 768px) {
    .filter-form {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        justify-content: center;
    }
    
    .pagination-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination {
        justify-content: center;
    }
    
    .page-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        min-width: 32px;
    }
    
    .page-prev,
    .page-next {
        padding: 0.4rem 0.8rem;
    }
} 

/* 预算输入组样式 */
.budget-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.budget-input-group:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.budget-input-group:focus-within {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.budget-amount {
    flex: 2;
    position: relative;
}

.budget-amount input {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    background: white;
    transition: all 0.3s ease;
    margin-bottom: 0;
    color: #495057;
}

.budget-amount input:hover {
    border-color: #adb5bd;
    background-color: #f8f9fa;
}

.budget-amount input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
    background-color: white;
}

.budget-amount input::placeholder {
    color: #95a5a6;
    font-weight: 400;
}

.budget-currency {
    flex: 1;
    min-width: 140px;
    position: relative;
}

.budget-currency select {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    background: white;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
    color: #495057;
}

.budget-currency select:hover {
    border-color: #adb5bd;
    background-color: #f8f9fa;
}

.budget-currency select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

.budget-currency select option {
    padding: 0.5rem;
    font-weight: 500;
}

/* 预算输入组的标签美化 */
.budget-input-group + .form-hint {
    margin-top: 0.75rem;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 100%);
    border: 1px solid #d4edda;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #495057;
}

.budget-input-group + .form-hint .hint-icon {
    color: #28a745;
    margin-right: 0.25rem;
}

/* 响应式预算输入 */
@media (max-width: 768px) {
    .budget-input-group {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .budget-amount,
    .budget-currency {
        flex: 1;
        min-width: auto;
    }
    
    .budget-currency {
        min-width: auto;
    }
}

/* 预算输入组的动画效果 */
.budget-input-group .budget-amount input,
.budget-input-group .budget-currency select {
    transform: translateZ(0);
}

.budget-input-group:hover .budget-amount input,
.budget-input-group:hover .budget-currency select {
    transform: translateY(-1px);
}

/* 优化预算相关表单组的整体样式 */
.budget-form-group {
    position: relative;
}

.budget-form-group .form-label {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.budget-form-group .form-label .label-icon {
    font-size: 1.1rem;
}

.budget-form-group .optional {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6c757d;
    font-style: italic;
}

/* 移除默认的表单控件样式影响 */
.budget-input-group .form-control {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.budget-input-group .budget-amount .form-control,
.budget-input-group .budget-currency .form-control {
    border: 1px solid #dee2e6 !important;
    padding: 0.75rem 1rem !important;
} 