.jb-suite-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.jb-suite-popup.is-visible {
    display: flex;
}

.jb-suite-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.jb-suite-popup-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    width: 90%;
    max-width: 360px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin: 15px;
}

.jb-suite-popup-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.jb-suite-popup-message {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 14px;
}

.jb-suite-popup-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.jb-suite-popup-login {
    background: #0056d2;
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.jb-suite-popup-cancel,
.jb-suite-popup-close {
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.jb-suite-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    line-height: 26px;
    text-align: center;
}

.jb-suite-apply-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10003;
}

.jb-suite-apply-modal.is-visible {
    display: flex;
}

.jb-suite-apply-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.jb-suite-apply-modal-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.jb-suite-apply-modal-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.jb-suite-apply-subtitle {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 14px;
}

.jb-suite-apply-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

.jb-suite-form-field {
    margin-bottom: 14px;
    display: grid;
    gap: 6px;
}

.jb-suite-form-field label {
    font-weight: 600;
    font-size: 13px;
}

.jb-suite-apply-modal input[type="text"],
.jb-suite-apply-modal input[type="email"],
.jb-suite-apply-modal input[type="tel"],
.jb-suite-apply-modal input[type="password"],
.jb-suite-apply-modal input[type="search"],
.jb-suite-apply-modal input[type="number"],
.jb-suite-apply-modal input[type="url"],
.jb-suite-apply-modal textarea,
.jb-suite-apply-modal select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #111827;
    box-sizing: border-box;
    outline: none;
}

.jb-suite-apply-modal input[type="text"]:focus,
.jb-suite-apply-modal input[type="email"]:focus,
.jb-suite-apply-modal input[type="tel"]:focus,
.jb-suite-apply-modal input[type="password"]:focus,
.jb-suite-apply-modal input[type="search"]:focus,
.jb-suite-apply-modal input[type="number"]:focus,
.jb-suite-apply-modal input[type="url"]:focus,
.jb-suite-apply-modal textarea:focus,
.jb-suite-apply-modal select:focus {
    border-color: #0056d2;
    box-shadow: 0 0 0 2px rgba(0, 86, 210, 0.15);
}

.jb-suite-apply-file {
    border: 1px dashed #cbd5f5;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
}

.jb-suite-apply-file input[type="file"] {
    display: none;
}

.jb-suite-apply-file .jb-suite-apply-file-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.jb-suite-apply-file .jb-suite-apply-file-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.jb-suite-apply-existing {
    font-size: 12px;
    color: #6b7280;
}

