.fis-page { background: #f5f7fa; }
.fis-hero { background: linear-gradient(135deg, var(--secondary-color, #0180e5) 0%, #0066b8 100%); border-radius: 10px; }
.fis-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.fis-hdr { background: var(--secondary-color, #0180e5); color: #fff; border-radius: 9px 9px 0 0; font-size: 14px; font-weight: 600; padding: 10px 16px; }
.fis-trade-card { border: 1px solid #d1d5db; background: #fff; border-radius: 8px; padding: 12px; cursor: pointer; transition: all .15s; height: 100%; }
.fis-trade-card:hover { border-color: var(--secondary-color, #0180e5); }
.btn-check:checked + .fis-trade-card { border-color: var(--secondary-color, #0180e5); background: #eff6ff; box-shadow: inset 0 0 0 1px var(--secondary-color, #0180e5); }

.svc-admin-view .card-header { font-size: 15.5px; padding: 12px 16px; }
.svc-admin-view .card-body { font-size: 14.5px; line-height: 1.6; }
.svc-admin-view table.detail-view th,
.svc-admin-view table.detail-view td,
.svc-admin-view .table th,
.svc-admin-view .table td { font-size: 14px; padding: 10px 14px; }

/* Default Directory Page */
.fis-sidebar-card, .fis-toolbar-card, .fis-tech-card {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.fis-tech-card {
    border-top: 3px solid #0d6efd;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
    overflow: hidden;
}
.fis-tech-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(13, 110, 253, 0.10);
    border-color: #93c5fd;
}
.fis-skill-chip {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}
.fis-dist-pill {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 11px;
    font-weight: 600;
}
.fis-tech-bio {
    background: #f8fafc;
    border-left: 3px solid #cbd5e1;
    border-radius: 0 6px 6px 0;
    padding: 7px 10px;
    font-size: 12.5px;
    color: #475569;
}
.fis-order-strip {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
}

/* Partner Profile & Service Setup Form */
.fis-setup-wrap .fis-form-section {
    background: #f1f5f9;
    border: 1px solid #dbe3ee;
    border-left: 4px solid #0d6efd;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 16px;
}
.fis-setup-wrap .fis-form-section .form-control,
.fis-setup-wrap .fis-form-section .form-select {
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    min-height: 42px;
    font-size: 13.5px;
}
.fis-setup-wrap .fis-form-section .form-control:focus,
.fis-setup-wrap .fis-form-section .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}
.fis-setup-wrap .fis-trade-tile {
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    cursor: pointer;
    transition: all .15s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}
.fis-setup-wrap .fis-trade-tile:hover { border-color: #60a5fa; background: #f8fbff; }
.fis-setup-wrap .btn-check:checked + .fis-trade-tile {
    border-color: #0d6efd;
    background: #eff6ff;
    box-shadow: 0 3px 10px rgba(13,110,253,.14);
}
.fis-setup-wrap .fis-trade-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: #eff6ff; color: #0d6efd;
    display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0;
}
.fis-setup-wrap .btn-check:checked + .fis-trade-tile .fis-trade-icon { background: #0d6efd; color: #fff; }
.fis-setup-wrap .fis-step-tab {
    flex: 1; text-align: left; border-radius: 10px; padding: 10px 14px; border: 1px solid #e2e8f0;
}

/* Partner Jobs & Customer Enquiries */
.fis-jobs-wrap {
    font-size: 14.5px;
}
.fis-jobs-wrap .fis-kpi-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fis-jobs-wrap .fis-kpi-card .small {
    font-size: 13.5px !important;
}
.fis-jobs-wrap .fis-kpi-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}
.fis-jobs-wrap .fis-kpi-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}
.fis-jobs-wrap .fis-main-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.fis-jobs-wrap .fis-main-card h5 {
    font-size: 19px;
}
.fis-jobs-wrap .fis-main-card .small {
    font-size: 13.5px;
}
.fis-jobs-wrap .fis-tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.fis-jobs-wrap .fis-tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.15s ease;
}
.fis-jobs-wrap .fis-tab-pill:hover {
    background: #eef2ff;
    color: #1d4ed8;
    border-color: #c7d2fe;
}
.fis-jobs-wrap .fis-tab-pill.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25);
}
.fis-jobs-wrap .fis-tab-count {
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}
.fis-jobs-wrap .fis-tab-pill.active .fis-tab-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}
.fis-jobs-wrap .grid-view table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}
.fis-jobs-wrap .grid-view thead th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 13px 15px !important;
    white-space: nowrap;
}
.fis-jobs-wrap .grid-view thead th a {
    color: #475569 !important;
    text-decoration: none;
}
.fis-jobs-wrap .grid-view tbody td {
    padding: 15px !important;
    vertical-align: middle;
    font-size: 14.5px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}
.fis-jobs-wrap .grid-view tbody td .small {
    font-size: 13px !important;
}
.fis-jobs-wrap .grid-view tbody tr:hover td {
    background: #f8fbff;
}
.fis-jobs-wrap .fis-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}
.fis-jobs-wrap .fis-pill-skill {
    background: #eef4ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}
.fis-jobs-wrap .fis-pill-enquiry {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}
.fis-jobs-wrap .fis-pill-completed {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.fis-jobs-wrap .fis-pill-cancelled {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.fis-jobs-wrap .fis-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fis-jobs-wrap .fis-act-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.fis-jobs-wrap .pagination li a,
.fis-jobs-wrap .pagination li span,
.fis-page .pagination li a,
.fis-page .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 35px;
    min-height: 35px;
    padding: 0 10px;
    text-decoration: none;
}
@media (max-width: 767.98px) {
    .fis-jobs-wrap .table-responsive {
        overflow-x: visible;
    }
    .fis-jobs-wrap .grid-view thead {
        display: none;
    }
    .fis-jobs-wrap .grid-view tbody tr {
        display: block;
        border: 1px solid #e2e8f0;
        border-left: 4px solid #0d6efd;
        border-radius: 12px;
        margin-bottom: 12px;
        padding: 12px 14px;
        background: #fff;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    }
    .fis-jobs-wrap .grid-view tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 7px 0 !important;
        border-bottom: 1px dashed #f1f5f9;
        text-align: right;
    }
    .fis-jobs-wrap .grid-view tbody td:last-child {
        border-bottom: 0;
        padding-top: 10px !important;
        justify-content: flex-end;
    }
    .fis-jobs-wrap .grid-view tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #64748b;
        font-size: 12px;
        text-align: left;
        flex-shrink: 0;
    }
}
