/* ==================== 工作倒计时组件样式 ==================== */

/* 头部布局调整 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left {
    flex: 1;
    min-width: 200px;
}

.header-right {
    flex-shrink: 0;
}

/* 倒计时组件主体 */
.work-countdown-widget {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 12px;
    box-shadow: 
        0 4px 16px color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(0, 0, 0, 0.1)),
        0 2px 8px color-mix(in srgb, var(--primary-color, #3b82f6) 10%, rgba(0, 0, 0, 0.05)),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid color-mix(in srgb, var(--primary-color, #3b82f6) 20%, rgba(255, 255, 255, 0.6));
    padding: 6px 12px;
    min-width: 240px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-countdown-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary-color, #3b82f6) 8%, transparent) 0%, 
        color-mix(in srgb, var(--primary-color, #3b82f6) 5%, transparent) 50%, 
        color-mix(in srgb, var(--primary-color, #3b82f6) 3%, transparent) 100%);
    pointer-events: none;
    z-index: -1;
}

.work-countdown-widget:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 8px 24px color-mix(in srgb, var(--primary-color, #3b82f6) 25%, rgba(0, 0, 0, 0.15)),
        0 4px 12px color-mix(in srgb, var(--primary-color, #3b82f6) 20%, rgba(0, 0, 0, 0.08)),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* 倒计时显示区域 */
.countdown-display {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.countdown-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #3b82f6) 0%, color-mix(in srgb, var(--primary-color, #3b82f6) 80%, #000) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 3px 8px color-mix(in srgb, var(--primary-color, #3b82f6) 30%, rgba(0, 0, 0, 0.3)),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.countdown-icon i {
    color: white;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 3px 8px color-mix(in srgb, var(--primary-color, #3b82f6) 30%, rgba(0, 0, 0, 0.3)),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 4px 12px color-mix(in srgb, var(--primary-color, #3b82f6) 40%, rgba(0, 0, 0, 0.4)),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

.countdown-info {
    flex: 1;
    min-width: 0;
}

.countdown-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-time {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    font-family: 'Segoe UI', 'Monaco', 'Consolas', monospace;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    line-height: 1;
}

/* 设置按钮 */
.countdown-settings-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 10%, rgba(100, 116, 139, 0.1));
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #64748b;
    font-size: 0.8rem;
}

.countdown-settings-btn:hover {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(0, 0, 0, 0.1));
    color: var(--primary-color, #3b82f6);
    transform: scale(1.1);
}

.countdown-settings-btn:active {
    transform: scale(0.95);
}

/* 进度条样式 */
.countdown-progress {
    margin-top: 4px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease;
}

.work-countdown-widget:hover .countdown-progress {
    opacity: 1;
    transform: translateY(0);
}

.progress-bar {
    width: 100%;
    height: 2px;
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 10%, rgba(226, 232, 240, 0.5));
    border-radius: 1px;
    overflow: hidden;
    margin-bottom: 2px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--primary-color, #3b82f6) 0%, 
        color-mix(in srgb, var(--primary-color, #3b82f6) 70%, #8b5cf6) 50%, 
        color-mix(in srgb, var(--primary-color, #3b82f6) 50%, #ef4444) 100%);
    border-radius: 1px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-size: 0.7rem;
    color: #64748b;
    text-align: center;
    font-weight: 500;
}

/* 工作状态样式 */
.work-countdown-widget.work-time .countdown-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: workPulse 3s infinite;
}

.work-countdown-widget.lunch-time .countdown-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    animation: lunchPulse 2s infinite;
}

.work-countdown-widget.off-work .countdown-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    animation: offWorkPulse 1s infinite;
}

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

@keyframes lunchPulse {
    0%, 100% { transform: scale(1); }
    33% { transform: scale(1.05); }
    66% { transform: scale(1.02); }
}

@keyframes offWorkPulse {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.08); }
    50% { transform: scale(1.03); }
    75% { transform: scale(1.06); }
}

/* ==================== 工作时间设置模态框样式 ==================== */

.work-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.work-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.work-settings-dialog {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px) saturate(180%);
    border-radius: 24px;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.2),
        0 16px 32px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    position: relative;
}

.work-settings-modal.show .work-settings-dialog {
    transform: scale(1) translateY(0);
}

.work-settings-dialog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
    z-index: -1;
    border-radius: 24px;
}

/* 模态框头部 */
.work-settings-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    position: relative;
}

.work-settings-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 16px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.work-settings-icon i {
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.work-settings-title {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.work-settings-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(100, 116, 139, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #64748b;
    font-size: 1rem;
}

.work-settings-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: scale(1.1);
}

/* 模态框内容 */
.work-settings-content {
    padding: 32px;
    max-height: 60vh;
    overflow-y: auto;
}

.work-settings-content::-webkit-scrollbar {
    width: 6px;
}

.work-settings-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.work-settings-content::-webkit-scrollbar-thumb {
    background: rgba(74, 85, 104, 0.3);
    border-radius: 3px;
}

.settings-section {
    margin-bottom: 32px;
}

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

.settings-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-section h3 i {
    color: #3b82f6;
    font-size: 1rem;
}

/* 工作日设置 */
.workdays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
}

.workday-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.workday-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.workday-item:hover::before {
    opacity: 1;
}

.workday-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #3b82f6;
    cursor: pointer;
}

.workday-item:has(input:checked) {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.workday-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* 时间设置 */
.time-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.time-setting-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-setting-item label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.time-setting-item input[type="time"] {
    padding: 12px 16px;
    border: 2px solid rgba(226, 232, 240, 0.5);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-family: 'Segoe UI', 'Monaco', 'Consolas', monospace;
    transition: all 0.3s ease;
}

.time-setting-item input[type="time"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}



/* 预览效果 */
.settings-preview {
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.settings-preview h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
}

.preview-countdown {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.3);
}

.preview-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-icon i {
    color: white;
    font-size: 1rem;
}

.preview-info {
    flex: 1;
}

.preview-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2px;
}

.preview-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    font-family: 'Segoe UI', 'Monaco', 'Consolas', monospace;
}

.preview-progress {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 80px;
}

.preview-progress .progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(226, 232, 240, 0.5);
    border-radius: 2px;
    overflow: hidden;
}

