/* Стили кнопок */

/* Стили для табов статусов задач */
.filter-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-tabs .tab {
    position: relative;
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 140px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.filter-tabs .tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.filter-tabs .tab:hover::before {
    left: 100%;
}

/* Статус "Все" */
.filter-tabs .tab[data-filter="all"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.filter-tabs .tab[data-filter="all"]:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

/* Статус "Ожидают" */
.filter-tabs .tab-pending {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #8b5a2b;
    border: 2px solid #ffecd2;
}

.filter-tabs .tab-pending:hover {
    background: linear-gradient(135deg, #fed7aa 0%, #fb923c 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(251, 146, 60, 0.4);
    color: white;
}

/* Статус "В работе" */
.filter-tabs .tab-in-progress {
    background: linear-gradient(135deg, #a8edea 0%, #2193b0 100%);
    color: white;
    border: 2px solid #a8edea;
}

.filter-tabs .tab-in-progress:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4);
}

/* Статус "На проверке" */
.filter-tabs .tab-review {
    background: linear-gradient(135deg, #fccb90 0%, #d57eeb 100%);
    color: white;
    border: 2px solid #fccb90;
}

.filter-tabs .tab-review:hover {
    background: linear-gradient(135deg, #e879f9 0%, #c084fc 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(232, 121, 249, 0.4);
}

/* Статус "Завершены" */
.filter-tabs .tab-completed {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    color: #065f46;
    border: 2px solid #84fab0;
}

.filter-tabs .tab-completed:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
    color: white;
}

/* Активный статус */
.filter-tabs .tab.active {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.filter-tabs .tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Заголовок страницы задач */
.tasks-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .filter-tabs {
        gap: 8px;
    }
    
    .filter-tabs .tab {
        padding: 12px 16px;
        font-size: 14px;
        min-width: 110px;
    }
    
    .tasks-header {
        gap: 16px;
    }
}
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Размеры кнопок */
.btn-sm {
    padding: 6px 12px;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 14px 28px;
    font-size: var(--font-size-lg);
}

/* Типы кнопок */
.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--border-light);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--border-color);
    color: var(--text-color);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover:not(:disabled) {
    background: #38a169;
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

.btn-warning:hover:not(:disabled) {
    background: #dd6b20;
}

.btn-danger {
    background: var(--error-color);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: #e53e3e;
}

.btn-info {
    background: var(--info-color);
    color: white;
}

.btn-info:hover:not(:disabled) {
    background: #3182ce;
}

/* Outline кнопки */
.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline-primary:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-outline-secondary:hover:not(:disabled) {
    background: var(--border-color);
}

/* Кнопки без фона */
.btn-link {
    background: transparent;
    color: var(--primary-color);
    text-decoration: underline;
    border: none;
    padding: 4px 8px;
}

.btn-link:hover:not(:disabled) {
    color: var(--primary-dark);
}

/* Круглые кнопки */
.btn-circle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-circle.btn-sm {
    width: 32px;
    height: 32px;
}

.btn-circle.btn-lg {
    width: 48px;
    height: 48px;
}

/* Группы кнопок */
.btn-group {
    display: inline-flex;
    align-items: center;
}

.btn-group .btn {
    border-radius: 0;
    border-right: none;
}

.btn-group .btn:first-child {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.btn-group .btn:last-child {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border-right: 1px solid var(--border-color);
}

.btn-group .btn:only-child {
    border-radius: var(--border-radius);
    border-right: 1px solid var(--border-color);
}