* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 记住密码样式 */
.form-group.remember-password {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    width: 100% !important;
    gap: 8px !important;
}

.form-group.remember-password label {
    color: #e0e0e0 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.form-group.remember-password input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
    margin: 0 !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    min-height: 100vh;
}

#app {
    min-height: 100vh;
}

.section {
    display: none;
    min-height: 100vh;
}

.section.active {
    display: block;
}

/* 侧边栏布局 */
.admin-layout,
.employee-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.sidebar-header p {
    font-size: 12px;
    color: #888;
}

.sidebar-nav {
    flex: 1;
    padding: 16px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #aaa;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.2) 100%);
    color: #4facfe;
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.nav-item .icon {
    font-size: 18px;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer .btn {
    width: 100%;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 12px;
}

.header-info {
    color: #888;
    font-size: 14px;
}

.header-info strong {
    color: #4facfe;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 登录模块样式 */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-title {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    color: #aaa;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    color: #e0e0e0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input option,
.form-group select option {
    background: #1a1a2e;
    color: #e0e0e0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4facfe;
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

.login-tips {
    margin-top: 30px;
    padding: 20px;
    background: rgba(79, 172, 254, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.login-tips p {
    font-size: 12px;
    color: #aaa;
    margin: 5px 0;
    line-height: 1.6;
}

.login-reset {
    margin-top: 15px;
    text-align: center;
}

/* 面板样式 */
.admin-panel,
.employee-panel {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.panel-header h2 {
    font-size: 32px;
    color: #fff;
}

/* 模块样式 */
.module {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.module h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(79, 172, 254, 0.3);
}

/* 模块头部 */
.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(79, 172, 254, 0.3);
}

.module-header h3 {
    margin: 0;
    padding: 0;
    border: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* 搜索栏 */
.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-bar input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    color: #fff;
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.search-bar-inline {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex: 1;
}

.search-bar-inline input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    color: #fff;
}

/* 任务列表 */
.task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.task-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.task-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.task-amount {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.task-description {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.task-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}

.task-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.task-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.task-status.assigned {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
}

.task-status.in-progress {
    background: rgba(79, 172, 254, 0.2);
    color: #4facfe;
}

.task-status.completed {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.task-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.task-actions .btn {
    padding: 8px 16px;
    font-size: 12px;
}

/* 员工列表 */
.employee-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.employee-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.employee-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.employee-main-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.employee-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.employee-realname {
    font-size: 13px;
    color: #4facfe;
}

.employee-contact {
    font-size: 13px;
    color: #aaa;
}

.employee-idcard {
    font-size: 13px;
    color: #aaa;
}

.employee-actions {
    display: flex;
    gap: 10px;
}

.user-disabled {
    color: #ff4757 !important;
    font-weight: 500;
}

.btn-danger {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.employee-tasks {
    font-size: 12px;
    color: #888;
}

/* 员工头部信息 */
.employee-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 角色徽章 */
.role-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.role-admin {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    color: #fff;
}

.role-employee {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

/* 状态徽章 */
.status-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.status-disabled {
    background: linear-gradient(135deg, #999 0%, #666 100%);
    color: #fff;
}

/* 员工操作按钮 */
.employee-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* 危险按钮 */
.btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    border: none;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* 详情模态框样式 */
.modal-info-section {
    margin-bottom: 20px;
}

.modal-info-section h4 {
    color: #4facfe;
    margin-bottom: 12px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.modal-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-info-row:last-child {
    border-bottom: none;
}

.modal-info-label {
    font-size: 13px;
    color: #aaa;
}

.modal-info-value {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
}

.status-normal {
    color: #4facfe;
}

.status-disabled {
    color: #ff6b6b;
}

/* 统计框 */
.stats-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    background: rgba(79, 172, 254, 0.1);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.stat-item span:first-child {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 8px;
}

.stat-item span:last-child {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #4facfe;
}

/* 标签页 */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #aaa;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.tab-btn.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    border-color: transparent;
}

/* 自定义日期筛选 */
.custom-date-filter {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.custom-date-filter label {
    font-size: 14px;
    color: #aaa;
}

.custom-date-filter input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    font-size: 14px;
}

/* 收入统计 */
.income-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

/* 全局统计网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 8px;
}

.stat-number {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #4facfe;
}

.income-card {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.income-card span:first-child {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 8px;
}

.income-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #4facfe;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: rgba(30, 30, 50, 0.95);
    border-radius: 16px;
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
}

/* 截图项目样式 */
.screenshots-container {
    display: flex;
    gap: 20px;
    width: 100%;
}

.screenshots-section {
    flex: 1;
    min-width: 300px;
}

.screenshots-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 100%;
}

.screenshot-label {
    font-size: 14px;
    color: #4facfe;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: left;
}

.screenshot-item img {
    max-width: 250px;
    max-height: 200px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 截图网格样式 - 每个部分内的小截图竖排显示 */
.screenshots-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

/* 中间分隔线 */
.screenshots-divider {
    width: 2px;
    background: linear-gradient(180deg, rgba(255, 71, 87, 0.3), rgba(255, 71, 87, 0.1));
    margin: 0 10px;
}

/* 开始截图和完成截图并排显示 */
.screenshots-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .screenshots-container {
        flex-direction: column;
    }
    
    .screenshots-section {
        min-width: auto;
    }
    
    .screenshot-item img {
        max-width: 200px;
        max-height: 150px;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #fff;
    font-size: 20px;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #4facfe;
}

.modal-body {
    padding: 20px;
}

/* 模态框底部按钮 */
.modal-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* 模态框操作区域 */
.modal-actions {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* 成功按钮 */
.btn-success {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #fff;
    border: none;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
}

/* 危险按钮 */
.btn-danger {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b6b 100%);
    color: #fff;
    border: none;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4);
}

/* 模态框表单 */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-form .form-group {
    margin: 0;
}

.modal-form .form-group label {
    display: block;
    color: #aaa;
    font-size: 14px;
    margin-bottom: 8px;
}

.modal-form .form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.modal-form .form-group input:focus {
    border-color: #4facfe;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.2);
}

.modal-form .form-group input::placeholder {
    color: #666;
}

.required {
    color: #ff4757;
}

/* 表单错误提示 */
.form-error {
    color: #ff4757;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
}

.form-error:not(:empty)::before {
    content: '⚠ ';
}

/* 单选按钮组样式 */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(79, 172, 254, 0.3);
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #4facfe;
    cursor: pointer;
}

.radio-option span {
    font-size: 14px;
    color: #e0e0e0;
    cursor: pointer;
}

.modal-form .form-group input:focus,
.modal-form .form-group select:focus {
    border-color: #4facfe !important;
}

.modal-form .form-group input.error,
.modal-form .form-group select.error {
    border-color: #ff4757 !important;
}

.modal-form .form-group input.valid,
.modal-form .form-group select.valid {
    border-color: #00f2fe !important;
}



.modal-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-info-row {
    display: flex;
    gap: 15px;
}

.modal-info-label {
    min-width: 100px;
    color: #aaa;
    font-size: 14px;
}

.modal-info-value {
    color: #fff;
    font-size: 14px;
}

.modal-upload-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-upload-section h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}

.upload-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.upload-item label {
    font-size: 14px;
    color: #aaa;
}

.upload-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    display: none;
}

.upload-preview.show {
    display: block;
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.upload-preview.show:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* 图片预览模态框 */
.image-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.image-preview-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: rgba(30, 30, 50, 0.95);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.3s ease;
}

.preview-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.preview-close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.preview-close-btn:hover {
    transform: rotate(90deg);
    background: #ff4757;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* 小型统计卡片 */
.stats-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.stat-card-small {
    background: rgba(79, 172, 254, 0.1);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.stat-label-small {
    display: block;
    font-size: 11px;
    color: #aaa;
    margin-bottom: 6px;
}

.stat-number-small {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #4facfe;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-box {
        grid-template-columns: 1fr;
    }

    .income-stats {
        grid-template-columns: 1fr 1fr;
    }

    .admin-panel,
    .employee-panel {
        padding: 20px;
    }

    .task-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .task-actions {
        flex-wrap: wrap;
    }
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 14px;
}

/* 截图上传区域 */
.screenshot-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot-section h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}

.screenshot-upload {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.screenshot-upload .upload-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.screenshot-upload label {
    font-size: 13px;
    color: #aaa;
}

.screenshot-upload input[type="file"] {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
}

.screenshot-upload input[type="file"]:hover {
    background: rgba(255, 255, 255, 0.08);
}

.preview-img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid rgba(79, 172, 254, 0.3);
    margin-top: 8px;
    object-fit: contain;
}

/* 控制任务详情页中截图的大小 */
.screenshots-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 8px;
    max-height: 500px;
    overflow-y: auto;
}

.screenshots-grid img {
    max-width: 250px;
    max-height: 200px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 控制上传区域中图片的大小 */
.upload-item img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: 4px;
    margin-top: 8px;
}


.empty-state::before {
    content: "📋";
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 任务详情样式 */
.task-detail {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.task-detail h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-size: 14px;
    color: #aaa;
    min-width: 80px;
}

.detail-row .value {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    text-align: right;
    flex: 1;
}

.task-price {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.task-item {
    animation: fadeIn 0.3s ease;
}

.employee-item {
    animation: fadeIn 0.3s ease;
}

/* 自定义确认对话框 */
.confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.confirm-modal.show {
    display: flex;
}

.confirm-content {
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.98) 0%, rgba(25, 25, 45, 0.98) 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.confirm-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.confirm-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.confirm-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.confirm-body {
    padding: 20px 24px;
}

.confirm-message {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.confirm-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px 24px;
}

.confirm-footer .btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
}

.btn-confirm {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    color: #fff;
    border: none;
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

/* 自定义输入对话框 */
.input-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.input-modal.show {
    display: flex;
}

.input-content {
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.98) 0%, rgba(25, 25, 45, 0.98) 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.input-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.input-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.input-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.input-body {
    padding: 20px 24px;
}

.input-message {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.input-field:focus {
    border-color: #4facfe;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.2);
}

.input-field::placeholder {
    color: #666;
}

.input-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px 24px;
}

.input-footer .btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
}

.btn-input-confirm {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    border: none;
}

.btn-input-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
}
