/* 基础样式重置和全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮基础样式 */
.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
    user-select: none;
    outline: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    cursor: pointer;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:focus {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

/* 企业按钮特殊样式 */
#enterpriseBtn {
    cursor: pointer !important;
    position: relative;
    overflow: hidden;
}

#enterpriseBtn:hover {
    cursor: pointer !important;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

#enterpriseBtn:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

/* 专业人士按钮特殊样式 */
#professionalBtn {
    cursor: pointer !important;
    position: relative;
    overflow: hidden;
}

#professionalBtn:hover {
    cursor: pointer !important;
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#professionalBtn:active {
    transform: translateY(0);
    background: #f3f4f6;
}

#professionalBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed !important;
    transform: none;
}

.btn-secondary {
    background: white;
    color: #374151;
    padding: 12px 24px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
}

.btn-secondary:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-login, .btn-register {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-login {
    background: transparent;
    color: #374151;
}

.btn-login:hover {
    background: #f3f4f6;
}

.btn-register {
    background: #2563eb;
    color: white;
}

.btn-register:hover {
    background: #1d4ed8;
}

.full-width {
    width: 100%;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: #2563eb;
    font-size: 24px;
    font-weight: 700;
}

.nav-logo i {
    margin-right: 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2563eb;
    border-radius: 1px;
}

/* 移动端导航 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: all 0.3s ease;
}

/* 主页横幅样式 */
.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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 1000 100" fill="white" opacity="0.1"><path d="M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7c23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V0H0v30.3c0,0,72,32.6,158.4,30.5c39.2-0.7,92.8-6.7,137-22.4c21.2-7.5,60.7-23.1,67.8-30.9C399.7,0,421.9,6.5,421.9,6.5z"/></svg>') repeat-x bottom;
    background-size: 1000px 100px;
}

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

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat p {
    font-size: 16px;
    opacity: 0.9;
}

/* 任务相关样式 */
.featured-tasks {
    padding: 100px 0;
    background: white;
}

.featured-tasks h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f2937;
}

.task-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    background: white;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #2563eb;
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.task-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.task-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.task-card:hover::before {
    transform: scaleX(1);
}

.task-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.task-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.3;
}

.task-category {
    background: #eff6ff;
    color: #2563eb;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.task-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.task-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6b7280;
}

.task-budget {
    font-size: 18px;
    font-weight: 700;
    color: #059669;
}

.task-deadline {
    color: #dc2626;
}

.task-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.task-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
}

.company-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.view-more {
    text-align: center;
    margin-top: 60px;
}

/* 使用说明样式 */
.how-it-works {
    padding: 100px 0;
    background: #f8fafc;
}

.how-it-works h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1f2937;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.step-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f2937;
}

.about-text p {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 40px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
}

.feature i {
    width: 24px;
    height: 24px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
}

/* 页脚样式 */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2563eb;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.footer-section ul li i {
    margin-right: 10px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-content.large {
    max-width: 700px;
}

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

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.close:hover {
    color: #dc2626;
}

.modal h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1f2937;
    font-size: 24px;
}