.jb-suite-apply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.jb-suite-apply-modal .jb-suite-apply-submit {
    background: #0056d2;
    color: #fff;
    border: 0;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    text-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jb-suite-apply-modal .jb-suite-apply-cancel {
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    text-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jb-suite-apply-message {
    margin-top: 10px;
    font-size: 13px;
    color: #1f2937;
}

.jb-suite-apply-message.is-success {
    color: #1b5e20;
    font-weight: 600;
}

.jb-suite-apply-message.is-error {
    color: #b91c1c;
    font-weight: 600;
}

.jb-suite-single-job {
    padding: 10px 0;
}

.jb-suite-single-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    padding: 0 16px;
}

.jb-suite-single-content .jb-suite-search-detail-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.jb-suite-single-content .jb-suite-search-detail-card > * + * {
    margin-top: 20px;
}

.jb-suite-single-content .jb-suite-search-detail-card > * {
    background: #fff;
    border: 1px solid #e5e1d9;
    border-radius: 12px;
    padding: 24px;
}

.jb-suite-single-content .jb-suite-search-detail-card > .jb-suite-related-jobs {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.jb-suite-single-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.jb-suite-single-sidebar-empty {
    background: #fff;
    border: 1px solid #e5e1d9;
    border-radius: 12px;
    padding: 16px;
    color: #6b7280;
    font-size: 14px;
}

.jb-suite-back-link {
    display: inline-block;
    margin: 0 0 12px;
    color: #1d4ed8;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jb-suite-back-link:hover {
    text-decoration: underline;
}

.jb-suite-archive-header {
    margin-bottom: 16px;
}

.jb-suite-archive-header h1 {
    margin: 0;
    font-size: 22px;
}

.jb-suite-archive-breadcrumb {
    margin: 0 0 4px;
    font-size: 12px;
    color: #6b7280;
}

.jb-suite-archive-count {
    margin: 6px 0 0;
    font-size: 14px;
    color: #374151;
}


.jb-suite-employer-archive {
    display: grid;
    gap: 12px;
}

.jb-suite-employer-archive-card {
    background: #fff;
    border: 1px solid #e5e1d9;
    border-radius: 12px;
    padding: 16px;
}

.jb-suite-employer-archive-link {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.jb-suite-employer-archive-card h2 {
    margin: 0;
    font-size: 16px;
}

.jb-suite-single-employer {
    padding: 20px 0;
}

.jb-suite-employer-card {
    background: #fff;
    border: 1px solid #e5e1d9;
    border-radius: 12px;
    padding: 24px;
}

.jb-suite-employer-jobs {
    margin-top: 20px;
}

.jb-suite-employer-jobs-header h3 {
    margin-top: 20px;
    font-size: 16px;
}

.jb-suite-employer-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.jb-suite-employer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #475569;
    overflow: hidden;
    font-size: 20px;
    text-transform: capitalize;
    border: 1px solid #ddd;
}

.jb-suite-employer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jb-suite-employer-title {
    margin: 0 0 0px;
    font-size: 16px;
}

.jb-suite-employer-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 13px;
}

.jb-suite-employer-meta span {
    position: relative;
    padding-right: 12px;
}

.jb-suite-employer-meta span::after {
    content: "•";
    position: absolute;
    right: 0;
    top: 0;
    color: #9ca3af;
}

.jb-suite-employer-meta span:last-child {
    padding-right: 0;
}

.jb-suite-employer-meta span:last-child::after {
    content: "";
}

.jb-suite-employer-meta a {
    color: #0056d2;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 640px) {
    .jb-suite-employer-header {
        align-items: flex-start;
        gap: 12px;
    }

    .jb-suite-employer-logo {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        flex: 0 0 48px;
    }

    .jb-suite-employer-title {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .jb-suite-employer-meta {
        font-size: 12px;
        gap: 6px;
    }
}

.jb-suite-employer-website {
    margin: 0 0 12px;
}

.jb-suite-employer-website a {
    color: #0056d2;
    text-decoration: none;
    font-weight: 600;
}

.jb-suite-employer-section {
    margin-top: 20px;
}

.jb-suite-employer-section h2 {
    margin: 0 0 10px;
    font-size: 16px;
}

.jb-suite-employer-description {
    margin-top: 16px;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}

.jb-suite-employer-jobs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.jb-suite-employer-muted {
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 991px) {
    .jb-suite-single-grid {
        grid-template-columns: 1fr;
    }

    .jb-suite-single-sidebar {
        position: static;
    }
}

.jb-suite-search-sticky {
    display: none;
}

@media (min-width: 992px) {
    .jb-suite-search-sticky {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        position: sticky;
        top: -20px;
        padding: 12px 16px;
        background: #fff;
        border-bottom: 1px solid #e5e1d9;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        width: 100%;
        z-index: 2;
    }

    .jb-suite-search-detail .jb-suite-search-sticky {
        margin: -24px -24px 0px;
        width: calc(100% + 40px);
        border-radius: 12px 12px 0 0;
    }

    .jb-suite-search-sticky.is-hidden {
        display: none;
    }

    .jb-suite-search-sticky.is-visible {
        display: flex;
    }

    .jb-suite-search-sticky-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }

    .jb-suite-search-sticky-title {
        font-weight: 600;
        font-size: 14px;
        color: #111827;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .jb-suite-search-sticky-meta {
        font-size: 12px;
        color: #6b7280;
        display: flex;
        gap: 6px;
        align-items: center;
        flex-wrap: wrap;
    }

    .jb-suite-search-sticky-actions {
        display: flex;
        gap: 8px;
        align-items: center;
    }
}

.jb-suite-search-sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

@media (min-width: 992px) {
    .jb-suite-single-sticky {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        position: fixed;
        left: 50%;
        right: auto;
        width: 100vw;
        transform: translateX(-50%);
        top: 0;
        padding: 12px 16px;
        background: #fff;
        border-bottom: 1px solid #e5e1d9;
        box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.06);
        z-index: 999;
    }

    .jb-suite-single-sticky.is-hidden {
        display: none;
    }

    .jb-suite-single-sticky.is-visible {
        display: flex;
    }

    .jb-suite-single-sticky-inner {
        max-width: 1160px;
        margin: 0 auto;
        padding: 0 16px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .jb-suite-single-sticky {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        z-index: 999;
        border-top: 1px solid #e5e1d9;
        border-bottom: 0;
        box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.08);
    }

    .jb-suite-single-sticky.is-hidden {
        display: none;
    }

    .jb-suite-single-sticky-inner {
        width: 100%;
        padding: 15px 20px;
        background-color: #fff;
    }

    .jb-suite-single-sticky .jb-suite-search-sticky-info {
        display: none;
    }

    .jb-suite-single-sticky .jb-suite-search-sticky-actions {
        width: 100%;
        gap: 10px;
        display: flex;
    }

    .jb-suite-single-sticky .jb-suite-search-apply,
    .jb-suite-single-sticky .jb-suite-search-save {
        flex: 1 1 0;
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 8px 12px;
        font-size: 13px;
    }

    .jb-suite-single-sticky .jb-suite-search-apply {
        gap: 0;
    }

    .jb-suite-single-sticky .jb-suite-search-apply-icon {
        margin-left: 6px;
    }

    .jb-suite-search-actions {
        width: 100%;
    }

    .jb-suite-search-actions .jb-suite-search-apply,
    .jb-suite-search-actions .jb-suite-search-save {
        flex: 1 1 0;
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 8px 12px;
        font-size: 13px;
    }

    .jb-suite-search-actions .jb-suite-search-apply {
        gap: 0;
    }

    .jb-suite-search-actions .jb-suite-search-apply-icon {
        margin-left: 6px;
    }
}

@media (max-width: 991px) {
    .jb-suite-search-list,
    .jb-suite-search-detail {
        border: 0;
        padding: 0;
        overflow: visible;
        max-height: none;
        background: none;
    }

    .jb-suite-search-detail {
        display: none;
    }

    .jb-suite-search-item.is-active {
        border-color: #e5e1d9;
        box-shadow: none;
    }
}
