/* Job Portal Manager - FlexJob Layout Styles */

/* Hero Section */
.jpm-flexjob-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 8px;
}

.jpm-hero-inner h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 600;
}

.jpm-hero-inner p {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Jobs Container - NEW LAYOUT */
.jpm-jobs-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0px;
}

/* Grid Layout with Column Options */
.jpm-jobs-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.jpm-jobs-grid.jpm-cols-1 {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.jpm-jobs-grid.jpm-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.jpm-jobs-grid.jpm-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Job Card Design - Vertical Layout to Match Target Image */
.jpm-job-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jpm-job-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* Logo Container - At Top Left */
.jpm-logo-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    align-items: center;
}

.jpm-company-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #1c90ae;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jpm-company-logo img {
    width: 85%;
    background-image: none !important;
}

.jpm-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 25%, #fbbc05 50%, #ea4335 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 600;
}

/* Job Header - Title and Company */
.jpm-job-header {
    margin-bottom: 25px;
    text-align: left;
}

.jpm-job-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 500;
    color: #202124;
    line-height: 1.3;
}

.jpm-company-name {
    color: #5f6368;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

/* Divider */
.jpm-divider {
    height: 1px;
    background: #e8eaed;
    margin: 5px 0;
}

/* Job Details - Clean Vertical List */
.jpm-job-details {
    margin-bottom: 10px;
    flex-grow: 1;
}

.jpm-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #5f6368;
    font-size: 15px;
    line-height: 1.4;
}

.jpm-detail-item i {
    width: 18px;
    color: #9aa0a6;
    font-size: 15px;
    flex-shrink: 0;
}

.jpm-detail-item span {
    color: #202124;
}

/* Card Footer */
.jpm-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    flex-direction: column;
}