.preview-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 2px;
}

.preview-progress .progress-text {
    font-size: 0.7rem;
    color: #64748b;
    text-align: center;
}

/* 模态框操作按钮 */
.work-settings-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 24px 32px;
    background: rgba(248, 250, 252, 0.8);
    border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.work-settings-actions .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.work-settings-actions .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.work-settings-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.work-settings-actions .btn-secondary {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.work-settings-actions .btn-secondary:hover {
    background: rgba(100, 116, 139, 0.15);
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .header-right {
        width: 100%;
    }
    
    .work-countdown-widget {
        min-width: 100%;
    }
    
    .work-settings-dialog {
        width: 95%;
        margin: 20px;
    }
    
    .work-settings-content {
        padding: 24px;
    }
    
    .workdays-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    
    .time-settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .countdown-display {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .countdown-time {
        font-size: 1.2rem;
    }
    
    .work-settings-header {
        padding: 20px 24px;
    }
    
    .work-settings-content {
        padding: 20px;
    }
    
    .work-settings-actions {
        padding: 20px 24px;
        flex-direction: column;
    }
    
    .work-settings-actions .btn {
        justify-content: center;
    }
}

/* ==================== 深色主题支持 ==================== */
body.dark-theme .work-countdown-widget {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 8%, rgba(30, 41, 59, 0.95));
    border: 1px solid color-mix(in srgb, var(--primary-color, #3b82f6) 25%, rgba(51, 65, 85, 0.6));
    box-shadow: 
        0 4px 16px color-mix(in srgb, var(--primary-color, #3b82f6) 20%, rgba(0, 0, 0, 0.3)),
        0 2px 8px color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(0, 0, 0, 0.2)),
        inset 0 1px 0 color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(255, 255, 255, 0.1));
}

body.dark-theme .work-countdown-widget:hover {
    box-shadow: 
        0 8px 24px color-mix(in srgb, var(--primary-color, #3b82f6) 30%, rgba(0, 0, 0, 0.4)),
        0 4px 12px color-mix(in srgb, var(--primary-color, #3b82f6) 25%, rgba(0, 0, 0, 0.3)),
        inset 0 1px 0 color-mix(in srgb, var(--primary-color, #3b82f6) 20%, rgba(255, 255, 255, 0.15));
}

body.dark-theme .countdown-label {
    color: #94a3b8;
}

body.dark-theme .countdown-time {
    color: #f1f5f9;
}

body.dark-theme .countdown-settings-btn {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(51, 65, 85, 0.3));
    color: #94a3b8;
}

body.dark-theme .countdown-settings-btn:hover {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 20%, rgba(51, 65, 85, 0.5));
    color: var(--primary-color, #3b82f6);
}

body.dark-theme .progress-bar {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(51, 65, 85, 0.5));
}

body.dark-theme .progress-text {
    color: #94a3b8;
}

/* 深色主题 - 工作设置模态框 */
body.dark-theme .work-settings-modal {
    background: rgba(0, 0, 0, 0.8);
}

body.dark-theme .work-settings-dialog {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 5%, rgba(30, 41, 59, 0.95));
    border: 1px solid color-mix(in srgb, var(--primary-color, #3b82f6) 20%, rgba(51, 65, 85, 0.6));
    box-shadow: 
        0 32px 80px color-mix(in srgb, var(--primary-color, #3b82f6) 20%, rgba(0, 0, 0, 0.6)),
        0 16px 40px color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(0, 0, 0, 0.4));
}

body.dark-theme .work-settings-header {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 8%, rgba(51, 65, 85, 0.8));
    border-bottom: 1px solid color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(51, 65, 85, 0.5));
}

body.dark-theme .work-settings-title {
    color: #f1f5f9;
}

body.dark-theme .work-settings-close {
    color: #94a3b8;
}

body.dark-theme .work-settings-close:hover {
    color: var(--primary-color, #3b82f6);
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(51, 65, 85, 0.3));
}

body.dark-theme .settings-section h3 {
    color: #f1f5f9;
}

body.dark-theme .workday-item {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 8%, rgba(51, 65, 85, 0.8));
    border: 2px solid color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(71, 85, 105, 0.6));
    box-shadow: 0 2px 4px color-mix(in srgb, var(--primary-color, #3b82f6) 10%, rgba(0, 0, 0, 0.2));
}

body.dark-theme .workday-item:hover::before {
    opacity: 1;
}

body.dark-theme .workday-item:has(input:checked) {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(51, 65, 85, 0.9));
    border-color: color-mix(in srgb, var(--primary-color, #3b82f6) 40%, rgba(71, 85, 105, 0.8));
}

body.dark-theme .workday-label {
    color: #e2e8f0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.dark-theme .workday-item input[type="checkbox"]:checked + .workday-label {
    color: var(--primary-color, #3b82f6);
}

body.dark-theme .time-setting-item label {
    color: #cbd5e1;
}

body.dark-theme .time-setting-item input[type="time"] {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 8%, rgba(51, 65, 85, 0.5));
    border: 1px solid color-mix(in srgb, var(--primary-color, #3b82f6) 20%, rgba(71, 85, 105, 0.5));
    color: #f1f5f9;
}

body.dark-theme .time-setting-item input[type="time"]:focus {
    border-color: var(--primary-color, #3b82f6);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(0, 0, 0, 0.3));
}

body.dark-theme .settings-preview {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 5%, rgba(51, 65, 85, 0.3));
    border: 1px solid color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(71, 85, 105, 0.5));
}

body.dark-theme .settings-preview h4 {
    color: #f1f5f9;
}

body.dark-theme .preview-countdown {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 8%, rgba(30, 41, 59, 0.8));
    border: 1px solid color-mix(in srgb, var(--primary-color, #3b82f6) 20%, rgba(71, 85, 105, 0.3));
}

body.dark-theme .preview-label {
    color: #94a3b8;
}

body.dark-theme .preview-time {
    color: #f1f5f9;
}

body.dark-theme .preview-progress .progress-text {
    color: #94a3b8;
}

body.dark-theme .work-settings-actions {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 5%, rgba(51, 65, 85, 0.8));
    border-top: 1px solid color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(71, 85, 105, 0.5));
}

body.dark-theme .work-settings-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color, #3b82f6) 0%, color-mix(in srgb, var(--primary-color, #3b82f6) 80%, #000) 100%);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color, #3b82f6) 30%, rgba(0, 0, 0, 0.3));
}

body.dark-theme .work-settings-actions .btn-primary:hover {
    box-shadow: 0 6px 16px color-mix(in srgb, var(--primary-color, #3b82f6) 40%, rgba(0, 0, 0, 0.4));
}

body.dark-theme .work-settings-actions .btn-secondary {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 10%, rgba(71, 85, 105, 0.3));
    color: #94a3b8;
    border: 1px solid color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(71, 85, 105, 0.5));
}

body.dark-theme .work-settings-actions .btn-secondary:hover {
    background: color-mix(in srgb, var(--primary-color, #3b82f6) 15%, rgba(71, 85, 105, 0.4));
    color: var(--primary-color, #3b82f6);
}