.hidden {
    display: none !important;
}

.text-accent {
    color: var(--pxpMainColor);
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

.text-red-200 {
    color: #fecaca;
}

.text-emerald-200 {
    color: #a7f3d0;
}

html.pxp-root[data-app='panel'] {
    font-family: 'Poppins', 'Manrope', 'Source Sans 3', sans-serif;
}

html.pxp-root[data-app='panel'] body.pxp-dashboard-body {
    background-color: var(--pxpMainColorLight);
    min-height: 100vh;
}

html.pxp-root[data-app='panel'][data-theme='dark'] {
    --pxpTextColor: var(--text);
    --pxpMainColor: var(--accent);
    --pxpMainColorDark: var(--accent-strong);
    --pxpMainColorLight: #1c2432;
    --pxpMainColorTransparent: rgba(112, 181, 249, 0.16);
    --pxpSecondaryColor: #161d28;
    --pxpSecondaryColorLight: #202938;
    --pxpLightGrayColor: rgba(255, 255, 255, 0.12);
    --pxpDarkGrayColor: rgba(255, 255, 255, 0.5);
}

html.pxp-root[data-app='panel'][data-theme='dark'] body.pxp-dashboard-body {
    background-color: var(--bg);
    color: var(--pxpTextColor);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-preloader {
    background-color: #0f141b;
    color: var(--pxpTextColor);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-content-details {
    background-color: var(--surface);
    color: var(--pxpTextColor);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-stats-card,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-chart-container {
    background-color: var(--surface-2);
    border-color: var(--border);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-stats-card-icon {
    background-color: var(--surface);
    color: var(--pxpTextColor);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-content-details .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--pxpTextColor);
    --bs-table-border-color: var(--border);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.05);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-content-details .table-hover>:not(:last-child)>:last-child>* {
    border-bottom-color: var(--border);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-content-details .table-hover th:not(.pxp-is-checkbox) {
    color: rgba(255, 255, 255, 0.65);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-content-details form .form-control,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-content-details form .form-select,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-company-dashboard-jobs-search-search-form .form-control,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-company-dashboard-jobs-search-search-form .input-group-text,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-inbox-search-form .form-control,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-inbox-search-form .input-group-text,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-sign-hero-form .form-control {
    background-color: var(--surface-2);
    border-color: var(--border);
    color: var(--pxpTextColor);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-content-details form .form-control:focus,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-content-details form .form-select:focus,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-company-dashboard-jobs-search-search-form .form-control:focus,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-inbox-search-form .form-control:focus,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-sign-hero-form .form-control:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-company-dashboard-jobs-search-search-form .input-group-text,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-inbox-search-form .input-group-text {
    border-right: 0 none;
}

html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-sign-hero-container .pxp-is-light {
    background-color: var(--surface);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-sign-hero-form .form-floating > label,
html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-sign-hero-form .form-floating > span {
    color: rgba(255, 255, 255, 0.7);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .dropdown-menu {
    background-color: var(--surface);
    border: 1px solid var(--border);
    color: var(--pxpTextColor);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .dropdown-item {
    color: var(--pxpTextColor);
}

html.pxp-root[data-app='panel'][data-theme='dark'] .dropdown-item:hover,
html.pxp-root[data-app='panel'][data-theme='dark'] .dropdown-item:focus {
    background-color: var(--surface-2);
    color: var(--pxpTextColor);
}

/* Close button (e.g. offcanvas dismiss) — black SVG invisible on dark bg */
html.pxp-root[data-app='panel'][data-theme='dark'] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

html[dir='rtl'] {
    direction: rtl;
}

html[dir='rtl'] .offcanvas-start {
    left: auto;
    right: 0;
    transform: translateX(100%);
}

html[dir='rtl'] .offcanvas-start.show {
    transform: none;
}

html[dir='rtl'] .dropdown-menu-end {
    right: auto;
    left: 0;
}

html[dir='rtl'] .ms-1 {
    margin-left: 0 !important;
    margin-right: 0.25rem !important;
}

html[dir='rtl'] .ms-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

html[dir='rtl'] .ms-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

html[dir='rtl'] .me-1 {
    margin-right: 0 !important;
    margin-left: 0.25rem !important;
}

html[dir='rtl'] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

html[dir='rtl'] .me-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

html[dir='rtl'] .pxp-logo-nav-container .pxp-nav {
    margin-left: 0;
    margin-right: 40px;
}

html[dir='rtl'] .pxp-nav > ul > li > ul a.dropdown-toggle::after {
    margin-left: 0;
    margin-right: 7px;
}

html[dir='rtl'] .pxp-nav-mobile-container.offcanvas {
    border-left: 0 none;
    box-shadow: -15px 0 30px rgba(0, 0, 0, 0.16);
}

html[dir='rtl'] .pxp-nav-mobile > ul > li ul.dropdown-menu li:not(.pxp-dropdown-header) {
    padding-left: 0;
    padding-right: 10px;
}

html[dir='rtl'] .pxp-hero-form-round form .pxp-has-left-border {
    border-left: 0;
    border-right: 1px solid var(--pxpLightGrayColor);
}

html[dir='rtl'] .pxp-hero-form-round.pxp-has-bg form .pxp-has-left-border {
    border-left: 0;
    border-right: 1px solid #fff;
}

html[dir='rtl'] .pxp-hero-form .input-group .input-group-text {
    padding-right: 0;
    padding-left: 0.75rem;
}

html[dir='rtl'] .pxp-hero-form .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: 0;
    margin-right: 1px;
}

html[dir='rtl'] .pxp-hero-form-round {
    padding-left: 0;
    padding-right: 20px;
}

html[dir='rtl'] .pxp-hero-form-round form button {
    margin-right: 0;
    margin-left: 13px;
}

html[dir='rtl'] .pxp-hero-form-round.pxp-bigger form button {
    margin-right: 0;
    margin-left: 20px;
}

html[dir='rtl'] .pxp-hero-form-round.pxp-smaller form button {
    margin-right: 0;
    margin-left: 8px;
}

html[dir='rtl'] .pxp-header.pxp-is-sticky .pxp-hero-form-round.pxp-smaller form button {
    margin-right: 0;
    margin-left: 7px;
}

html[dir='rtl'] .pxp-hero-form-round form .pxp-has-left-border {
    border-left: 0;
    border-right: 1px solid var(--pxpLightGrayColor);
}

html[dir='rtl'] .pxp-hero-form-round.pxp-has-bg form .pxp-has-left-border {
    border-left: 0;
    border-right: 1px solid #fff;
}

html[dir='rtl'] .pxp-hero-form .input-group .input-group-text {
    padding-right: 0.75rem;
    padding-left: 0;
}

html[dir='rtl'] .pxp-hero-form .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: 0;
    margin-right: 1px;
}

html[dir='rtl'] .pxp-hero-searches-items > a {
    margin-right: 0;
    margin-left: 5px;
}

/* ── RTL Hero section: text, titles, form-floating labels & selects ── */
html[dir='rtl'] .pxp-hero h1,
html[dir='rtl'] .pxp-hero-subtitle,
html[dir='rtl'] .pxp-hero-searches-label,
html[dir='rtl'] .pxp-hero [data-talent-count],
html[dir='rtl'] .pxp-hero [data-talent-loading] {
    text-align: right;
}

html[dir='rtl'] .pxp-hero-form-round .form-floating > label {
    left: auto;
    right: 0;
    text-align: right;
    transform-origin: 100% 0;
}

html[dir='rtl'] .pxp-hero-form-round .form-floating > .form-control:not(:-moz-placeholder-shown) ~ label,
html[dir='rtl'] .pxp-hero-form-round .form-floating > .form-control:focus ~ label,
html[dir='rtl'] .pxp-hero-form-round .form-floating > .form-control:not(:placeholder-shown) ~ label,
html[dir='rtl'] .pxp-hero-form-round .form-floating > .form-control:-webkit-autofill ~ label,
html[dir='rtl'] .pxp-hero-form-round .form-floating > .form-select ~ label {
    transform: scale(.85) translateY(-.5rem) translateX(-.15rem);
}

html[dir='rtl'] .pxp-hero-form-round form .form-select {
    text-align: right;
    background-position: left 0.75rem center;
    padding-right: 0.75rem;
    padding-left: 2.25rem;
}

html[dir='rtl'] .pxp-hero-searches-items {
    direction: rtl;
}

html[dir='rtl'] .pxp-jobs-card-1-category-label,
html[dir='rtl'] .pxp-single-job-category-label {
    padding-left: 0;
    padding-right: 10px;
}

html[dir='rtl'] .pxp-jobs-card-1-location > span,
html[dir='rtl'] .pxp-jobs-card-2-location > span {
    margin-right: 0;
    margin-left: 7px;
}

html[dir='rtl'] .pxp-jobs-card-1-type,
html[dir='rtl'] .pxp-jobs-card-2-type {
    padding-left: 0;
    padding-right: 30px;
}

html[dir='rtl'] .pxp-jobs-card-1-bottom-left {
    padding-right: 0;
    padding-left: 30px;
}

html[dir='rtl'] .pxp-jobs-card-2-info {
    margin-left: 0;
    margin-right: 20px;
}

html[dir='rtl'] .pxp-is-center .pxp-single-job-date::before {
    margin-right: 0;
    margin-left: 30px;
}

html[dir='rtl'] .pxp-single-job-side-company-profile {
    margin-left: 0;
    margin-right: 10px;
}

html[dir='rtl'] .pxp-single-job-side-info-social li {
    margin-right: 0;
    margin-left: 20px;
}

html[dir='rtl'] .pxp-sign-hero-form .form-floating > span {
    right: auto;
    left: 30px;
}

html[dir='rtl'] .pxp-sign-hero-form .form-floating > label {
    left: auto;
    right: 0;
    text-align: right;
    transform-origin: 100% 0;
}

html[dir='rtl'] .pxp-sign-hero-form .form-floating > .form-control:focus ~ label,
html[dir='rtl'] .pxp-sign-hero-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
html[dir='rtl'] .pxp-sign-hero-form .form-floating > .form-control:-webkit-autofill ~ label {
    transform: scale(.85) translateY(-.5rem) translateX(-.15rem);
}

html[dir='rtl'] .pxp-company-dashboard-jobs-search-search-form .input-group .input-group-text {
    padding-right: 0.75rem;
    padding-left: 1px;
    border-right-width: 1px;
    border-right-style: solid;
    border-left: 0 none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

html[dir='rtl'] .pxp-company-dashboard-jobs-search-search-form .form-control {
    border-right: 0 none;
    border-left-width: 1px;
    border-left-style: solid;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

html.pxp-root[dir='rtl'][data-app='panel'][data-theme='dark'] .pxp-company-dashboard-jobs-search-search-form .input-group-text {
    border-right-width: 1px;
    border-right-style: solid;
    border-left: 0 none;
}

html[dir='rtl'] .pxp-dashboard-content-details form .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

html[dir='rtl'] .pxp-dashboard-side-panel {
    left: auto;
    right: 0;
}

html[dir='rtl'] .pxp-dashboard-side-panel .pxp-logo {
    margin-left: 0;
    margin-right: 1.4rem;
}

html[dir='rtl'] .pxp-dashboard-side-user-nav-container {
    left: auto;
    right: 0;
}

html[dir='rtl'] .pxp-dashboard-side-user-nav-name {
    margin-left: 0;
    margin-right: 7px;
}

html[dir='rtl'] .pxp-dashboard-side-user-nav-dropdown > .dropdown-toggle::after {
    right: auto;
    left: 0;
    margin-left: 0;
    margin-right: 7px;
}

html[dir='rtl'] .pxp-dashboard-content {
    margin-left: 0;
    margin-right: 320px;
}

html[dir='rtl'] .pxp-dashboard-content-details {
    margin-right: 0;
    margin-left: 30px;
}

html[dir='rtl'] .pxp-dashboard-content footer {
    margin-right: 0;
    margin-left: 30px;
}

html[dir='rtl'] .pxp-dashboard-stats-card-info {
    padding-left: 0;
    padding-right: 20px;
}

html[dir='rtl'] .pxp-dashboard-chart-percent,
html[dir='rtl'] .pxp-dashboard-chart-vs {
    margin-left: 0;
    margin-right: 30px;
}

html[dir='rtl'] .pxp-user-notifications-counter {
    right: auto;
    left: 0;
}

html[dir='rtl'] .pxp-user-nav-dropdown.pxp-user-notifications ul.dropdown-menu > li > a .pxp-is-time {
    margin-left: 0;
    margin-right: 5px;
}

html[dir='rtl'] .pxp-dashboard-chart-container .form-select,
html[dir='rtl'] .pxp-jobs-list-top .form-select {
    background-position: left center;
}

html[dir='rtl'] .pxp-jobs-list-side-filter .form-select {
    background-position: left 20px center;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Panel (Mobile / Tablet / Desktop)
   ══════════════════════════════════════════════════════════════ */

/* ── Table responsive (missing definition) ─────────────────── */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ── Tablet (≤ 991px) — sidebar hidden, offcanvas active ──── */
@media screen and (max-width: 991px) {
    /* Content area resets */
    .pxp-dashboard-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 80px;
        padding: 0;
    }

    .pxp-dashboard-content-details {
        margin-left: 0.75rem !important;
        margin-right: 0.75rem !important;
        padding: 30px 20px;
        border-radius: 20px;
        min-height: calc(100vh - 120px);
    }

    /* Fixed top header */
    .pxp-dashboard-content-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 64px;
        padding: 0 0.75rem;
        z-index: 1030;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: var(--pxpMainColorLight);
    }

    /* Primary action button – compact on tablet */
    .pxp-primary-action-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
        white-space: nowrap;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* User nav tighter */
    .pxp-user-nav {
        gap: 0.5rem;
    }

    /* Stepper — horizontal scroll on smaller screens */
    .stepper {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }

    .stepper-item {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Stat cards – smaller on tablet */
    .stat-icon-card {
        padding: 1rem 1.15rem;
    }

    .stat-icon-value {
        font-size: 1.4rem;
    }

    /* Page headings */
    .font-display.text-3xl,
    .pxp-dashboard-content-details h1 {
        font-size: 1.5rem !important;
        letter-spacing: -0.5px;
    }
}

/* ── Phone (≤ 767px) ──────────────────────────────────────── */
@media screen and (max-width: 767px) {
    .pxp-dashboard-content-details {
        padding: 20px 14px;
        border-radius: 16px;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }

    .pxp-dashboard-content-header {
        height: 56px;
        padding: 0 0.5rem;
    }

    .pxp-dashboard-content {
        margin-top: 56px;
    }

    /* Primary action – icon-only on very small */
    .pxp-primary-action-btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
        max-width: 140px;
    }

    /* ── Form cards ──────────────────────────────── */
    .card.form-card,
    .card.p-6 {
        padding: 16px !important;
        border-radius: 14px;
    }

    .form-title {
        font-size: 1rem;
    }

    /* Fields smaller touch targets */
    .field {
        padding: 0.6rem 0.85rem;
        font-size: 0.8125rem;
        border-radius: 12px;
    }

    /* Buttons */
    .btn {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }

    /* Stat cards compact */
    .stat-icon-card {
        padding: 0.85rem 1rem;
        border-radius: 16px;
    }

    .stat-icon-wrap {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 10px;
    }

    .stat-icon-wrap svg {
        width: 1.15rem;
        height: 1.15rem;
    }

    .stat-icon-value {
        font-size: 1.2rem;
    }

    .stat-icon-label {
        font-size: 0.7rem;
    }

    /* Page headings */
    .font-display.text-3xl,
    .pxp-dashboard-content-details h1 {
        font-size: 1.25rem !important;
        letter-spacing: -0.3px;
    }

    /* Charts */
    .pxp-dashboard-chart-container {
        padding: 16px;
        border-radius: 16px;
    }

    /* Action buttons row */
    .action-menu {
        flex-direction: column;
    }

    /* Steppers – reduced */
    .stepper-item {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .stepper-item > span:last-child {
        display: none;
    }

    .stepper-item.active > span:last-child {
        display: inline;
    }

    .stepper-index {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }

    /* Modal – full-width on phones */
    .fixed.inset-0 .card.max-w-lg,
    .fixed.inset-0 .card.w-full {
        max-width: 100%;
        margin: 0 0.5rem;
    }
}

/* ── Small phone (≤ 575px) ────────────────────────────────── */
@media screen and (max-width: 575px) {
    .pxp-dashboard-content-details {
        padding: 16px 10px;
        border-radius: 12px;
        margin-left: 6px !important;
        margin-right: 6px !important;
    }

    /* User nav avatar only */
    .pxp-user-nav-name {
        display: none !important;
    }

    /* Search form stacking */
    .pxp-company-dashboard-jobs-search {
        flex-direction: column;
        align-items: stretch;
    }

    .pxp-company-dashboard-jobs-search-results {
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }

    /* Card-muted items in lists */
    .card-muted.px-4 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Logo uploader compact */
    .logo-uploader {
        padding: 0.85rem;
    }

    .logo-preview {
        width: 64px;
        height: 64px;
    }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE RTL — Mobile / Tablet overrides for RTL
   ══════════════════════════════════════════════════════════════ */

@media screen and (max-width: 991px) {
    html[dir='rtl'] .pxp-dashboard-content {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    html[dir='rtl'] .pxp-dashboard-content-details {
        margin-right: 0.75rem !important;
        margin-left: 0.75rem !important;
    }

    html[dir='rtl'] .pxp-dashboard-content footer {
        margin-right: 0;
        margin-left: 0;
    }

    /* RTL offcanvas slides from the right */
    html[dir='rtl'] .offcanvas-start.pxp-nav-mobile-container {
        left: auto;
        right: 0;
        transform: translateX(100%);
    }

    html[dir='rtl'] .offcanvas-start.pxp-nav-mobile-container.show,
    html[dir='rtl'] .offcanvas-start.pxp-nav-mobile-container.showing {
        transform: none;
    }

    /* Close button position in RTL offcanvas */
    html[dir='rtl'] .offcanvas-header .btn-close {
        margin-left: 0;
        margin-right: auto;
    }

    html[dir='rtl'] .offcanvas-header .pxp-logo {
        order: 2;
    }

    /* RTL header fixed */
    html[dir='rtl'] .pxp-dashboard-content-header {
        left: 0;
        right: 0;
    }

    /* Hamburger nav trigger in RTL */
    html[dir='rtl'] .pxp-nav-trigger.pxp-is-dashboard {
        order: 2;
    }

    html[dir='rtl'] .pxp-user-nav {
        order: 1;
    }

    /* Footer social in RTL mobile */
    html[dir='rtl'] .pxp-footer-social ul li {
        margin-right: 0;
        margin-left: 34px;
    }
}

@media screen and (max-width: 767px) {
    html[dir='rtl'] .pxp-dashboard-content-details {
        margin-right: 0.5rem !important;
        margin-left: 0.5rem !important;
    }

    /* RTL form search stacking */
    html[dir='rtl'] .pxp-company-dashboard-jobs-search-results {
        margin-left: 0 !important;
    }
}

@media screen and (max-width: 575px) {
    html[dir='rtl'] .pxp-dashboard-content-details {
        margin-right: 6px !important;
        margin-left: 6px !important;
    }

    html[dir='rtl'] .card-muted.px-4 {
        padding-right: 0.75rem !important;
        padding-left: 0.75rem !important;
    }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Table helpers for all screen sizes
   ══════════════════════════════════════════════════════════════ */

/* Force tables to scroll horizontally on overflow */
.table-responsive > table {
    min-width: 600px;
}

/* On small screens, remove fixed column widths */
@media screen and (max-width: 991px) {
    .table-responsive > table th[style*="width"],
    .table-responsive > table td[style*="width"] {
        width: auto !important;
    }

    .table th,
    .table td {
        font-size: 0.8rem;
        padding: 0.65rem 0.5rem;
    }

    .table-head {
        font-size: 0.65rem;
    }

    /* Pill badges smaller */
    .pill,
    .badge.rounded-pill {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

@media screen and (max-width: 575px) {
    .table-responsive > table {
        min-width: 500px;
    }

    .table th,
    .table td {
        font-size: 0.75rem;
        padding: 0.55rem 0.4rem;
    }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Dark theme mobile overrides
   ══════════════════════════════════════════════════════════════ */

@media screen and (max-width: 991px) {
    html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-content-header {
        background-color: var(--bg);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-content-details {
        border-radius: 20px;
    }
}

@media screen and (max-width: 767px) {
    html.pxp-root[data-app='panel'][data-theme='dark'] .pxp-dashboard-content-details {
        border-radius: 16px;
    }
}

/* ── WhatsApp floating button ────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: transform 200ms ease, box-shadow 200ms ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
    color: #ffffff;
}

.whatsapp-float svg {
    pointer-events: none;
}

/* ── Sectors cards ───────────────────────────────────────────── */
.home-sectors-section {
    background: linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%);
}

.home-sector-card {
    border: 1px solid #e3eaf4;
    border-radius: 16px;
    background: #ffffff;
    padding: 1.35rem 1rem;
    text-align: center;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
    height: 100%;
}

.home-sector-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 122, 248, 0.12);
    border-color: rgba(59, 122, 248, 0.3);
}

.home-sector-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(145deg, #eef4ff 0%, #dce8fb 100%);
    color: #3b7af8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.home-sector-card-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--pxpTextColor);
}

html[data-theme='dark'] .home-sectors-section {
    background: #0f1621;
}

html[data-theme='dark'] .home-sector-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme='dark'] .home-sector-card:hover {
    border-color: rgba(59, 122, 248, 0.4);
    box-shadow: 0 8px 24px rgba(59, 122, 248, 0.15);
}

html[data-theme='dark'] .home-sector-card-icon {
    background: linear-gradient(145deg, rgba(59, 122, 248, 0.15) 0%, rgba(59, 122, 248, 0.08) 100%);
}

html[data-theme='dark'] .home-sector-card-name {
    color: #e2e8f0;
}

/* ── Contact section ─────────────────────────────────────────── */
.home-contact-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.home-contact-shell {
    position: relative;
    border-radius: 30px;
    border: 1px solid #e3eaf4;
    background: linear-gradient(145deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 4px 24px rgba(59, 122, 248, 0.06);
    padding: 2.5rem;
    overflow: hidden;
}

.home-contact-shell::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(59, 122, 248, 0.07), transparent 72%);
    bottom: -220px;
    right: -120px;
    pointer-events: none;
}

.home-contact-visual {
    border-radius: 22px;
    border: 1px solid #e3eaf4;
    background: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: relative;
    z-index: 1;
}

.home-contact-visual-main {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.home-contact-visual-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(145deg, #3b7af8 0%, #6366f1 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    flex-shrink: 0;
}

.home-contact-visual-meta { flex: 1; }

.home-contact-visual-line {
    height: 13px;
    border-radius: 999px;
    background: #e9f0fa;
    margin-top: 0.55rem;
}

.home-contact-visual-line.short { width: 68%; }

.home-contact-visual-pulse {
    display: flex;
    align-items: flex-end;
    gap: 0.28rem;
    margin-top: 0.8rem;
    height: 22px;
}

.home-contact-visual-pulse span {
    width: 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, #3b7af8 0%, #6366f1 100%);
    opacity: 0.85;
}

.home-contact-visual-pulse span:nth-child(1) { height: 8px; }
.home-contact-visual-pulse span:nth-child(2) { height: 16px; }
.home-contact-visual-pulse span:nth-child(3) { height: 12px; }

.home-contact-visual-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.1rem;
}

.home-contact-visual-tags .pill {
    border-color: #e3eaf4;
    background: #f4f8ff;
    font-size: 0.78rem;
}

.home-contact-float {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    z-index: 2;
}

.home-contact-float-a {
    background: #3b7af8;
    right: -12px;
    top: 20px;
}

.home-contact-float-b {
    background: #6366f1;
    left: -10px;
    bottom: 24px;
}

.home-contact-list {
    display: grid;
    gap: 0.68rem;
}

.home-contact-list > div {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-weight: 600;
    font-size: 0.88rem;
    color: #64748b;
    border: 1px solid #e3eaf4;
    border-radius: 14px;
    padding: 0.72rem 0.85rem;
    background: #ffffff;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.home-contact-list > div:hover {
    border-color: rgba(59, 122, 248, 0.25);
    box-shadow: 0 2px 8px rgba(59, 122, 248, 0.08);
}

.home-contact-list .fa {
    width: 20px;
    text-align: center;
    color: #3b7af8;
    font-size: 1rem;
}

/* ── Contact form styling ────────────────────────────────────── */
.home-contact-form-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.home-contact-form-subtext {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 1.25rem;
}

.contact-field-group {
    position: relative;
    margin-bottom: 0;
}

.contact-field-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}

.contact-field-group .contact-input {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.68rem 1rem;
    font-size: 0.9rem;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 180ms ease, box-shadow 180ms ease;
    outline: none;
    font-family: inherit;
}

.contact-field-group .contact-input:focus {
    border-color: #3b7af8;
    box-shadow: 0 0 0 3px rgba(59, 122, 248, 0.1);
}

.contact-field-group .contact-input::placeholder {
    color: #cbd5e1;
}

.contact-field-group textarea.contact-input {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72rem 2rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(145deg, #3b7af8 0%, #6366f1 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
    box-shadow: 0 4px 16px rgba(59, 122, 248, 0.25);
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(59, 122, 248, 0.35);
}

.contact-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.contact-alert {
    border-radius: 12px;
    padding: 0.75rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
}

.contact-alert-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.contact-alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Dark mode overrides */
html[data-theme='dark'] .home-contact-section {
    background: #0f1621;
}

html[data-theme='dark'] .home-contact-shell {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}

html[data-theme='dark'] .home-contact-shell::after {
    background: radial-gradient(circle, rgba(59, 122, 248, 0.06), transparent 72%);
}

html[data-theme='dark'] .home-contact-visual {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}

html[data-theme='dark'] .home-contact-visual-line {
    background: rgba(255,255,255,0.08);
}

html[data-theme='dark'] .home-contact-visual-tags .pill {
    border-color: rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #94a3b8;
}

html[data-theme='dark'] .home-contact-list > div {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    color: #94a3b8;
}

html[data-theme='dark'] .home-contact-form-heading {
    color: #e2e8f0;
}

html[data-theme='dark'] .home-contact-form-subtext {
    color: #64748b;
}

html[data-theme='dark'] .contact-field-group label {
    color: #94a3b8;
}

html[data-theme='dark'] .contact-field-group .contact-input {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
    color: #e2e8f0;
}

html[data-theme='dark'] .contact-field-group .contact-input:focus {
    border-color: #3b7af8;
    box-shadow: 0 0 0 3px rgba(59, 122, 248, 0.15);
}

html[data-theme='dark'] .contact-field-group .contact-input::placeholder {
    color: #475569;
}

html[data-theme='dark'] .contact-alert-success {
    background: rgba(4, 120, 87, 0.12);
    border-color: rgba(167, 243, 208, 0.15);
    color: #34d399;
}

html[data-theme='dark'] .contact-alert-error {
    background: rgba(185, 28, 28, 0.12);
    border-color: rgba(254, 202, 202, 0.15);
    color: #f87171;
}

@media (max-width: 991px) {
    .home-contact-shell {
        padding: 1.5rem;
    }

    .home-contact-float {
        display: none;
    }
}

/* ───── Header language dropdown & auth button ───── */
.header-lang-toggle {
    background-color: var(--pxpMainColorDark, #4a2d8a);
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 0.375rem 1.1rem;
    transition: var(--pxpHoverTransition);
    transition-property: color, background-color, border-color;
}

.header-lang-toggle:hover,
.header-lang-toggle:focus {
    background-color: #fff;
    border-color: #fff;
    color: var(--pxpMainColorDark, #4a2d8a);
}

.pxp-is-sticky .header-lang-toggle,
.pxp-on-light .header-lang-toggle {
    border-color: var(--pxpMainColor, #5b38a6);
    color: var(--pxpMainColor, #5b38a6);
}

.pxp-is-sticky .header-lang-toggle:hover,
.pxp-is-sticky .header-lang-toggle:focus,
.pxp-on-light .header-lang-toggle:hover,
.pxp-on-light .header-lang-toggle:focus {
    background-color: var(--pxpMainColorDark, #4a2d8a);
    border-color: var(--pxpMainColorDark, #4a2d8a);
    color: #fff;
}

.header-lang-menu {
    min-width: 140px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.35rem 0;
}

.header-lang-menu .dropdown-item {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    transition: background 0.15s;
}

.header-lang-menu .dropdown-item.active {
    background: var(--pxpMainColor, #5b38a6);
    color: #fff;
}

.header-lang-btn {
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--pxpTextColor, #333);
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.header-lang-btn:hover {
    background: rgba(0, 0, 0, 0.12);
    color: var(--pxpTextColor, #333);
}

.header-lang-active {
    background: var(--pxpMainColor, #5b38a6);
    border: 1px solid var(--pxpMainColor, #5b38a6);
    color: #fff;
    font-size: 0.8rem;
    pointer-events: none;
}

.header-lang-dropdown {
    margin-inline-end: 0.75rem;
}

/* Dark mode */
html[data-theme='dark'] .header-lang-toggle {
    border-color: rgba(255, 255, 255, .4);
    color: #ddd;
}

html[data-theme='dark'] .header-lang-toggle:hover,
html[data-theme='dark'] .header-lang-toggle:focus {
    background-color: var(--pxpMainColor, #5b38a6);
    border-color: var(--pxpMainColor, #5b38a6);
    color: #fff;
}

html[data-theme='dark'] .header-lang-menu {
    background: #1e1e2d;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

html[data-theme='dark'] .header-lang-menu .dropdown-item {
    color: #ccc;
}

html[data-theme='dark'] .header-lang-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

html[data-theme='dark'] .header-lang-menu .dropdown-item.active {
    background: var(--pxpMainColor, #5b38a6);
    color: #fff;
}

html[data-theme='dark'] .header-lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ddd;
}

html[data-theme='dark'] .header-lang-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

html[data-theme='dark'] .header-lang-active {
    background: var(--pxpMainColor, #5b38a6);
    border-color: var(--pxpMainColor, #5b38a6);
    color: #fff;
}

/* ── İŞKUR authorisation notice (public footer) ──────────────── */
.pxp-footer-iskur {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.15rem 1.35rem;
    border-radius: 20px;
    border: 1px solid var(--pxpLightGrayColor);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 40px -32px rgba(15, 23, 42, 0.45);
}

.pxp-footer-iskur-logo {
    flex-shrink: 0;
    line-height: 0;
}

.pxp-footer-iskur-logo img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.pxp-footer-iskur-content {
    min-width: 0;
}

.pxp-footer-iskur-text {
    margin: 0;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.65;
    color: var(--pxpTextColor);
    opacity: 1;
}

.pxp-footer-iskur-contacts {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.75rem;
    font-size: 13px;
    line-height: 1.5;
}

.pxp-footer-iskur-contacts span {
    color: var(--pxpTextColor);
    font-weight: 500;
}

.pxp-footer-iskur-contacts a {
    color: var(--pxpMainColor);
    font-weight: 600;
    white-space: nowrap;
}

.pxp-footer-iskur-contacts a:hover {
    color: var(--pxpMainColorDark);
}

html.pxp-root[data-theme='dark'] .pxp-footer-iskur {
    background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 767px) {
    .pxp-footer-iskur {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        padding: 1rem;
    }

    .pxp-footer-iskur-logo img {
        width: 72px;
        height: 72px;
    }

    .pxp-footer-iskur-contacts {
        flex-direction: column;
        gap: 0.35rem;
    }
}

/* ── Hero single position select ─────────────────────────────── */
.pxp-hero-form-round.pxp-hero-form-single {
    padding-left: 0;
    border: 1px solid var(--pxpLightGrayColor);
    box-shadow: 0 6px 18px rgba(9, 105, 195, 0.06);
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.pxp-hero-form-round.pxp-hero-form-single:hover,
.pxp-hero-form-round.pxp-hero-form-single:focus-within {
    border-color: var(--pxpMainColor);
    box-shadow: 0 10px 26px rgba(9, 105, 195, 0.14);
}

.pxp-hero-form-single .pxp-hero-form-single-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 0 16px;
}

.pxp-hero-form-single-icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--pxpMainColor);
    background-color: var(--pxpMainColorLight);
}

.pxp-hero-form-single-field {
    flex: 1 1 auto;
    min-width: 0;
}

.pxp-hero-form-single .form-floating > .form-select {
    padding-left: 1rem;
    padding-right: 3rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 20px;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230969C3'%3e%3cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
    background-position: right 1.15rem center;
    background-size: 14px 10px;
    transition: background-color 200ms ease;
}

.pxp-hero-form-single .form-floating > .form-select:hover:not(:disabled) {
    background-color: rgba(9, 105, 195, 0.04);
}

.pxp-hero-form-single .form-floating > .form-select:disabled {
    cursor: default;
    opacity: 0.65;
}

.pxp-hero-form-single .form-floating > label {
    padding-left: 1rem;
    color: var(--pxpDarkGrayColor);
}

@media (max-width: 575px) {
    .pxp-hero-form-round.pxp-bigger.pxp-hero-form-single,
    .pxp-hero-form-round.pxp-bigger.pxp-hero-form-single .pxp-hero-form-single-inner {
        height: 88px;
    }

    .pxp-hero-form-single .pxp-hero-form-single-inner {
        padding: 0 10px;
    }

    .pxp-hero-form-single-icon {
        width: 48px;
        height: 48px;
        border-radius: 15px;
        font-size: 1rem;
    }

    .pxp-hero-form-single .form-floating > .form-select {
        padding-left: .75rem;
        padding-right: 2.5rem;
    }

    .pxp-hero-form-single .form-floating > label {
        padding-left: .75rem;
    }
}

html[dir='rtl'] .pxp-hero-form-round.pxp-hero-form-single {
    padding-right: 0;
}

html[dir='rtl'] .pxp-hero-form-single .form-floating > .form-select {
    padding-right: 1rem;
    padding-left: 3rem;
    background-position: left 1.15rem center;
}

html[dir='rtl'] .pxp-hero-form-single .form-floating > label {
    padding-left: .75rem;
    padding-right: 1rem;
}

@media (max-width: 575px) {
    html[dir='rtl'] .pxp-hero-form-single .form-floating > .form-select {
        padding-right: .75rem;
        padding-left: 2.5rem;
    }

    html[dir='rtl'] .pxp-hero-form-single .form-floating > label {
        padding-right: .75rem;
    }
}