.jpm-view-btn {
    background: #1C90AE;
    color: white;
    padding: 12px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.jpm-view-btn:hover {
    background: #DB261E;
    color: white;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.jpm-view-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.jpm-view-btn:hover i {
    transform: translateX(2px);
}

.jpm-update-time {
    color: #9aa0a6;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.jpm-update-time i {
    font-size: 11px;
}

/* No Jobs Message */
.jpm-no-jobs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

/* Legacy button styles for compatibility */
.jpm-fx-btn {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.jpm-fx-btn:hover {
    background: #005a87;
    color: white;
}

.jpm-fx-btn-ghost {
    background: transparent;
    color: #0073aa;
    border: 1px solid #0073aa;
}

.jpm-fx-btn-ghost:hover {
    background: #0073aa;
    color: white;
}

/* Single Job Detail */
.jpm-detail-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px;
    background: #f8f9fa;
    min-height: 100vh;
}

.jpm-detail-hero {
    background: #f8f9fa;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Hero with background image overlay */
.jpm-detail-hero[style*="background-image"] {
    color: white;
    position: relative;
  	z-index:0;
}

.jpm-detail-hero[style*="background-image"] > * {
    position: relative;
    z-index: 2;
}

.jpm-detail-hero[style*="background-image"] .jpm-company-name {
    color: rgba(0, 0, 0, 1);
}

.jpm-detail-hero[style*="background-image"] .jpm-detail-title {
    color: #DB261E;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.jpm-detail-hero[style*="background-image"] .jpm-detail-meta span {
    color: rgb(28 144 174);
}

.jpm-detail-hero[style*="background-image"] .jpm-apply-cta {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.jpm-detail-hero[style*="background-image"] .jpm-apply-cta:hover {
    background: white;
    color: #333;
}

.jpm-detail-hero .jpm-company-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.jpm-detail-hero .jpm-company-name {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.jpm-detail-title {
    font-size: 2.2em;
    margin: 0 0 20px 0;
    color: #333;
    font-weight: 600;
}

.jpm-detail-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 25px;
}

.jpm-detail-meta span {
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.jpm-detail-meta i {
    color: #999;
    width: 16px;
}

.jpm-apply-cta {
    background: #2c3e50;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.jpm-apply-cta:hover {
    background: #1a252f;
    color: white;
}

.jpm-detail-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
}

.jpm-detail-sidebar {
    background: white;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.jpm-sidebar-section {
    padding: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.jpm-sidebar-section:last-child {
    border-bottom: none;
}

.jpm-sidebar-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.jpm-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jpm-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.jpm-info-list li:last-child {
    border-bottom: none;
}

.jpm-info-label {
    color: #666;
    font-weight: 500;
}

.jpm-info-value {
    color: #333;
    font-weight: 400;
}

.jpm-apply-now-btn {
    background: #2c3e50;
    color: white;
    padding: 12px 0;
    border: none;
    border-radius: 6px;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
    display: block;
    text-decoration: none;
}

.jpm-apply-now-btn:hover {
    background: #1a252f;
    color: white;
}

.jpm-detail-main {
    background: white;
    border-radius: 8px;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.jpm-detail-main h3 {
    color: #333;
    margin: 0px 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.jpm-detail-main h3:first-child {
    margin-top: 0;
}

.jpm-desc-content {
    line-height: 1.7;
    color: #555;
    font-size: 15px;
}

.jpm-desc-content ul {
    padding-left: 20px;
}

.jpm-desc-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.jpm-company-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.jpm-company-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.jpm-company-photo {
    aspect-ratio: 1;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.jpm-company-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 1024px) {
    .jpm-jobs-grid.jpm-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .jpm-jobs-container {
        padding: 0 15px;
    }

    .jpm-jobs-grid.jpm-cols-2,
    .jpm-jobs-grid.jpm-cols-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jpm-job-card {
        padding: 24px;
    }

    .jpm-company-logo {
        width: 60px;
        height: 60px;
    }

    .jpm-logo-placeholder {
        width: 54px;
        height: 54px;
        font-size: 24px;
    }

    .jpm-job-title {
        font-size: 20px;
    }

    .jpm-company-name {
        font-size: 14px;
    }

    .jpm-detail-item {
        font-size: 14px;
        padding: 6px 0;
    }

    .jpm-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .jpm-view-btn {
        justify-content: center;
        padding: 10px 20px;
        font-size: 13px;
    }

    .jpm-update-time {
        justify-content: center;
        font-size: 11px;
    }

    .jpm-detail-wrap {
        padding: 0px;
    }

    .jpm-detail-hero {
        padding: 30px 15px;
    }

    .jpm-detail-title {
        font-size: 1.8em;
    }

    .jpm-detail-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .jpm-detail-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jpm-detail-sidebar {
        order: 2;
        position: static;
    }

    .jpm-detail-main {
        order: 1;
        padding: 25px;
    }

    .jpm-company-photos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Card He
ader - Logo and Job Info Side by Side (Horizontal Layout) */
.jpm-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.jpm-job-info {
    flex: 1;
    min-width: 0;
}

/* Override existing styles for horizontal layout */
.jpm-job-card .jpm-company-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  	box-shadow: 0px 1px 8px #aaaaaa;
}

.jpm-job-card .jpm-company-logo img {
    width: 90%;
}

.jpm-job-card .jpm-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 25%, #fbbc05 50%, #ea4335 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 600;
}

.jpm-job-card .jpm-job-title {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 500;
    color: #202124;
    line-height: 1.3;
}

.jpm-job-card .jpm-company-name {
    color: #5f6368;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

/* Responsive adjustments for horizontal header */
@media (max-width: 768px) {
    .jpm-card-header {
        gap: 16px;
        margin-bottom: 20px;
    }

    .jpm-job-card .jpm-company-logo {
        width: 60px;
        height: 60px;
    }

    .jpm-job-card .jpm-logo-placeholder {
        width: 54px;
        height: 54px;
        font-size: 24px;
    }

    .jpm-job-card .jpm-job-title {
        font-size: 20px;
    }

    .jpm-job-card .jpm-company-name {
        font-size: 14px;
    }
}

/* Grid Layout for Sidebar + Jobs */
.jpm-flexjob-grid-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.jpm-flexjob-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sidebar Styles */
.jpm-flexjob-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jpm-side-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.jpm-side-card h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.jpm-filter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jpm-filter-form input,
.jpm-filter-form select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Responsive for Grid Layout */
@media (max-width: 768px) {
    .jpm-flexjob-grid-wrap {
        grid-template-columns: 1fr;
    }
}

/* Filter
s Section Above Jobs */
.jpm-filters-section {
    margin-bottom: 40px;
}

.jpm-filter-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.jpm-filter-card h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.jpm-filter-form-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 15px;
}

.jpm-filter-form-horizontal input,
.jpm-filter-form-horizontal select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s ease;
}

.jpm-filter-form-horizontal input:focus,
.jpm-filter-form-horizontal select:focus {
    outline: none;
    border-color: #1C90AE;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.jpm-filter-btn {
    background: #1C90AE;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.jpm-filter-btn:hover {
    background: #DB261E;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.jpm-filter-btn i {
    font-size: 12px;
}

/* Force 3-column grid always */
.jpm-jobs-grid.jpm-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Responsive for filters */
@media (max-width: 1024px) {
    .jpm-filter-form-horizontal {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .jpm-filter-btn {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .jpm-filter-form-horizontal {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .jpm-filter-card {
        padding: 20px;
    }

    .jpm-filter-card h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    /* Keep 3 columns on tablet, single column on mobile */
    .jpm-jobs-grid.jpm-cols-3 {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    /* 2 columns on tablet */
    .jpm-jobs-grid.jpm-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/*
 Filter Header */
.jpm-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.jpm-clear-filters {
    color: #dc3545;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #dc3545;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.jpm-clear-filters:hover {
    background: #dc3545;
    color: white;
    text-decoration: none;
}

.jpm-clear-filters i {
    font-size: 12px;
}

/* Results Info */
.jpm-results-info {
    margin-bottom: 25px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 4px solid #1C90AE;
    border-radius: 6px;
}

.jpm-results-info p {
    margin: 0;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive adjustments for filter header */
@media (max-width: 768px) {
    .jpm-filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .jpm-clear-filters {
        align-self: flex-end;
    }
}

.job-application-form .wpforms-field {
    float: left !important;
    width: 98% !important;
    clear: none !important;
    margin: 1% !important;
}

.job-application-form .wpforms-form .wpforms-field-label {
    color: inherit;
}

.job-application-form .wpforms-field input {
    max-width: 100% !important;
}
.job-application-form .wpforms-field input[type=tel]{
	padding-right: 6px !important;
    padding-left: 52px !important;
}

@media(max-width:640px) {
    .job-application-form .wpforms-field {
        float: none !important;
        width: 100% !important;
        clear: none !important;
        margin: 0% !important;
    }
}

/* Latest Jobs Widget Styles */
.jpm-latest-jobs-widget {
    margin: 0 auto;
    width: 1320px;
    padding: 40px 0;
}

.jpm-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.jpm-widget-title {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.jpm-view-all-link {
    color: #1C90AE;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #1C90AE;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.jpm-view-all-link:hover {
    background: #1C90AE;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.jpm-view-all-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.jpm-view-all-link:hover i {
    transform: translateX(2px);
}

/* Latest Jobs Grid */
.jpm-latest-jobs-grid {
    display: grid;
    gap: 25px;
}

.jpm-latest-jobs-grid.jpm-cols-1 {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.jpm-latest-jobs-grid.jpm-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.jpm-latest-jobs-grid.jpm-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.jpm-latest-jobs-grid.jpm-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Latest Job Card Variations */
.jpm-latest-job-card {
    padding: 25px;
    transition: all 0.3s ease;
}

.jpm-latest-job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.jpm-latest-job-card .jpm-job-title {
    font-size: 18px;
    margin: 0 0 6px 0;
}

.jpm-latest-job-card .jpm-company-name {
    font-size: 14px;
}

.jpm-latest-job-card .jpm-company-logo {
    width: 50px;
    height: 50px;
}

.jpm-latest-job-card .jpm-logo-placeholder {
    width: 44px;
    height: 44px;
    font-size: 20px;
}

/* Compact Details */
.jpm-job-details.jpm-compact .jpm-detail-item {
    padding: 6px 0;
    font-size: 13px;
}

.jpm-job-details.jpm-compact .jpm-detail-item i {
    width: 16px;
    font-size: 13px;
}

/* Compact Footer */
.jpm-card-footer.jpm-compact {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.jpm-view-btn.jpm-compact {
    padding: 10px 20px;
    font-size: 13px;
    justify-content: center;
}

.jpm-job-badge {
    color: #000;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.jpm-job-badge i {
    font-size: 10px;
}

/* Responsive for Latest Jobs */
@media (max-width: 1024px) {
    .jpm-latest-jobs-grid.jpm-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
  	
  	.jpm-latest-jobs-grid.jpm-cols-4 {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .jpm-widget-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .jpm-view-all-link {
        align-self: flex-end;
    }
}

@media (max-width: 768px) {
    .jpm-latest-jobs-grid.jpm-cols-2,
    .jpm-latest-jobs-grid.jpm-cols-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .jpm-latest-job-card {
        padding: 20px;
    }
    
    .jpm-widget-title {
        font-size: 24px;
    }
    
    .jpm-widget-header {
        margin-bottom: 20px;
      	align-items: center;
    }
}

/* Alternative Compact Layout for Sidebar */
.jpm-latest-jobs-widget.jpm-sidebar-widget {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.jpm-latest-jobs-widget.jpm-sidebar-widget .jpm-latest-jobs-grid {
    grid-template-columns: 1fr;
    gap: 15px;
}

.jpm-latest-jobs-widget.jpm-sidebar-widget .jpm-latest-job-card {
    padding: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
}

.jpm-latest-jobs-widget.jpm-sidebar-widget .jpm-card-header {
    gap: 12px;
    margin-bottom: 12px;
}

.jpm-latest-jobs-widget.jpm-sidebar-widget .jpm-company-logo {
    width: 40px;
    height: 40px;
}

.jpm-latest-jobs-widget.jpm-sidebar-widget .jpm-logo-placeholder {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.jpm-latest-jobs-widget.jpm-sidebar-widget .jpm-job-title {
    font-size: 16px;
}

.jpm-latest-jobs-widget.jpm-sidebar-widget .jpm-company-name {
    font-size: 12px;
}

/* Simple Jobs Container - Clean layout without hero or filters */
.jpm-simple-jobs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.jpm-simple-jobs-container .jpm-jobs-grid {
    margin-bottom: 0;
}

/* Ensure consistent spacing for simple jobs */
.jpm-simple-jobs-container .jpm-job-card {
    margin-bottom: 0;
}

/* Optional: Tighter spacing for simple layout */
.jpm-simple-jobs-container.jpm-compact {
    padding: 20px 0;
}

.jpm-simple-jobs-container.jpm-compact .jpm-jobs-grid {
    gap: 20px;
}

.jpm-simple-jobs-container.jmp-compact .jpm-job-card {
    padding: 20px;
}
.no-margin{
  margin:0px !important;
}
.latest-jobs .jpm-job-details.jpm-compact .jpm-detail-item{
  font-size:1rem;
}
.latest-jobs .jpm-view-all-link{
    background: #1C90AE;
    border:none;
}
.latest-jobs .jpm-view-all-link:hover {
    background: #DB261E;
    color:#fff;
}
.jpm-has-bg{background-size: cover;}
@media (max-width: 640px){
  .jpm-latest-jobs-widget {	
    width: 100%;
    padding: 40px 20px;
  }
}

/* Two-Column Layout for Job Detail Body */
.jpm-detail-body {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Main Content (Left Side) */
.jpm-detail-main {
    flex: 2;
    order: 1;
}

.jpm-detail-main h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.jpm-desc-content {
    line-height: 1.6;
    color: #555;
}

.jpm-desc-content p {
    margin-bottom: 15px;
}

.jpm-desc-content ul,
.jpm-desc-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.jpm-desc-content li {
    margin-bottom: 8px;
}

/* Sidebar (Right Side) */
.jpm-detail-sidebar {
    flex: 1;
    order: 2;
    align-self: flex-start;
    position: sticky;
    top: 20px;
}

.jpm-sidebar-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.jpm-sidebar-section h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.jpm-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jpm-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.jpm-info-list li:last-child {
    border-bottom: none;
}

.jpm-info-label {
    font-weight: 600;
    color: #666;
    flex: 1;
    margin-right: 15px;
}

.jpm-info-value {
    color: #333;
    text-align: left;
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jpm-detail-body {
        flex-direction: column;
        gap: 20px;
    }
    
    .jpm-detail-main {
        order: 1;
    }
    
    .jpm-detail-sidebar {
        order: 1;
        position: static;
    }
    
    .jpm-detail-hero .jpm-detail-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .jpm-detail-hero .jpm-detail-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .jpm-detail-hero {
        padding: 40px 15px;
    }
    
    .jpm-detail-hero .jpm-detail-title {
        font-size: 1.8em;
    }
    
    .jpm-sidebar-section {
        padding: 20px;
    }
  
  	.jpm-detail-sidebar{
      width:100%;
  	}
}
.jpm-job-badge, .jpm-latest-job-card .jpm-company-logo, .jpm-company-name, .jpm-detail-hero .jpm-company-logo{
  display:none;
}
.jpm-card-header{
  margin-bottom:0px;
}

/* custom for blue design */

.jpm-wrap.site-content{
  position: relative;
}
.jpm-wrap.site-content::before{
  	position: absolute;
    background-image: url('https://jrkinfotech.logicdev.in/wp-content/uploads/2025/09/jobs-background-thumbs.webp');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 40px;
    opacity: 0.2;
  	z-index:0;
}

.jpm-latest-jobs-widget, .jpm-wrap {
    background: #4f6bc2;
    margin: 50px auto;
    border-radius: 40px;
}

.jpm-wrap {
  padding:30px;
}

.section-sub-title span {
    display: block;
    font-size: 40px;
    margin-top: 20px;
}

.jpm-widget-header {
  border: none !important;
  padding: 0 30px;
}
.jpm-widget-header h5.section-sub-title {
  color:#fff;
}

.jpm-latest-jobs-grid.jpm-cols-2{
  padding:0px 25px;
}

.jpm-latest-jobs-grid{
  gap:40px;
}

.jpm-job-card, .jpm-filter-card{
  background: #050e2b;
  border-color: #050e2b;
  background-image:none !important;
  border-radius:30px;
}

h5.section-sub-title::before{
  left: -3% !important;
  background: white !important;
}

.jpm-job-card .jpm-job-title, .jpm-detail-item i, .jpm-detail-item span{
  color:#fff;
}

.jpm-job-title{
  color:#ffb359 !important;
}

.jpm-divider{display:none;}

.jpm-card-footer{
  align-items: flex-start;
}

.jpm-view-btn {
    padding: 10px 40px;
  	background:none;
  	border: 2px solid #1C90AE;
  	border-radius:25px;
}

.jpm-view-btn:hover{
  border-color: #1C90AE;
  background: #1C90AE;
}

.jpm-widget-header .solutek-btn a:hover, .jpm-filter-header h4{
  color:#fff;
}

.jpm-results-info{
  border-color:#fff;
  background: #050e2b;
}
.jpm-results-info p{
  color:#fff;
}

.jpm-pagination .page-numbers {
    border: 2px solid #1C90AE;
    border-radius: 10px;
    padding: 5px 20px;
    color: #fff;
}

.jpm-pagination .page-numbers:hover {
    background: #1C90AE;
}

.jpm-filters-section, .jpm-results-info, .jpm-jobs-container{
  position: relative;
}

.jpm-job-title a:hover{
  color: #1C90AE;
}

/* single */

.jpm-detail-hero{
  position:relative;
  background: #05051a;
}

.jpm-detail-hero::before{
  content: '';
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  opacity: 0.5;
  z-index:0;
}

.jpm-detail-title{
  z-index: 1;
  color: #fff;
  font-size: 2.5rem;
}
.jpm-detail-meta {
  z-index: 1;
  background: rgb(44 62 80);
  box-shadow: 0px 0px 5px #1c90ae;
  padding: 5px 50px;
  border-radius: 30px;
}
.jpm-detail-meta span, .jpm-detail-meta i{
  color:#fff;
  font-size:1rem;
}

.jpm-detail-meta span{
  padding-right:30px;
  border-right:1px solid #fff;
}

.jpm-detail-meta span:last-child{
  padding-right:0px;
  border-right:none;
}

.jpm-apply-cta{
  z-index: 1;
}

.jpm-detail-main{
  box-shadow: none;
  background: none;
}

.jpm-detail-sidebar{
  border-radius:30px;
}

.jpm-sidebar-section {
  background: none;
}

.jpm-detail-main h3, .jpm-sidebar-section h4, #jpm-apply-form-container h4, .jpm-desc-content p:has(> strong:only-child){
  display:inline-block;
  background: #1d2c5d;
  border-radius:30px;
  padding:5px 15px;
  color:#fff; 
  font-size: 1.5rem;
  border-bottom: 2px solid #667eea;
}

#jpm-apply-form-container h4{
  font-weight:bold;
  padding: 5px 25px;
  font-size: 1.5rem;  
}

.jpm-detail-main h3{
  font-size: 1.5rem;
}

.jpm-desc-content p:has(> strong:only-child){
  font-size:0.9rem;
}

.jpm-desc-content ul li {
  padding-left: 0.5rem;
  color:#000;
}

.jpm-desc-content ul li::marker {
  content: "\f0a9";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  padding-right:0.5rem;
  color: #db261e;
}

div.wpforms-container-full button[type=submit]{
  background: #2c3e50 !important;
  color: white !important;
  padding: 0.75rem 4rem !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  text-align: center !important;
  display: inline-block !important;
  text-decoration: none !important;
  height: 3.5rem !important;
}

/* single */

@media (max-width:1280px){
  .jpm-latest-jobs-widget{
    width:100%;
  }
}

@media (max-width:640px){
  .jpm-detail-hero .jpm-detail-meta {
    flex-direction: row;
    gap: 15px;
    width: 100%;
  }
  .section-sub-title span{
    line-height:45px;
  }
  .jpm-jobs-container{
    padding:0px;
  }
  .jpm-detail-meta span{
    padding-right:0px;
    border-right:none;
  }
  .jpm-latest-jobs-grid.jpm-cols-2{
    padding:0px;
  }
}

/* custom for blue design */