/* Jobs Sidebar Scroller Fix */
@media (min-width: 992px) {
    .jobs-sidebar-sticky {
        position: sticky;
        top: 100px;
        z-index: 10;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
}

/* [x-cloak] utility to prevent flash of uninitialized Alpine content */
[x-cloak] {
    display: none !important;
}

/* Pagination Customization */
.pagination-wrapper .pagination {
    margin-bottom: 0;
    gap: 8px;
}

.pagination-wrapper .page-item.active .page-link {
    background-color: #2e636b !important;
    border-color: #2e636b !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(46, 99, 107, 0.3);
}

.pagination-wrapper .page-link {
    color: #2e636b;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 8px !important;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-link:hover {
    background-color: #f0f4f5;
    color: #234c52;
    border-color: #2e636b;
}

.pagination-wrapper .page-item:first-child .page-link,
.pagination-wrapper .page-item:last-child .page-link {
    background: #fff;
    font-size: 20px !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 0;
    border: 1px solid #dee2e6;
    color: #2e636b;
}

.pagination-wrapper .page-item:first-child .page-link::after {
    content: "←";
}

.pagination-wrapper .page-item:last-child .page-link::after {
    content: "→";
}

.pagination-wrapper .page-item.active .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form Styling */
.job-type-radios .form-check-input:checked {
    background-color: #2e636b;
    border-color: #2e636b;
}

/* Custom Helpers */
.text-primary-custom {
    color: #2e636b !important;
}

.bg-primary-custom {
    background-color: #2e636b !important;
}

.border-primary-custom {
    border-color: #2e636b !important;
}

/* Inline style transitions */
.job-listing-btn {
    padding: 8px 15px;
    font-size: 13px !important;
    min-width: 100px;
}

.badge-job-code {
    font-size: 11px;
    color: #2e636b !important;
    border-color: #2e636b !important;
    background-color: #f0f4f5;
}

.badge-job-detail {
    border-radius: 6px;
    font-weight: 500;
    background: #fdfdfd;
    padding: 0.5rem 1rem;
}

/* Global Button Height Standardization */
.theme-btn,
.theme-btn-s2,
.theme-btn-s3,
.theme-btn-s4,
button.theme-btn,
input[type="submit"].theme-btn {
    height: 46px !important;
    line-height: 46px !important;
    padding: 0 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important; /* Slightly smaller font for better fit in 46px */
}

/* Secondary button style if needed */
.theme-btn-s2 {
    background: transparent !important;
    border: 2px solid #2e636b !important;
    color: #2e636b !important;
}

.theme-btn-s2:hover {
    background: #2e636b !important;
    color: #fff !important;
}

/* Reset Filter Button Hover Fix */
.job-listing-btn.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

/* Form Input Alignment/Focus Issues */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 99, 107, 0.25);
}

.is-invalid {
    border-color: #dc3545 !important;
}

/* Reset Filter Button Styling */
.btn-reset-filter {
    background: transparent !important;
    color: #2e636b !important;
    border: 1px solid #2e636b !important;
    transition: all 0.3s ease;
}

.btn-reset-filter:hover {
    background: #2e636b !important;
    color: #ffffff !important;
}

/* Job Listing Enhancements */
.wpo-job-item {
    transition: all 0.3s ease;
    border: 1px solid #ebebeb !important;
}

.wpo-job-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.badge-job-code {
    background: #f0f4f5;
    color: #2e636b;
    font-weight: 600;
    padding: 6px 12px;
}

.badge-job-detail {
    background: #fff;
    color: #666;
    border: 1px solid #e1e1e1;
    font-weight: 400;
    padding: 6px 12px;
}

/* Global Button Height Enforcement */
.theme-btn,
.theme-btn-s2,
.job-listing-btn,
.btn-reset-filter {
    height: 46px !important;
    line-height: 46px !important;
    padding: 0 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    border-radius: 5px !important;
}

.theme-btn::after,
.theme-btn-s2::after,
.theme-btn-s3::after,
.theme-btn-s4::after,
.job-listing-btn::after,
.btn-reset-filter::after {
    border-radius: 5px !important;
}

/* Pagination Design */
.pagination-wrapper .pagination .page-item .page-link {
    width: 40px;
    height: 40px;
    line-height: 38px;
    padding: 0;
    text-align: center;
    border-radius: 5px !important;
    margin: 0 3px;
    color: #2e636b;
    border: 1px solid #ebebeb;
}

.pagination-wrapper .pagination .page-item.active .page-link {
    background-color: #2e636b !important;
    border-color: #2e636b !important;
    color: #fff !important;
}
/* Production Readiness Classes */
.hero-slide-bg {
    background-image: url("../images/slider/burj-khalifa-banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-title-h1 {
    font-size: 64px;
    color: #ffffff;
}

.section-about-pt {
    padding-top: 150px;
}

.about-list-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.about-list-item {
    margin-bottom: 5px;
}

.how-it-works-section-pt {
    padding: 80px 0;
}

.how-it-works-subtitle {
    letter-spacing: 1px;
    font-size: 14px;
}

.how-it-works-title {
    font-size: 40px;
    color: #151a30;
}

.step-icon-wrapper {
    width: 100px;
    height: 100px;
    background-color: #e2e8f0 !important;
}

.step-icon {
    font-size: 2rem;
    font-weight: bold;
    color: #2e636b !important;
}

.step-title {
    color: #151a30;
}

/* Auth & Card Utilities */
.card-auth {
    border-radius: 12px !important;
}

.font-weight-600 {
    font-weight: 600 !important;
}

/* Industry Section Utilities */
.industry-item-bg {
    background-color: #ecf0ff !important;
}

.industry-icon-size {
    width: 50px;
    height: 50px;
}

/* Footer & Media Utilities */
.logo-size-std {
    height: 60px;
    width: auto;
}

.error-msg-std {
    font-size: 18px;
}

/* Header Navigation Wrapping Fix */
@media screen and (min-width: 992px) and (max-width: 1440px) {
    .wpo-site-header {
        padding: 0 15px !important;
    }
    .wpo-site-header #navbar > ul > li > a {
        font-size: 13px !important;
        padding: 25px 7px !important;
    }
    .logo-size-std {
        height: 45px !important;
    }
    .wpo-site-header #navbar > ul {
        flex-wrap: nowrap !important;
    }
}
@media (min-width: 1441px) {
    .wpo-site-header #navbar > ul > li > a {
        font-size: 17px !important;
        padding: 35px 20px !important;
    }
}

.html-content ul,
.html-content ol {
    padding-left: 25px !important;
    margin-bottom: 20px !important;
    display: block !important;
}

.html-content ul li {
    list-style-type: disc !important;
    margin-bottom: 8px !important;
    display: list-item !important;
}

.html-content ol li {
    list-style-type: decimal !important;
    margin-bottom: 8px !important;
    display: list-item !important;
}

.html-content h1,
.html-content h2,
.html-content h3,
.html-content h4 {
    margin-top: 25px !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
}

.html-content p {
    margin-bottom: 15px !important;
}
