/* ===== TASKS MANAGEMENT PAGE - Additional Styles ===== */

/* ===== TICKET LINK STYLING ===== */

.fxtm-ticket-link {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.fxtm-ticket-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.fxtm-ticket-link:active {
    transform: translateY(0);
}
/* ===== Header (reusing fxcz-header but with gradient) ===== */
.fxcz-header {
    background: linear-gradient(135deg, #2D2350 0%, #4B3E7B 70%, #7C3AED 100%) !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    border-radius: 0 0 24px 24px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 8px 32px rgba(75,62,123,.25) !important;
    border: none !important;
}

.fxcz-header-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(124,58,237,.25) 0%, transparent 50%),
                radial-gradient(circle at 5% 80%, rgba(99,102,241,.20) 0%, transparent 50%);
    pointer-events: none;
}

.fxcz-header-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.fxcz-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fxcz-header-text {
    flex: 1;
}

.fxcz-header-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: #fff;
    line-height: 1.2;
}

.fxcz-header-sub {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    margin-top: 4px;
}

/* ===== Toolbar with Filter Buttons ===== */
.fxcz-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    background: #ffffff;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.04);
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

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

.fxcz-filter-label {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.fxcz-filter-btn {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .3px !important;
}

.fxcz-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F8F7FF;
    border: 1.5px solid rgba(75,62,123,.18);
    border-radius: 12px;
    padding: 0 14px;
    height: 44px;
    flex: 1;
    min-width: 280px;
    transition: border-color .2s, box-shadow .2s;
}

.fxcz-search-wrap:focus-within {
    border-color: #4B3E7B;
    box-shadow: 0 0 0 3px rgba(75,62,123,.10);
}

.fxcz-search-icon {
    flex-shrink: 0;
    color: #9CA3AF !important;
}

.fxcz-search {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #2D2350;
    flex: 1;
    width: 100%;
}

.fxcz-search::placeholder {
    color: #9CA3AF;
}

/* ===== Task Status Badges ===== */
.fxcz-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.fxcz-status-pending {
    color: #92400E;
    background: rgba(234,179,8,.15);
    border-color: rgba(234,179,8,.30);
}

.fxcz-status-inprogress {
    color: #1E40AF;
    background: rgba(59,130,246,.15);
    border-color: rgba(59,130,246,.30);
}

.fxcz-status-completed {
    color: #15803D;
    background: rgba(34,197,94,.15);
    border-color: rgba(34,197,94,.30);
}

.fxcz-status-cancelled {
    color: #B91C1C;
    background: rgba(239,68,68,.15);
    border-color: rgba(239,68,68,.30);
}

/* ===== Action Buttons in Table ===== */
.fxcz-actions {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: flex-end;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .fxcz-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .fxcz-filter-group {
        width: 100%;
        justify-content: stretch;
    }

    .fxcz-search-wrap {
        min-width: 100%;
    }
}