.user-type-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.user-type-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-type-btn.active {
    border-color: #2563eb;
    background: #2563eb;
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input {
    width: auto;
}

.forgot-password {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
}

.modal-footer a {
    color: #2563eb;
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* 任务列表页面样式 */
.page-header {
    margin-top: 70px;
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.search-filters {
    background: white;
    padding: 40px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.search-input-group {
    flex: 1;
    position: relative;
}

.search-input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.search-input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-input-group input:focus {
    outline: none;
    border-color: #2563eb;
}

.filter-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.filter-group select {
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #2563eb;
}

.task-list-section {
    padding: 40px 0 80px;
}

.task-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.results-info {
    color: #6b7280;
    font-size: 16px;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    border-color: #2563eb;
    background: #2563eb;
    color: white;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.task-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.task-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.task-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6b7280;
}

.task-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.progress-bar {
    width: 200px;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #6b7280;
}

.task-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status.in-progress {
    background: #fef3c7;
    color: #92400e;
}

.status.completed {
    background: #d1fae5;
    color: #065f46;
}

.status.pending {
    background: #fce7f3;
    color: #be185d;
}

.status.accepted {
    background: #dbeafe;
    color: #1e40af;
}

.status.cancelled {
    background: #fee2e2;
    color: #dc2626;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination button {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover,
.pagination button.active {
    border-color: #2563eb;
    background: #2563eb;
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 任务详情页面样式 */
.breadcrumb {
    margin-top: 100px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 10px;
}

.task-detail-main {
    padding-bottom: 80px;
}

.task-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.task-detail-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.task-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.3;
}

.task-header .task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.task-header .task-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    color: #374151;
}

.task-header .task-meta i {
    color: #6b7280;
}

.task-description h3,
.task-requirements h3,
.attachments h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    margin-top: 40px;
}

.description-content {
    color: #374151;
    line-height: 1.8;
}

.description-content h4 {
    font-weight: 600;
    color: #1f2937;
    margin: 20px 0 10px;
}

.description-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.description-content li {
    margin-bottom: 8px;
}

.task-requirements ul {
    list-style: none;
    padding: 0;
}

.task-requirements li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 20px;
}

.task-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

.attachment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.attachment-item i {
    font-size: 20px;
    color: #6b7280;
}

.btn-download {
    margin-left: auto;
    padding: 6px 12px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-download:hover {
    background: #1d4ed8;
}

.task-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.employer-info,
.apply-section,
.similar-tasks {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.employer-info h3,
.similar-tasks h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.employer-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.employer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #6b7280;
}

.employer-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.employer-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars {
    color: #f59e0b;
}

.employer-rating span {
    font-size: 14px;
    color: #6b7280;
}

.employer-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.employer-stats .stat {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.employer-stats .label {
    color: #6b7280;
}

.employer-stats .value {
    font-weight: 500;
    color: #1f2937;
}

.task-price {
    text-align: center;
    margin-bottom: 25px;
}

.price-range {
    font-size: 24px;
    font-weight: 700;
    color: #059669;
    display: block;
    margin-bottom: 5px;
}

.price-note {
    font-size: 14px;
    color: #6b7280;
}

.btn-apply {
    width: 100%;
    margin-bottom: 25px;
    font-size: 16px;
    padding: 15px;
}

.apply-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.apply-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.apply-stats .stat i {
    color: #9ca3af;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-buttons .btn-secondary {
    flex: 1;
    justify-content: center;
    padding: 10px;
    font-size: 14px;
}

.similar-task-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.similar-task-item {
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.similar-task-item:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.similar-task-item h4 {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 8px;
}

.similar-task-item .budget {
    font-size: 16px;
    font-weight: 600;
    color: #059669;
    margin-bottom: 5px;
}

.similar-task-item .category {
    font-size: 12px;
    background: #eff6ff;
    color: #2563eb;
    padding: 2px 8px;
    border-radius: 10px;
}

/* 申请任务表单样式 */
.apply-form textarea {
    resize: vertical;
    min-height: 120px;
}

.file-upload {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: #2563eb;
    background: #f8fafc;
}

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

.file-upload-label {
    cursor: pointer;
    color: #6b7280;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.file-upload-label i {
    font-size: 32px;
    color: #9ca3af;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.form-actions .btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: none;
}

.form-actions .btn-secondary:hover {
    background: #e5e7eb;
    transform: none;
    box-shadow: none;
}

/* 个人中心页面样式 */
.profile-main {
    margin-top: 70px;
    padding: 40px 0 80px;
}

.profile-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.profile-sidebar {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 110px;
}

.user-info {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.user-type {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

.user-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.user-rating .stars {
    color: #f59e0b;
}

.user-rating span {
    font-size: 14px;
    color: #6b7280;
}

.profile-nav ul {
    list-style: none;
}

.profile-nav .nav-item {
    margin-bottom: 5px;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #6b7280;
    position: relative;
}

.profile-nav .nav-item:hover,
.profile-nav .nav-item.active {
    background: #eff6ff;
    color: #2563eb;
}

.profile-nav .nav-item i {
    width: 16px;
    text-align: center;
}

.badge {
    background: #dc2626;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.profile-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tab-content {
    display: none;
}

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

.dashboard-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.dashboard-header p {
    color: #6b7280;
    margin-bottom: 40px;
}

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

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, #11b981 0%, #059669 100%);
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-card:nth-child(4) {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-info p {
    font-size: 14px;
    opacity: 0.9;
}

.recent-activities h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.activity-item i {
    margin-top: 3px;
    font-size: 16px;
}

.activity-item .text-success {
    color: #059669;
}

.activity-item .text-info {
    color: #0ea5e9;
}

.activity-item .text-warning {
    color: #f59e0b;
}

.activity-content p {
    color: #374151;
    margin-bottom: 5px;
}

.activity-content small {
    color: #6b7280;
    font-size: 12px;
}

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

.content-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.application-list,
.message-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.application-item,
.message-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.application-item:hover,
.message-item:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.message-item.unread {
    background: #eff6ff;
    border-color: #2563eb;
}

.application-info h4,
.message-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.application-info p,
.message-content p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 5px;
}

.application-info .budget {
    color: #059669;
    font-weight: 600;
}

.message-content small {
    color: #9ca3af;
    font-size: 12px;
}

.application-status,
.message-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    margin-right: 15px;
}

.wallet-overview {
    margin-bottom: 40px;
}

.balance-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.balance-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.balance {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
}

.balance-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.balance-actions .btn-primary,
.balance-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.balance-actions .btn-primary:hover,
.balance-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.transaction-history h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.transaction-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.transaction-info p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 5px;
}

.transaction-info small {
    color: #9ca3af;
    font-size: 12px;
}

.transaction-amount {
    font-size: 16px;
    font-weight: 600;
}

.transaction-amount.income {
    color: #059669;
}

.transaction-amount.expense {
    color: #dc2626;
}

.settings-form {
    max-width: 600px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.skill-tag {
    background: #eff6ff;
    color: #2563eb;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-tag i {
    cursor: pointer;
    font-size: 12px;
}

.skill-tag i:hover {
    color: #dc2626;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 150px;
    z-index: 1000;
    display: none;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    color: #374151;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #f3f4f6;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .task-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .profile-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .profile-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 60px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .task-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
    }
    
    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .task-list-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .task-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .task-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .task-detail-content {
        padding: 20px;
    }
    
    .employer-card {
        flex-direction: column;
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .profile-content {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .application-item,
    .message-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .task-card {
        padding: 20px;
    }
    
    .step-card {
        padding: 30px 15px;
    }
    
    .about-text {
        text-align: center;
    }
    
    .task-detail-content {
        padding: 15px;
    }
    
    .employer-info,
    .apply-section,
    .similar-tasks {
        padding: 20px;
    }
}

/* ================================
   企业后台管理页面样式
   ================================ */

/* 企业后台整体布局 */
.enterprise-dashboard {
    background-color: #f8fafc;
    min-height: 100vh;
}

/* 针对企业后台的特殊优化 */
.enterprise-dashboard .sidebar {
    height: auto;
    min-height: calc(100vh - 56px);
    max-height: calc(100vh - 56px);
    position: fixed;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.enterprise-dashboard .sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 16px 0 32px;
}

.enterprise-dashboard .main-content {
    min-height: calc(100vh - 56px);
    padding-bottom: 40px;
    padding: 16px 20px 40px;
}

/* 企业后台面包屑和标题优化 */
.enterprise-dashboard .breadcrumb {
    margin-bottom: 12px;
    padding: 4px 0;
    font-size: 12px;
}

.enterprise-dashboard .page-header {
    margin-bottom: 16px;
    padding: 8px 0;
}

.enterprise-dashboard .page-header h1 {
    font-size: 22px;
    margin: 0;
}

.enterprise-dashboard .stats-grid {
    margin-bottom: 20px;
    gap: 16px;
}

.enterprise-dashboard .stat-card {
    padding: 16px;
}

/* 顶部导航栏 */
.dashboard-navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 56px;
}

.dashboard-navbar .nav-container {
    height: 56px;
    max-width: none;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-navbar .nav-logo h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-icon {
    position: relative;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.notification-icon:hover {
    background-color: #f3f4f6;
}

.notification-icon i {
    font-size: 16px;
    color: #6b7280;
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.user-profile:hover {
    background-color: #f3f4f6;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 20px;
}

.username {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
    line-height: 1.3;
}

/* 主容器布局 */
.dashboard-container {
    display: flex;
    margin-top: 56px;
    min-height: calc(100vh - 56px);
}

/* 左侧边栏 */
.sidebar {
    width: 250px;
    background: white;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    height: auto;
    min-height: calc(100vh - 56px);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
}

.sidebar-nav {
    padding: 16px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar .nav-menu {
    flex-direction: column;
    gap: 0;
    list-style: none;
    flex: 1;
    margin: 0;
    padding: 0;
}

.sidebar .nav-item {
    width: 100%;
    margin-bottom: 2px;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 10px 24px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
    position: relative;
    font-size: 14px;
}

.sidebar .nav-link:hover,
.sidebar .nav-item.active .nav-link {
    background-color: #f3f4f6;
    color: #2563eb;
}

.sidebar .nav-link i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
}

.sidebar .nav-link span {
    flex: 1;
}

.submenu-arrow {
    font-size: 12px !important;
    transition: transform 0.2s;
    margin: 0 !important;
    width: auto !important;
}

.nav-item.active .submenu-arrow {
    transform: rotate(90deg);
}

.submenu {
    background: #f9fafb;
    list-style: none;
    display: none;
    padding: 4px 0;
    margin: 0;
}

.nav-item.active .submenu {
    display: block;
}

.submenu li {
    width: 100%;
}

.submenu a {
    display: block;
    padding: 6px 24px 6px 56px;
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.submenu a:hover {
    color: #2563eb;
    background-color: #e5e7eb;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
    overflow-x: auto;
    min-height: calc(100vh - 56px);
    background-color: #f8fafc;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #6b7280;
    padding: 8px 0;
}

.breadcrumb .current-page {
    color: #374151;
    font-weight: 500;
}

/* 页面标题和快捷操作 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px 0;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.quick-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    text-decoration: none;
}

.btn-outline {
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* 数据统计卡片网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.stat-card.blue .stat-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.stat-card.orange .stat-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stat-card.green .stat-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-card.purple .stat-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.stat-content p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
}

.trend {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trend.positive {
    color: #10b981;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #f59e0b;
    transition: width 0.3s;
}

.mini-chart {
    color: #8b5cf6;
}

/* 快捷操作区 */
.quick-operations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.operation-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.operation-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.operation-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.operation-card p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.badge {
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
}

/* 筛选工具栏 */
.filter-toolbar {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    color: #374151;
    min-width: 120px;
}

.filter-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    width: 200px;
}

.search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* 项目列表 */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.project-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.recruiting {
    background: #fef3c7;
    color: #f59e0b;
}

.status-badge.in-progress {
    background: #d1fae5;
    color: #10b981;
}

.status-badge.completed {
    background: #dbeafe;
    color: #2563eb;
}

.status-badge.draft {
    background: #f3f4f6;
    color: #6b7280;
}

.status-badge.cancelled {
    background: #fee2e2;
    color: #ef4444;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.meta-item i {
    width: 16px;
    color: #9ca3af;
}

.project-description {
    margin-bottom: 20px;
}

.project-description p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 14px;
}

.project-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.page-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    background: white;
    color: #6b7280;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.page-btn:hover:not([disabled]) {
    background: #f9fafb;
    border-color: #9ca3af;
}

.page-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-number {
    width: 36px;
    height: 36px;
    border: 1px solid #d1d5db;
    background: white;
    color: #6b7280;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.page-number:hover,
.page-number.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.page-ellipsis {
    color: #9ca3af;
    padding: 0 8px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .filter-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .search-group {
        margin-left: 0;
    }
    
    .project-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-navbar .nav-container {
        padding: 0 16px;
    }
    
    .main-content {
        padding: 16px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .quick-actions {
        justify-content: stretch;
    }
    
    .quick-actions .btn {
        flex: 1;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-operations {
        grid-template-columns: 1fr;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    
    .filter-select,
    .search-input {
        width: 100%;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-numbers {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 12px;
    }
}

/* ================================
   任务发布模态框样式
   ================================ */

/* 模态框基础样式 */
.task-publish-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.task-publish-modal .modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 模态框头部 */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.close-btn {
    font-size: 24px;
    font-weight: normal;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
    line-height: 1;
    padding: 4px;
}

.close-btn:hover {
    opacity: 1;
}

/* 步骤指示器 */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 32px 24px;
    background: #f8fafc;
    gap: 60px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(100% + 20px);
    width: 20px;
    height: 2px;
    background: #d1d5db;
    transition: background-color 0.3s;
}

.step.active:not(:last-child)::after {
    background: #2563eb;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    background: #e5e7eb;
    color: #6b7280;
    transition: all 0.3s;
}

.step.active .step-number {
    background: #2563eb;
    color: white;
}

.step.completed .step-number {
    background: #10b981;
    color: white;
}

.step-title {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    transition: color 0.3s;
}

.step.active .step-title {
    color: #2563eb;
}

.step.completed .step-title {
    color: #10b981;
}

/* 步骤内容 */
.step-content {
    padding: 0 32px 24px;
    min-height: 400px;
}

.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

.step-panel h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 24px;
    text-align: center;
}

/* 表单样式 */
.task-form .form-group {
    margin-bottom: 24px;
}

.task-form label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.required {
    color: #ef4444;
}

.task-form input[type="text"],
.task-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    font-family: inherit;
}

.task-form input[type="text"]:focus,
.task-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.task-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* 技能选择 */
.skills-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

/* 项目类型选择（单选） */
.project-type-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.project-type-selection.mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.type-radio {
    position: relative;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.type-radio:hover {
    border-color: #d1d5db;
    background: #f3f4f6;
}

.type-radio input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: #2563eb;
}

.type-radio input[type="radio"]:checked {
    transform: scale(1.1);
}

.type-radio:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
}

.type-radio label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.skill-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.skill-checkbox:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.skill-checkbox input[type="checkbox"] {
    margin: 0;
    accent-color: #2563eb;
}

.skill-checkbox input[type="checkbox"]:checked {
    transform: scale(1.1);
}

.skill-checkbox:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
}

.skill-checkbox label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

/* 错误消息 */
.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
}

/* 占位内容 */
.placeholder-content {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

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

.placeholder-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.placeholder-content p {
    font-size: 14px;
    margin: 0;
}

/* 步骤操作按钮 */
.step-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 24px 32px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

.step-actions .btn {
    min-width: 120px;
    padding: 12px 24px;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .task-publish-modal .modal-content {
        margin: 1% auto;
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header,
    .step-content,
    .step-actions {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .step-indicator {
        padding: 24px 20px 20px;
        gap: 30px;
    }
    
    .step:not(:last-child)::after {
        width: 15px;
        left: calc(100% + 10px);
    }
    
    .skills-selection {
        grid-template-columns: 1fr;
    }
    
    .step-actions {
        flex-direction: column;
    }
    
    .step-actions .btn {
        width: 100%;
    }
}

/* ================================ */
/* 项目发布模态框新功能样式 */
/* ================================ */

/* 步骤描述 */
.step-description {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* AI思考loading动效 */
.ai-thinking-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: white;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.ai-thinking-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

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

.ai-avatar {
    font-size: 48px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.thinking-animation {
    margin: 20px 0;
}

.thinking-dots {
    display: inline-flex;
    gap: 8px;
}

.thinking-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    animation: thinking 1.4s infinite ease-in-out;
}

.thinking-dots span:nth-child(1) { animation-delay: -0.32s; }
.thinking-dots span:nth-child(2) { animation-delay: -0.16s; }
.thinking-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes thinking {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.ai-thinking-container h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0;
    color: white;
}

.thinking-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.thinking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.thinking-step.active {
    opacity: 1;
    transform: scale(1.1);
}

.thinking-step i {
    font-size: 24px;
    margin-bottom: 4px;
}

.thinking-step span {
    font-size: 12px;
    text-align: center;
}

/* AI任务介绍 */
.ai-tasks-intro {
    margin: 20px 0;
}

.intro-card {
    background: #eff6ff;
    border: 1px solid #2563eb;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2563eb;
}

.intro-card i {
    font-size: 20px;
    flex-shrink: 0;
}

.intro-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* 拆解操作区样式优化 */
.breakdown-actions {
    display: flex;
    gap: 12px;
}

.regenerate-btn {
    background: #6366f1;
    color: white;
    border: none;
}

.regenerate-btn:hover {
    background: #5b57f2;
    transform: translateY(-1px);
}

.regenerate-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.regenerate-btn i {
    margin-right: 6px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .thinking-steps {
        gap: 20px;
    }
    
    .breakdown-actions {
        flex-direction: column;
    }
    
    .breakdown-actions .btn {
        width: 100%;
    }
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.breakdown-title h4 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.task-count {
    color: #6b7280;
    font-size: 14px;
}

.add-task-btn {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 8px;
    border: 2px solid #d1d5db;
    background: white;
    color: #374151;
    transition: all 0.3s ease;
}

.add-task-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #f8fafc;
}

/* 空任务提示 */
.empty-task-prompt {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}

.empty-task-prompt i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #d1d5db;
}

.empty-task-prompt p {
    font-size: 16px;
    line-height: 1.5;
}

/* 任务列表 */
.task-list {
    min-height: 200px;
}

/* 任务项目样式 */
.task-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.task-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.task-item[data-task-id*="ai_"] {
    border-left: 4px solid #2563eb;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.task-header h5 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.task-actions {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.task-item:hover .task-actions {
    opacity: 1;
}

.task-actions .btn {
    padding: 6px 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.task-actions .btn-secondary {
    background: #6b7280;
    color: white;
}

.task-actions .btn-secondary:hover {
    background: #4b5563;
}

.task-actions .btn-danger {
    background: #dc2626;
    color: white;
}

.task-actions .btn-danger:hover {
    background: #b91c1c;
}

.task-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 12px 0;
}

.task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.meta-item i {
    font-size: 12px;
}

.ai-badge {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 新任务表单 */
.new-task-form {
    background: #f8fafc;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.new-task-form .form-group {
    margin-bottom: 16px;
}

.new-task-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.new-task-form .project-type-selection.mini {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.new-task-form .project-type-selection.mini .type-radio {
    margin-bottom: 8px;
}

.new-task-form .project-type-selection.mini label {
    font-size: 12px;
    padding: 6px 12px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .task-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .task-actions {
        opacity: 1;
    }
    
    .task-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .new-task-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .new-task-form .project-type-selection.mini {
        grid-template-columns: 1fr;
    }
}

.task-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

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

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.task-header h5 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    flex: 1;
    margin-right: 12px;
}

.task-actions {
    display: flex;
    gap: 8px;
}

.task-actions .btn {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sm {
    padding: 6px 10px;
    font-size: 12px;
}

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

.btn-danger:hover {
    background: #dc2626;
}

.task-description {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 13px;
}

.meta-item i {
    width: 14px;
    color: #9ca3af;
}

/* 新任务表单 */
.new-task-form {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.skills-selection.mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.skills-selection.mini .skill-checkbox {
    margin-bottom: 0;
}

/* 招募设置区域 */
.recruitment-section {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

/* 单选按钮组 */
.radio-group {
    display: grid;
    gap: 12px;
}

.radio-option {
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-option label {
    display: block;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.radio-option input[type="radio"]:checked + label {
    border-color: #2563eb;
    background: #eff6ff;
}

.radio-option label:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.radio-option input[type="radio"]:checked + label:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.option-content strong {
    display: block;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.option-content p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* 要求复选框 */
.requirement-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.requirement-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
}

.requirement-item label {
    color: #374151;
    font-size: 14px;
    cursor: pointer;
}

/* 联系方式设置 */
.contact-settings {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
}

.contact-option label {
    color: #374151;
    font-size: 14px;
    cursor: pointer;
}

/* 项目预览 */
.project-preview {
    margin-top: 24px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.project-preview h4 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-preview h4 i {
    color: #6b7280;
}

.preview-content {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.preview-placeholder {
    text-align: center;
    color: #9ca3af;
    padding: 40px 20px;
}

.preview-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.preview-header {
    background: #f9fafb;
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.preview-header h4 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.preview-meta {
    display: flex;
    gap: 16px;
    color: #6b7280;
    font-size: 14px;
}

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

.preview-content .preview-section {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.preview-content .preview-section:last-child {
    border-bottom: none;
}

.preview-section h5 {
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-section p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.preview-section p:last-child {
    margin-bottom: 0;
}

.preview-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: #eff6ff;
    color: #2563eb;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.no-data {
    color: #9ca3af;
    font-style: italic;
    font-size: 14px;
}

.preview-task {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 8px;
}

.preview-task:last-child {
    margin-bottom: 0;
}

.preview-task strong {
    color: #1f2937;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.preview-task p {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 8px;
}

.task-details {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #9ca3af;
}

/* 新功能响应式设计 */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .requirement-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .skills-selection.mini {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .task-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .task-actions {
        align-self: flex-end;
    }
    
    .breakdown-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .preview-meta {
        flex-direction: column;
        gap: 8px;
    }
}