/**
 * JobAdder Plugin Styles
 * Default styling for all JobAdder components
 */

/* Google Fonts - Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

:root {
    /* Typography */
    --ja-font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Colors */
    --ja-primary: #98cb4e;
    --ja-primary-dark: #7cb342;
    --ja-text: #323232;
    --ja-text-light: #707070;
    --ja-border: #e0e0e0;
    --ja-bg-light: #f8f8f8;
    --ja-white: #ffffff;
}

/* Apply Montserrat globally to JobAdder elements */
.ja-search-form-wrapper,
.ja-jobs-wrapper,
.ja-job-card,
.ja-register-form-wrapper,
.ja-login-form-wrapper,
.ja-account-wrapper,
.ja-applied-jobs-wrapper,
.ja-candidate-details,
.form-job-search,
[class^="ja-"],
[class*=" ja-"] {
    font-family: var(--ja-font-family);
}

/* ==========================================================================
   Search Form Styles (Vertical Layout)
   ========================================================================== */

.ja-search-form-wrapper {
    margin: 0 auto;
}

.ja-search-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Legacy support for old form classes */
.form-job-search {
    position: relative;
}

.form-job-search .form-group {
    margin-bottom: 15px;
}

.form-job-search .form-group label {
    color: var(--ja-text);
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-job-search .form-group .form-required {
    color: var(--ja-text);
}

.form-job-search .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--ja-border);
    border-radius: 8px;
    background-color: var(--ja-white);
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-job-search .form-control:focus {
    outline: none;
    border-color: var(--ja-primary);
    box-shadow: 0 0 0 3px rgba(152, 203, 78, 0.15);
}

.form-job-search .cc-search-jobs-button {
    background-color: var(--ja-primary);
    color: var(--ja-white);
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    white-space: nowrap;
}

.form-job-search .cc-search-jobs-button:hover {
    background-color: var(--ja-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(152, 203, 78, 0.3);
}

.form-job-search .cc-search-jobs-button i {
    font-size: 16px;
}

/* ==========================================================================
   Inline Search Form Styles (Sticky Bar)
   ========================================================================== */

.ja-sticky-search-wrapper {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

.ja-search-inline {
    background: #2d2d2d;
    padding: 15px 0;
    width: 100%;
}

.ja-search-inline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.ja-search-inline-label {
    flex-shrink: 0;
}

.ja-search-inline-label span {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.ja-search-inline-fields {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    flex-wrap: wrap;
}

.ja-search-inline-field {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.ja-search-inline-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.ja-search-inline-field input {
    width: 100%;
    padding: 12px 15px 12px 42px;
    border: 2px solid var(--ja-border);
    border-radius: 8px;
    background: var(--ja-white);
    font-size: 15px;
    color: var(--ja-text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ja-search-inline-field input:focus {
    outline: none;
    border-color: var(--ja-primary);
    box-shadow: 0 0 0 3px rgba(152, 203, 78, 0.15);
}

.ja-search-inline-field input::placeholder {
    color: #9ca3af;
}

.ja-search-inline-button {
    background: var(--ja-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.ja-search-inline-button:hover {
    background: var(--ja-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(152, 203, 78, 0.3);
}

.ja-search-inline-button i {
    font-size: 14px;
}

/* Responsive Inline Search */
@media (max-width: 900px) {
    .ja-search-inline-container {
        gap: 15px;
    }
    
    .ja-search-inline-label {
        width: 100%;
        text-align: center;
    }
    
    .ja-search-inline-fields {
        width: 100%;
        justify-content: center;
    }
    
    .ja-search-inline-field {
        min-width: 150px;
    }
}

@media (max-width: 600px) {
    .ja-search-inline {
        padding: 20px 0;
    }
    
    .ja-search-inline-container {
        gap: 12px;
    }
    
    .ja-search-inline-fields {
        flex-direction: column;
        gap: 10px;
    }
    
    .ja-search-inline-field {
        width: 100%;
        min-width: auto;
    }
    
    .ja-search-inline-button {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
    }
}

/* ==========================================================================
   Search Long Form Styles (Horizontal Layout) - Legacy Support
   ========================================================================== */

.form-job-search-long {
    position: relative;
}

.form-job-search-long .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.form-job-search-long .form-group {
    margin-bottom: 0;
}

.form-job-search-long .form-group label,
.form-job-search-long .form-group .form-required {
    color: var(--ja-text-light);
}

.form-job-search-long .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--ja-border);
    border-radius: 4px;
    background-color: var(--ja-white);
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-job-search-long .form-control:focus {
    outline: none;
    border-color: var(--ja-primary);
    box-shadow: 0 0 0 3px rgba(152, 203, 78, 0.1);
}

.form-job-search-long .cc-search-jobs-button {
    width: 100%;
    background-color: var(--ja-primary);
    color: var(--ja-white);
    border: none;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.form-job-search-long .cc-search-jobs-button:hover {
    background-color: var(--ja-white);
    color: var(--ja-primary);
}

/* ==========================================================================
   Candidate Bar (Logged-in User Menu)
   ========================================================================== */

.ja-candidate-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.ja-candidate-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ja-candidate-welcome {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 14px;
}

.ja-candidate-welcome img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--ja-primary);
}

.ja-candidate-welcome strong {
    color: var(--ja-primary);
}

.ja-candidate-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ja-candidate-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ja-candidate-nav-link:hover {
    background: var(--ja-primary);
    color: #1a1a2e;
}

.ja-candidate-nav-link i {
    font-size: 14px;
}

.ja-candidate-nav-logout {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

.ja-candidate-nav-logout:hover {
    background: #dc2626;
    color: #ffffff;
}

/* Candidate Bar Responsive */
@media (max-width: 768px) {
    .ja-candidate-bar-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .ja-candidate-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .ja-candidate-nav-link {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .ja-candidate-nav-link {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
    }
    
    .ja-candidate-nav-link span {
        display: none;
    }
}

/* ==========================================================================
   Jobs Container
   ========================================================================== */

.ja-jobs-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.ja-jobs-header {
    margin-top: 20px;
    margin-bottom: 20px;
}

.ja-jobs-header p {
    margin: 0 0 5px;
    color: var(--ja-text);
    font-size: 15px;
}

.ja-jobs-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ==========================================================================
   Sidebar Filters
   ========================================================================== */

.ja-jobs-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

#jobs_filter {
    background: var(--ja-white);
    border: 1px solid var(--ja-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#jobs_filter .filter-search {
    padding: 15px;
    border-bottom: 1px solid var(--ja-border);
}

#jobs_filter .filter-search input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--ja-border);
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#jobs_filter .filter-search input:focus {
    outline: none;
    border-color: var(--ja-primary);
    box-shadow: 0 0 0 3px rgba(152, 203, 78, 0.15);
}

.ja-search-form input {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid var(--ja-border) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.ja-search-form input:focus {
    outline: none !important;
    border-color: var(--ja-primary) !important;
    box-shadow: 0 0 0 3px rgba(152, 203, 78, 0.15) !important;
}

#jobs_filter .accordion_heading {
    font-size: 14px;
    padding: 12px 15px;
    background: var(--ja-bg-light);
    color: var(--ja-text);
    position: relative;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid var(--ja-border);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#jobs_filter .accordion_heading::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--ja-primary);
    font-size: 12px;
    transition: transform 0.3s;
}

#jobs_filter .accordion_heading.active::after {
    transform: rotate(180deg);
}

#jobs_filter .accordion_heading + .accordion_content {
    display: none;
}

#jobs_filter .accordion_heading.active + .accordion_content {
    display: block;
}

#jobs_filter .accordion_content {
    padding: 10px 15px;
    background: var(--ja-white);
    max-height: 250px;
    overflow-y: auto;
}

#jobs_filter ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#jobs_filter ul li {
    margin: 0 0 8px;
}

#jobs_filter ul li:last-child {
    margin-bottom: 0;
}

#jobs_filter ul li a {
    text-decoration: none;
    color: var(--ja-text);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

#jobs_filter ul li a::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--ja-border);
    border-radius: 4px;
    background: var(--ja-white);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

#jobs_filter ul li a:hover::before {
    border-color: var(--ja-primary);
}

#jobs_filter ul li a.active::before {
    background: var(--ja-primary);
    border-color: var(--ja-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

#jobs_filter ul li ul {
    margin-left: 26px;
    margin-top: 8px;
}

/* Expiry Status Filter Radio Buttons */
#jobs_filter .accordion_content li label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
    color: var(--ja-text);
    margin: 0;
}

#jobs_filter .accordion_content li label:hover {
    background-color: rgba(152, 203, 78, 0.05);
}

#jobs_filter .accordion_content li label input[type="radio"] {
    margin: 0;
    cursor: pointer;
    accent-color: var(--ja-primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

#jobs_filter .accordion_content li label span {
    flex: 1;
}

/* ==========================================================================
   Job Grid
   ========================================================================== */

.ja-jobs-main {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.ja-jobs-main .job-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    width: 100% !important;
}

.ja-jobs-sort {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.ja-jobs-sort form {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.ja-jobs-sort label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ja-text);
    margin: 0;
    white-space: nowrap;
}

.ja-jobs-sort label i {
    color: var(--ja-primary);
    font-size: 16px;
}

.ja-jobs-sort select {
    padding: 10px 15px;
    padding-right: 35px;
    border: 2px solid var(--ja-border);
    border-radius: 12px;
    font-size: 14px;
    background: var(--ja-white);
    color: var(--ja-text);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23707070' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    min-width: 180px;
    width: auto;
    flex-shrink: 0;
}

.ja-jobs-sort select:focus {
    outline: none;
    border-color: var(--ja-primary);
    box-shadow: 0 0 0 3px rgba(152, 203, 78, 0.15);
}

.ja-jobs-sort select:hover {
    border-color: var(--ja-primary);
}

/* Sort and Page Length Controls */
.ja-sort-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ja-sort-control,
.ja-per-page-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ja-per-page-control select {
    min-width: 80px;
}

.ja-per-page-control span {
    font-size: 14px;
    color: var(--ja-text-light);
    white-space: nowrap;
}

/* Pagination Styles */
.ja-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 30px 0;
    margin-top: 30px;
    border-top: 1px solid var(--ja-border);
}

.ja-pagination-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--ja-white);
    border: 2px solid var(--ja-border);
    border-radius: 8px;
    color: var(--ja-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ja-pagination-link:hover {
    border-color: var(--ja-primary);
    color: var(--ja-primary);
    background: rgba(152, 203, 78, 0.05);
}

.ja-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ja-pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--ja-white);
    border: 2px solid var(--ja-border);
    border-radius: 8px;
    color: var(--ja-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ja-pagination-number:hover {
    border-color: var(--ja-primary);
    color: var(--ja-primary);
    background: rgba(152, 203, 78, 0.05);
}

.ja-pagination-number.active {
    background: var(--ja-primary);
    border-color: var(--ja-primary);
    color: var(--ja-white);
}

.ja-pagination-number.active:hover {
    background: var(--ja-primary-dark);
    border-color: var(--ja-primary-dark);
    color: var(--ja-white);
}

.ja-pagination-dots {
    padding: 0 5px;
    color: var(--ja-text-light);
    font-weight: 600;
}

.ja-pagination-info {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: var(--ja-text-light);
}

#job_list {
    --job-padding-inner: 20px;
}

.job-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    width: 100% !important;
    box-sizing: border-box;
    grid-auto-flow: row;
    margin: 0;
    padding: 0;
}

#job_list > .job-grid,
#job_list .job-grid,
.ja-jobs-main .job-grid,
div.job-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    width: 100% !important;
    box-sizing: border-box;
    grid-auto-flow: row;
    margin: 0 !important;
    padding: 0 !important;
}

.job-grid .ja-job-card,
.job-grid article.ja-job-card,
.job-grid > .ja-job-card,
.job-grid > article {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column;
}

/* ==========================================================================
   Job Card
   ========================================================================== */

.ja-job-card {
    background: var(--ja-white);
    border: 1px solid var(--ja-border);
    border-radius: 12px;
    padding: var(--job-padding-inner, 20px) !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.ja-job-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.ja-job-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ja-text);
    margin: 0 0 15px;
    line-height: 1.3;
}

.ja-job-card .job-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ja-border);
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.ja-job-card .job-area {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ja-job-card .job-area .label {
    background: var(--ja-primary);
    color: var(--ja-white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 3px;
    white-space: nowrap;
}

.ja-job-card .job-area .value {
    color: var(--ja-text);
    font-size: 14px;
}

.ja-job-card .job-views {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--ja-text-light);
    font-size: 13px;
    white-space: nowrap;
}

.ja-job-card .job-views i {
    color: var(--ja-primary);
}

.ja-job-card .job-content {
    flex: 1;
    margin-bottom: 15px;
}

.ja-job-card .job-content p {
    margin: 0;
    color: var(--ja-text-light);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ja-job-card .job-footer {
    padding-top: 15px;
    border-top: 1px solid var(--ja-border);
    margin-top: auto;
}

.ja-job-card .job-footer a {
    color: var(--ja-text);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: color 0.2s;
}

.ja-job-card .job-footer a:hover {
    color: var(--ja-primary);
}

.ja-job-card .job-footer a i {
    color: var(--ja-primary);
    font-size: 16px;
}

/* ==========================================================================
   No Results
   ========================================================================== */

.ja-no-results {
    text-align: center;
    padding: 60px 30px;
    background: var(--ja-bg-light);
    border-radius: 12px;
    border: 2px dashed var(--ja-border);
}

.ja-no-results i {
    font-size: 48px;
    color: var(--ja-border);
    margin-bottom: 15px;
    display: block;
}

.ja-no-results p {
    margin: 0 0 10px;
    color: var(--ja-text-light);
}

.ja-no-results a {
    color: var(--ja-primary);
    font-weight: 600;
}

/* ==========================================================================
   Jobs Carousel
   ========================================================================== */

.ja-jobs-carousel-wrapper {
    position: relative;
    padding: 0 20px;
    margin: 20px auto;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: visible;
}

.ja-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    width: 100%;
}

.ja-carousel-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 31px;
    font-weight: 400;
    color: #707070;
    margin: 20px 0 0;
    line-height: 1.2;
}

.ja-carousel-section-title i {
    color: var(--ja-primary);
    font-size: 26px;
}

.ja-carousel-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.ja-jobs-carousel-wrapper > img.ja-carousel-icon,
.ja-jobs-carousel-wrapper > i.fa-briefcase {
    display: block;
    margin: 0 auto 15px;
    text-align: center;
}

.ja-carousel-nav-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ja-jobs-carousel {
    overflow: hidden;
    width: 100%;
}

.ja-jobs-carousel .owl-stage-outer {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ja-jobs-carousel .owl-stage {
    display: flex;
    width: 100%;
}

.ja-jobs-carousel .owl-item {
    height: auto;
    box-sizing: border-box;
}

.ja-jobs-carousel .item {
    height: 100%;
}

.ja-carousel-card {
    background: var(--ja-white);
    border: 1px solid var(--ja-border);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease;
}

.ja-carousel-card:hover {
    border-color: #98CB4E;
}

.ja-carousel-content {
    flex: 1;
}

.ja-carousel-title {
    font-size: 24px;
    font-weight: 400;
    color: #707070;
    margin: 0 0 15px;
    line-height: 1.4;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ja-primary);
    transition: color 0.3s ease;
}

.ja-carousel-card:hover .ja-carousel-title {
    color: #98CB4E;
}

.ja-carousel-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ja-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--ja-border);
}

.ja-spec-item:last-child {
    border-bottom: none;
}

.ja-spec-label {
    font-size: 13px;
    color: var(--ja-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ja-spec-label i {
    width: 14px;
}

.ja-spec-value {
    font-size: 13px;
    color: var(--ja-text);
    font-weight: 500;
    text-align: right;
    max-width: 60%;
}

.ja-carousel-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--ja-border);
}

.ja-carousel-footer .ja-btn {
    width: 100%;
}

/* Carousel Navigation */

/* Target buttons directly in nav wrapper (Owl Carousel generates them here) */
.ja-carousel-nav-wrapper > button,
.ja-carousel-nav-wrapper button[type="button"],
.ja-carousel-nav-wrapper button[role="presentation"],
.ja-carousel-nav-wrapper .owl-prev,
.ja-carousel-nav-wrapper .owl-next {
    position: relative !important;
    width: 48px !important;
    height: 48px !important;
    background: var(--ja-primary) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(152, 203, 78, 0.3) !important;
    color: var(--ja-white) !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    left: auto !important;
    right: auto !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    overflow: visible !important;
}

.ja-carousel-nav-wrapper .owl-nav {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    pointer-events: none !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
    width: auto !important;
    margin: 0 !important;
}

.ja-carousel-nav-wrapper .owl-nav button,
.ja-carousel-nav-wrapper .owl-nav button.owl-prev,
.ja-carousel-nav-wrapper .owl-nav button.owl-next,
.ja-carousel-nav-wrapper .owl-nav .owl-prev,
.ja-carousel-nav-wrapper .owl-nav .owl-next {
    position: relative !important;
    width: 48px !important;
    height: 48px !important;
    background: var(--ja-primary) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(152, 203, 78, 0.3) !important;
    color: var(--ja-white) !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    left: auto !important;
    right: auto !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    overflow: visible !important;
}

.ja-carousel-nav-wrapper > button:hover,
.ja-carousel-nav-wrapper .owl-prev:hover,
.ja-carousel-nav-wrapper .owl-next:hover,
.ja-carousel-nav-wrapper button[type="button"]:hover,
.ja-carousel-nav-wrapper button[role="presentation"]:hover {
    background: var(--ja-primary-dark) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(152, 203, 78, 0.4) !important;
}

.ja-carousel-nav-wrapper > button i,
.ja-carousel-nav-wrapper .owl-prev i,
.ja-carousel-nav-wrapper .owl-next i,
.ja-carousel-nav-wrapper button[type="button"] i,
.ja-carousel-nav-wrapper button[role="presentation"] i {
    font-size: 18px !important;
    color: var(--ja-white) !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ja-carousel-nav-wrapper > button:hover i,
.ja-carousel-nav-wrapper .owl-prev:hover i,
.ja-carousel-nav-wrapper .owl-next:hover i {
    color: var(--ja-white) !important;
}

.ja-carousel-nav-wrapper > button.disabled,
.ja-carousel-nav-wrapper .owl-prev.disabled,
.ja-carousel-nav-wrapper .owl-next.disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

/* Carousel Responsive */
@media (max-width: 1024px) {
    .ja-jobs-carousel-wrapper {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .ja-jobs-carousel-wrapper {
        padding: 0 10px;
    }
    
    .ja-carousel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .ja-carousel-nav-wrapper {
        width: 100%;
        justify-content: flex-end;
    }
    
    .ja-carousel-nav-wrapper .owl-nav button {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .ja-carousel-nav-wrapper .owl-nav button i {
        font-size: 16px;
    }
    
    .ja-carousel-section-title {
        font-size: 24px;
    }
    
    .ja-carousel-section-title i {
        font-size: 26px;
    }
    
    .ja-carousel-card {
        padding: 20px;
    }
    
    .ja-carousel-title {
        font-size: 20px;
    }
    
    .ja-spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .ja-spec-value {
        text-align: left;
        max-width: 100%;
    }
}

/* Mobile Portrait - Up to 767px (includes 375px max mobile) */
@media (max-width: 767px) {
    .ja-jobs-carousel-wrapper {
        padding: 0 10px;
    }
    
    .ja-jobs-carousel-wrapper > img.ja-carousel-icon,
    .ja-jobs-carousel-wrapper > i.fa-briefcase {
        display: block;
        margin: 0 auto 15px;
        text-align: center;
    }
    
    .ja-jobs-carousel {
        width: 100%;
    }
    
    .ja-jobs-carousel .owl-stage-outer {
        overflow: hidden !important;
        width: 100%;
    }
    
    .ja-jobs-carousel .owl-stage {
        width: 100% !important;
    }
    
    .ja-jobs-carousel .owl-item {
        width: 100% !important;
    }
    
    .ja-jobs-carousel .owl-item .ja-carousel-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .ja-carousel-header {
        gap: 12px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .ja-carousel-section-title {
        font-size: 22px;
        justify-content: center;
    }
    
    .ja-carousel-nav-wrapper {
        justify-content: center;
    }
    
    .ja-carousel-nav-wrapper .owl-nav button {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
    }
    
    .ja-carousel-nav-wrapper .owl-nav button i {
        font-size: 15px;
    }
    
    .ja-carousel-card {
        padding: 18px;
        width: 100% !important;
        max-width: 100% !important;
        border: 1px solid var(--ja-border) !important;
        border-radius: 12px !important;
    }
    
    .ja-carousel-title {
        font-size: 18px;
        margin-bottom: 12px;
        padding-bottom: 10px;
        text-align: center;
    }
    
    .ja-spec-item {
        padding: 6px 0;
    }
    
    .ja-spec-label,
    .ja-spec-value {
        font-size: 12px;
    }
    
    .ja-carousel-footer {
        margin-top: 15px;
        padding-top: 12px;
        text-align: center;
    }
    
    .ja-carousel-footer .ja-btn {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 8px !important;
    }
}

@media (max-width: 480px) {
    .ja-jobs-carousel-wrapper {
        padding: 0 8px;
        margin: 15px auto;
    }
    
    .ja-jobs-carousel .owl-stage-outer {
        padding-left: 0 !important;
    }
    
    .ja-jobs-carousel .owl-item {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .ja-jobs-carousel .owl-item .ja-carousel-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 12px !important;
    }
    
    .ja-carousel-header {
        margin-bottom: 20px;
        gap: 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .ja-carousel-section-title {
        justify-content: center;
    }
    
    .ja-carousel-nav-wrapper {
        justify-content: center;
    }
    
    .ja-carousel-nav-wrapper .owl-nav button {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 50% !important;
    }
    
    .ja-carousel-nav-wrapper .owl-nav button i {
        font-size: 14px;
    }
    
    .ja-carousel-card {
        padding: 15px;
        width: 100% !important;
        max-width: 100% !important;
        border: 1px solid var(--ja-border) !important;
        border-radius: 12px !important;
    }
    
    .ja-carousel-title {
        font-size: 16px;
        margin-bottom: 10px;
        padding-bottom: 8px;
        text-align: center;
    }
    
    .ja-carousel-section-title {
        font-size: 20px;
    }
    
    .ja-carousel-section-title i {
        font-size: 22px;
    }
    
    .ja-spec-item {
        padding: 5px 0;
    }
    
    .ja-spec-label {
        font-size: 11px;
    }
    
    .ja-spec-value {
        font-size: 11px;
    }
    
    .ja-carousel-footer {
        margin-top: 12px;
        padding-top: 10px;
        text-align: center;
    }
    
    .ja-carousel-footer .ja-btn {
        padding: 10px 18px;
        font-size: 13px;
        border-radius: 8px !important;
    }
    
    .ja-carousel-footer .ja-btn i {
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    .ja-jobs-carousel-wrapper {
        padding: 0 5px;
        margin: 10px auto;
    }
    
    .ja-jobs-carousel .owl-stage-outer {
        padding-left: 0 !important;
    }
    
    .ja-jobs-carousel .owl-item {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .ja-jobs-carousel .owl-item .ja-carousel-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: 1px solid var(--ja-border) !important;
        border-radius: 12px !important;
    }
    
    .ja-carousel-header {
        margin-bottom: 15px;
        gap: 8px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .ja-carousel-section-title {
        justify-content: center;
    }
    
    .ja-carousel-nav-wrapper .owl-nav button {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        border-radius: 50% !important;
    }
    
    .ja-carousel-nav-wrapper .owl-nav button i {
        font-size: 13px;
    }
    
    .ja-carousel-section-title {
        font-size: 18px;
    }
    
    .ja-carousel-section-title i {
        font-size: 20px;
    }
    
    .ja-carousel-card {
        padding: 12px;
        border: 1px solid var(--ja-border) !important;
        border-radius: 12px !important;
    }
    
    .ja-carousel-title {
        font-size: 15px;
        margin-bottom: 8px;
        padding-bottom: 8px;
        text-align: center;
    }
    
    .ja-spec-item {
        padding: 4px 0;
    }
    
    .ja-spec-label {
        font-size: 10px;
    }
    
    .ja-spec-value {
        font-size: 10px;
    }
    
    .ja-carousel-footer {
        margin-top: 10px;
        padding-top: 8px;
        text-align: center;
    }
    
    .ja-carousel-footer .ja-btn {
        padding: 10px 16px;
        font-size: 12px;
        border-radius: 8px !important;
    }
    
    .ja-carousel-footer .ja-btn i {
        font-size: 11px;
    }
}

@media (max-width: 320px) {
    .ja-jobs-carousel-wrapper {
        padding: 0 3px;
        margin: 8px auto;
    }
    
    .ja-carousel-card {
        padding: 10px;
        border: 1px solid var(--ja-border) !important;
        border-radius: 10px !important;
    }
    
    .ja-carousel-title {
        font-size: 14px;
        text-align: center;
    }
    
    .ja-carousel-section-title {
        font-size: 16px;
    }
    
    .ja-carousel-section-title i {
        font-size: 18px;
    }
    
    .ja-carousel-nav-wrapper .owl-nav button {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
    }
    
    .ja-carousel-nav-wrapper .owl-nav button i {
        font-size: 12px;
    }
    
    .ja-spec-label,
    .ja-spec-value {
        font-size: 9px;
    }
    
    .ja-carousel-footer .ja-btn {
        padding: 8px 14px;
        font-size: 11px;
        border-radius: 6px !important;
    }
}

/* ==========================================================================
   Archive Wrapper
   ========================================================================== */

.ja-archive-wrapper {
    padding: 0;
}

/* ==========================================================================
   Single Job Post (Job Details Page)
   ========================================================================== */

/* More specific selectors to override theme styles */
body.jobadder-job-post .ja-job-detail,
body.jobadder-single-job .ja-job-detail,
#jobadder-single-job-wrapper .ja-job-detail,
.jobadder-single-job-wrapper .ja-job-detail {
    padding: 0 !important;
}

body.jobadder-job-post #jobadder-single-job-wrapper,
body.jobadder-single-job #jobadder-single-job-wrapper,
.jobadder-single-job-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Override theme container constraints */
body.jobadder-job-post .container,
body.jobadder-single-job .container,
body.jobadder-job-post .site-content,
body.jobadder-single-job .site-content,
body.jobadder-job-post .content-area,
body.jobadder-single-job .content-area,
body.jobadder-job-post .entry-content,
body.jobadder-single-job .entry-content,
body.jobadder-job-post .post-content,
body.jobadder-single-job .post-content,
body.jobadder-job-post .content,
body.jobadder-single-job .content,
body.jobadder-job-post .main-content,
body.jobadder-single-job .main-content,
body.jobadder-job-post .page-content,
body.jobadder-single-job .page-content,
body.jobadder-job-post article,
body.jobadder-single-job article,
body.jobadder-job-post .elementor-page,
body.jobadder-single-job .elementor-page {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Exception for job cards - they need their padding */
body.jobadder-job-post article .ja-job-card,
body.jobadder-single-job article .ja-job-card,
body.jobadder-job-post .ja-job-card,
body.jobadder-single-job .ja-job-card {
    padding: var(--job-padding-inner, 20px) !important;
}

/* Override any theme wrapper that might constrain width */
body.jobadder-job-post .wrapper,
body.jobadder-single-job .wrapper,
body.jobadder-job-post .site-wrapper,
body.jobadder-single-job .site-wrapper,
body.jobadder-job-post .page-wrapper,
body.jobadder-single-job .page-wrapper {
    max-width: 100% !important;
    width: 100% !important;
}

.ja-job-detail {
    padding: 0;
}

.ja-job-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Hero Section - Multiple selectors for maximum specificity */
body.jobadder-job-post .ja-job-detail-hero,
body.jobadder-single-job .ja-job-detail-hero,
body.jobadder-job-post #jobadder-single-job-wrapper .ja-job-detail-hero,
body.jobadder-single-job #jobadder-single-job-wrapper .ja-job-detail-hero,
#jobadder-single-job-wrapper .ja-job-detail-hero,
.jobadder-single-job-wrapper .ja-job-detail-hero,
.ja-job-detail-hero {
    background: linear-gradient(135deg, #98cb4e 0%, #7cb342 100%) !important;
    padding: 60px 0 40px !important;
    margin-bottom: 40px !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ja-job-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.ja-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 25px;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.ja-back-link:hover {
    color: #fff;
    transform: translateX(-3px);
}

.ja-back-link i {
    font-size: 12px;
}

.ja-job-detail-header {
    position: relative;
    z-index: 1;
}

.ja-job-header-main {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ja-job-header-main h1 {
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
}

/* Ensure reference appears below title */
.ja-job-header-main .ja-job-reference {
    align-self: flex-start;
}

body.jobadder-job-post .ja-job-detail-header h1,
body.jobadder-single-job .ja-job-detail-header h1,
body.jobadder-job-post #jobadder-single-job-wrapper .ja-job-detail-header h1,
body.jobadder-single-job #jobadder-single-job-wrapper .ja-job-detail-header h1,
#jobadder-single-job-wrapper .ja-job-detail-header h1,
.jobadder-single-job-wrapper .ja-job-detail-header h1,
.ja-job-detail-header h1 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 12px !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
    border: none !important;
}

.ja-job-reference {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 12px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ja-job-reference::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.ja-job-reference:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.ja-job-reference:hover::before {
    left: 100%;
}

.ja-job-reference i {
    font-size: 15px;
    opacity: 1;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.ja-job-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ja-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.ja-meta-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.ja-meta-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.ja-meta-item:hover::before {
    left: 100%;
}

.ja-meta-item i {
    font-size: 16px;
    opacity: 1;
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ja-meta-item span {
    font-weight: 600;
    white-space: nowrap;
}

.ja-meta-item--expired {
    background: rgba(220, 53, 69, 0.2) !important;
    border-color: rgba(220, 53, 69, 0.4) !important;
}

.ja-meta-item--expired i {
    background: rgba(220, 53, 69, 0.3) !important;
    color: #dc3545 !important;
}

.ja-meta-item--expired span {
    color: #fff !important;
}

/* Layout */
body.jobadder-job-post .ja-job-detail-layout,
body.jobadder-single-job .ja-job-detail-layout,
#jobadder-single-job-wrapper .ja-job-detail-layout,
.jobadder-single-job-wrapper .ja-job-detail-layout,
.ja-job-detail-layout {
    display: grid !important;
    grid-template-columns: 1fr 350px !important;
    gap: 30px !important;
    align-items: start;
}

/* Main Content */
.ja-job-detail-main {
    min-width: 0;
}

.ja-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ja-text);
    margin: 0 0 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--ja-primary);
    position: relative;
}

.ja-section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ja-primary) 0%, #7cb342 100%);
}

.ja-section-title i {
    color: var(--ja-primary);
    font-size: 22px;
    width: 28px;
    text-align: center;
    background: rgba(152, 203, 78, 0.1);
    padding: 8px;
    border-radius: 8px;
}

.ja-job-specs {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.ja-job-specs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ja-primary) 0%, #7cb342 100%);
}

.ja-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.ja-job-spec-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 2px solid #e9ecef;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ja-job-spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--ja-primary) 0%, #7cb342 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.ja-job-spec-item::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(152, 203, 78, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.ja-job-spec-item:hover {
    background: linear-gradient(135deg, #f8fff0 0%, #ffffff 100%);
    border-color: var(--ja-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(152, 203, 78, 0.2);
}

.ja-job-spec-item:hover::before {
    transform: scaleY(1);
}

.ja-job-spec-item:hover::after {
    opacity: 1;
}

.ja-job-spec-label {
    font-size: 11px;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e9ecef;
}

.ja-job-spec-label i {
    font-size: 15px;
    color: var(--ja-white);
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    background: linear-gradient(135deg, var(--ja-primary) 0%, #7cb342 100%);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(152, 203, 78, 0.3);
    flex-shrink: 0;
}

.ja-job-spec-value {
    font-size: 17px;
    color: var(--ja-text);
    font-weight: 600;
    line-height: 1.7;
    word-break: break-word;
    padding-top: 4px;
}

.ja-job-spec-value .badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--ja-primary) 0%, #7cb342 100%);
    color: var(--ja-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin: 4px 8px 4px 0;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(152, 203, 78, 0.3);
    transition: all 0.3s;
}

.ja-job-spec-value .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(152, 203, 78, 0.4);
}

/* Ensure job spec value text (non-badge) is styled */
.ja-job-spec-value {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

/* Style for values without badges */
.ja-job-spec-value:not(:has(.badge)) {
    color: var(--ja-text);
    font-weight: 600;
    display: block;
}

/* Ensure badges display properly */
.ja-job-spec-value .badge {
    display: inline-flex;
    align-items: center;
}

.ja-job-description {
    background: var(--ja-white);
    border: 1px solid var(--ja-border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ja-job-description .content {
    color: var(--ja-text);
    line-height: 1.9;
    font-size: 16px;
}

.ja-job-description .content p {
    margin-bottom: 18px;
}

.ja-job-description .content p:last-child {
    margin-bottom: 0;
}

.ja-job-description .content ul,
.ja-job-description .content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.ja-job-description .content li {
    margin-bottom: 10px;
}

.ja-job-description .content strong {
    color: var(--ja-text);
    font-weight: 600;
}

.ja-job-description .content h3,
.ja-job-description .content h4 {
    color: var(--ja-text);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Sidebar */
.ja-job-detail-sidebar {
    position: sticky;
    top: 20px;
}

.ja-apply-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fff0 100%);
    border: 2px solid var(--ja-primary);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(152, 203, 78, 0.2);
    position: relative;
    overflow: hidden;
}

.ja-apply-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ja-primary) 0%, #7cb342 100%);
}

.ja-apply-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--ja-text);
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}

.ja-apply-card p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

body.jobadder-job-post .ja-apply-button,
body.jobadder-single-job .ja-apply-button,
#jobadder-single-job-wrapper .ja-apply-button,
.jobadder-single-job-wrapper .ja-apply-button,
.ja-apply-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    background: linear-gradient(135deg, var(--ja-primary) 0%, #7cb342 100%) !important;
    color: var(--ja-white) !important;
    padding: 18px 28px !important;
    white-space: nowrap !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 30px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    cursor: pointer !important;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 16px rgba(152, 203, 78, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.ja-apply-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.ja-apply-button:hover {
    background: linear-gradient(135deg, #7cb342 0%, var(--ja-primary) 100%) !important;
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 8px 24px rgba(152, 203, 78, 0.5) !important;
}

.ja-apply-button:hover::before {
    left: 100%;
}

.ja-apply-button:active {
    transform: translateY(-2px) scale(1) !important;
}

.ja-apply-button i {
    font-size: 20px !important;
    position: relative;
    z-index: 1;
}

.ja-apply-note {
    color: var(--ja-text-light);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.ja-expired-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.ja-expired-notice i {
    font-size: 32px;
    color: #856404;
    margin-bottom: 10px;
}

.ja-expired-notice p {
    margin: 8px 0;
    color: #856404;
    font-size: 14px;
}

.ja-expired-notice p:first-of-type {
    font-weight: 600;
    font-size: 16px;
}

.ja-job-sidebar-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ja-job-sidebar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ja-primary) 0%, #7cb342 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.ja-job-sidebar-section:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
    border-color: var(--ja-primary);
}

.ja-job-sidebar-section:hover::before {
    transform: scaleX(1);
}

.ja-job-sidebar-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ja-text);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.ja-job-sidebar-section h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--ja-primary) 0%, #7cb342 100%);
}

.ja-job-sidebar-section h4 i {
    color: var(--ja-white);
    font-size: 16px;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    background: linear-gradient(135deg, var(--ja-primary) 0%, #7cb342 100%);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(152, 203, 78, 0.3);
}

.ja-sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ja-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--ja-text);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e9ecef;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    min-height: 40px;
}

.ja-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.ja-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(152, 203, 78, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.ja-tag:hover {
    background: linear-gradient(135deg, var(--ja-primary) 0%, #7cb342 100%);
    color: var(--ja-white);
    border-color: var(--ja-primary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(152, 203, 78, 0.4);
}

.ja-tag:hover::before {
    left: 100%;
}

.ja-tag:hover::after {
    width: 300px;
    height: 300px;
}

.ja-share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.ja-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #ffffff;
    color: var(--ja-text);
    border: 2px solid #e9ecef;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.ja-share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(152, 203, 78, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.ja-share-btn:hover::before {
    width: 100%;
    height: 100%;
}

.ja-share-btn:hover {
    background: var(--ja-primary);
    color: var(--ja-white);
    border-color: var(--ja-primary);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 20px rgba(152, 203, 78, 0.4);
}

.ja-share-btn i {
    position: relative;
    z-index: 1;
}

.ja-share-btn.copied {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
    animation: pulse 0.5s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.ja-apply-status {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.ja-apply-status--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ja-apply-status--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ja-apply-status i {
    font-size: 20px;
}

/* Job Application Modal */
body.modal-open {
    overflow: hidden;
}

#job_post_modal {
    z-index: 10000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

#job_post_modal.active {
    display: flex;
}

#job_post_modal_background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

#job_post_modal_close {
    position: absolute !important;
    right: 15px !important;
    top: 15px !important;
    left: auto !important;
    border: 0 !important;
    width: 45px !important;
    height: 45px !important;
    line-height: 1 !important;
    min-width: 45px !important;
    text-align: center !important;
    padding: 0 !important;
    background: var(--ja-white) !important;
    color: var(--ja-text) !important;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s;
    z-index: 10001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#job_post_modal_close:hover {
    background: var(--ja-primary) !important;
    color: var(--ja-white) !important;
    transform: rotate(90deg);
}

#job_post_modal_close i {
    font-size: 20px;
}

#job_post_modal_inr,
#job_application_custom_modal_inr {
    width: 100%;
    max-width: 900px;
    height: calc(100% - 100px);
    max-height: 800px;
    position: relative;
    z-index: 10000;
    background: var(--ja-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#job_post_modal_inr iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Custom Application Form Modal */
#job_application_custom_modal {
    z-index: 10000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

#job_application_custom_modal.active {
    display: flex;
}

#job_application_custom_modal_background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

#job_application_custom_modal_close {
    position: absolute !important;
    right: 15px !important;
    top: 15px !important;
    left: auto !important;
    border: 0 !important;
    width: 45px !important;
    height: 45px !important;
    line-height: 1 !important;
    min-width: 45px !important;
    text-align: center !important;
    padding: 0 !important;
    background: var(--ja-white) !important;
    color: var(--ja-text) !important;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s;
    z-index: 10001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#job_application_custom_modal_close:hover {
    background: var(--ja-primary) !important;
    color: var(--ja-white) !important;
    transform: rotate(90deg);
}

#job_application_custom_modal_close i {
    font-size: 20px;
}

#job_application_custom_modal_inr {
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 10000;
    background: var(--ja-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ja-custom-application-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ja-text);
    margin: 0 0 10px;
}

.ja-form-note {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 25px;
    padding: 12px;
    background: #f8f9fa;
    border-left: 3px solid var(--ja-primary);
    border-radius: 4px;
}

.ja-custom-application-form .ja-form-group {
    margin-bottom: 20px;
}

.ja-custom-application-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ja-text);
    margin-bottom: 8px;
}

.ja-custom-application-form .ja-required {
    color: #dc3545;
}

.ja-custom-application-form .ja-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--ja-border);
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.ja-custom-application-form .ja-form-control:focus {
    outline: none;
    border-color: var(--ja-primary);
    box-shadow: 0 0 0 3px rgba(152, 203, 78, 0.15);
}

.ja-custom-application-form .ja-textarea {
    resize: vertical;
    min-height: 120px;
}

.ja-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: flex-end;
}

.ja-form-actions .ja-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ja-form-actions .ja-btn-primary {
    background: var(--ja-primary);
    color: var(--ja-white);
}

.ja-form-actions .ja-btn-primary:hover {
    background: var(--ja-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(152, 203, 78, 0.3);
}

.ja-form-actions .ja-btn-secondary {
    background: #6c757d;
    color: var(--ja-white);
}

.ja-form-actions .ja-btn-secondary:hover {
    background: #5a6268;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Large Tablets and Small Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    .ja-jobs-sidebar {
        width: 250px;
    }
    
    .ja-jobs-layout {
        gap: 20px;
    }
    
    .job-grid,
    #job_list > .job-grid,
    .ja-jobs-main .job-grid {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr) !important;
        display: grid !important;
    }
    
    .ja-job-card h2 {
        font-size: 18px;
    }
    
    /* Job Detail Page */
    .ja-job-detail-layout {
        grid-template-columns: 1fr 300px;
        gap: 25px;
    }
    
    .ja-job-detail-header h1 {
        font-size: 30px;
    }
}

/* Tablets (max-width: 900px) */
@media (max-width: 900px) {
    .ja-jobs-layout {
        flex-direction: column;
    }
    
    .ja-jobs-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }
    
    #jobs_filter {
        display: flex;
        flex-wrap: wrap;
    }
    
    #jobs_filter .filter-search {
        width: 100%;
        border-bottom: 1px solid var(--ja-border);
    }
    
    #jobs_filter .accordion_heading {
        flex: 1 1 calc(33.333% - 1px);
        min-width: 120px;
        text-align: center;
        justify-content: center;
        gap: 8px;
        border-right: 1px solid var(--ja-border);
        border-bottom: none;
    }
    
    #jobs_filter .accordion_heading:last-of-type {
        border-right: none;
    }
    
    #jobs_filter .accordion_heading::after {
        position: static;
    }
    
    #jobs_filter .accordion_content {
        width: 100%;
        border-top: 1px solid var(--ja-border);
    }
    
    .job-grid,
    #job_list > .job-grid,
    .ja-jobs-main .job-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        display: grid !important;
    }
}

/* Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .ja-jobs-container {
        padding: 0 15px;
    }
    
    .ja-jobs-sort {
        justify-content: flex-start;
    }
    
    .ja-jobs-sort form {
        flex-wrap: wrap;
        width: 100%;
    }
    
    .ja-jobs-sort select {
        flex: 1;
        min-width: 150px;
    }
    
    .job-grid,
    #job_list > .job-grid,
    .ja-jobs-main .job-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
        display: grid !important;
    }
    
    body.jobadder-job-post article .ja-job-card,
    body.jobadder-single-job article .ja-job-card,
    body.jobadder-job-post .ja-job-card,
    body.jobadder-single-job .ja-job-card,
    .ja-job-card {
        padding: 15px !important;
    }
    
    .ja-job-card h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    /* Job Detail Page */
    .ja-job-detail-hero {
        padding: 40px 0 30px;
    }
    
    .ja-job-detail-header h1 {
        font-size: 28px;
    }
    
    .ja-job-header-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .ja-job-detail-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .ja-job-detail-sidebar {
        position: static;
    }
    
    .ja-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .ja-job-description {
        padding: 25px;
    }
    
    .ja-apply-card {
        padding: 25px;
    }
    
    .ja-apply-button {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    #job_post_modal_inr {
        height: calc(100% - 60px);
        max-height: 700px;
    }
    
    /* Search Long Form - Stack vertically */
    .form-job-search-long .row {
        flex-direction: column;
    }
    
    .form-job-search-long .column {
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 15px;
    }
    
    .form-job-search-long .column:last-child {
        margin-bottom: 0;
    }
    
    .form-job-search-long h5 {
        margin-bottom: 15px;
        text-align: center;
    }
    
    /* Filter accordion - stack vertically on mobile */
    #jobs_filter {
        flex-direction: column;
    }
    
    #jobs_filter .accordion_heading {
        flex: none;
        width: 100%;
        justify-content: space-between;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid var(--ja-border);
    }
    
    #jobs_filter .accordion_content {
        border-top: none;
    }
}

/* Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
    .ja-jobs-container {
        padding: 0 10px;
    }
    
    .ja-jobs-header p {
        font-size: 14px;
    }
    
    body.jobadder-job-post article .ja-job-card,
    body.jobadder-single-job article .ja-job-card,
    body.jobadder-job-post .ja-job-card,
    body.jobadder-single-job .ja-job-card,
    .ja-job-card {
        padding: 12px !important;
    }
    
    .ja-job-card h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .ja-job-card .job-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    .ja-job-card .job-area {
        width: 100%;
    }
    
    .ja-job-card .job-views {
        width: 100%;
    }
    
    .ja-job-card .job-content {
        margin-bottom: 12px;
    }
    
    .ja-job-card .job-content p {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .ja-job-card .job-footer {
        padding-top: 12px;
    }
    
    .ja-job-card .job-footer a {
        font-size: 13px;
    }
    
    /* Search form adjustments */
    .form-job-search .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .form-job-search .cc-search-jobs-button {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .form-job-search-long .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .form-job-search-long .cc-search-jobs-button {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    /* Filter adjustments */
    #jobs_filter .filter-search {
        padding: 12px;
    }
    
    #jobs_filter .filter-search input {
        padding: 10px;
        font-size: 14px;
    }
    
    #jobs_filter .accordion_heading {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    #jobs_filter .accordion_content {
        padding: 10px 12px;
        max-height: 200px;
    }
    
    #jobs_filter ul li a {
        font-size: 13px;
        padding: 6px 0;
    }
    
    #jobs_filter ul li a::before {
        width: 16px;
        height: 16px;
    }
    
    .ja-no-results {
        padding: 30px 15px;
    }
    
    .ja-no-results p {
        font-size: 14px;
    }
    
    /* Job Detail Page */
    .ja-job-detail-hero {
        padding: 30px 0 25px;
    }
    
    .ja-job-detail-header h1 {
        font-size: 24px;
    }
    
    .ja-job-reference {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .ja-meta-item {
        font-size: 13px;
    }
    
    .ja-section-title {
        font-size: 20px;
    }
    
    .ja-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .ja-job-spec-item {
        padding: 12px;
    }
    
    .ja-job-description {
        padding: 20px;
    }
    
    .ja-job-description .content {
        font-size: 15px;
    }
    
    .ja-apply-card {
        padding: 20px;
    }
    
    .ja-apply-card h3 {
        font-size: 18px;
    }
    
    .ja-apply-button {
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .ja-job-sidebar-section {
        padding: 15px;
    }
    
    #job_post_modal {
        padding: 10px;
    }
    
    #job_post_modal_close {
        width: 40px !important;
        height: 40px !important;
        right: 10px !important;
        top: 10px !important;
    }
    
    #job_post_modal_inr,
    #job_application_custom_modal_inr {
        height: calc(100% - 40px);
        max-height: none;
        border-radius: 6px;
        padding: 20px;
    }
    
    .ja-custom-application-form {
        padding: 0;
    }
    
    .ja-form-actions {
        flex-direction: column;
    }
    
    .ja-form-actions .ja-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Extra Small Phones (max-width: 360px) */
@media (max-width: 360px) {
    .ja-job-card .job-area .label {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .ja-job-card .job-area .value {
        font-size: 13px;
    }
    
    .ja-job-card .job-views {
        font-size: 12px;
    }
    
    /* Job Detail Page */
    .ja-job-detail-header h1 {
        font-size: 22px;
    }
    
    .ja-job-specs {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .ja-job-description {
        padding: 20px;
    }
    
    .ja-job-description h2 {
        font-size: 20px;
    }
    
    .ja-job-apply-section {
        padding: 20px;
    }
    
    .ja-apply-button {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    #jobs_filter ul li a {
        padding: 8px 0;
    }
    
    #jobs_filter ul li a::before {
        width: 20px;
        height: 20px;
    }
    
    .ja-job-card .job-footer a {
        padding: 8px 0;
    }
}

/* Print Styles */
@media print {
    .ja-jobs-sidebar {
        display: none;
    }
    
    .ja-jobs-main {
        width: 100%;
    }
    
    .job-grid,
    #job_list > .job-grid,
    .ja-jobs-main .job-grid {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }
    
    .ja-job-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ==========================================================================
   Candidate Registration Form Styles
   ========================================================================== */

.ja-register-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: var(--ja-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Login Form Styles
   ========================================================================== */

.ja-login-form-wrapper {
    max-width: 420px;
    margin: 0 auto;
    padding: 40px;
    background: var(--ja-white);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.ja-login-logo {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--ja-border);
}

.ja-login-logo a {
    display: inline-block;
    text-decoration: none;
}

.ja-login-logo img {
    max-width: 180px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ja-login-logo--text a {
    font-size: 24px;
    font-weight: 700;
    color: var(--ja-text);
    transition: color 0.3s ease;
}

.ja-login-logo--text a:hover {
    color: var(--ja-primary);
}

.ja-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ja-login-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
}

.ja-login-error p {
    margin: 0;
    color: #dc2626;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ja-login-options {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px;
}

.ja-remember-me {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin: 0 !important;
    cursor: pointer;
}

.ja-remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0 !important;
    accent-color: var(--ja-primary);
    cursor: pointer;
}

.ja-remember-me .ja-checkbox-text {
    font-size: 14px;
    color: var(--ja-text);
    white-space: nowrap;
}

.ja-forgot-password {
    font-size: 14px;
    color: var(--ja-primary);
    text-decoration: none;
    white-space: nowrap;
    margin-left: auto;
}

.ja-forgot-password:hover {
    text-decoration: underline;
    color: var(--ja-primary-dark);
}

/* Login Form Responsive */
@media (max-width: 480px) {
    .ja-login-form-wrapper {
        padding: 25px 20px;
        margin: 0 15px;
        border-radius: 12px;
    }
    
    .ja-login-logo {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .ja-login-logo img {
        max-width: 150px;
    }
    
    .ja-login-options {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    
    .ja-forgot-password {
        margin-left: 0;
    }
}

.ja-login-logged-in {
    max-width: 420px;
    margin: 0 auto;
}

.ja-logged-in-message {
    text-align: center;
    padding: 40px 30px;
    background: var(--ja-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ja-logged-in-message i.fa-user-circle {
    font-size: 60px;
    color: var(--ja-primary);
    margin-bottom: 15px;
}

.ja-logged-in-message p {
    font-size: 16px;
    color: var(--ja-text);
    margin: 0 0 25px;
}

.ja-logged-in-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.ja-logged-in-actions .ja-btn {
    flex: 1;
    min-width: 140px;
}

/* ==========================================================================
   Registration Form - Full Version
   ========================================================================== */

.ja-register-form-wrapper.ja-register-full {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: var(--ja-white);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.ja-form-section {
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.ja-form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ja-form-section .ja-form-group:last-child {
    margin-bottom: 0;
}

.ja-form-section-submit {
    border-bottom: none;
    padding-top: 10px;
}

.ja-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ja-text);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ja-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ja-section-title i {
    color: var(--ja-primary);
    font-size: 16px;
}

.ja-form-note {
    font-size: 14px;
    color: #6b7280;
    margin: 15px 0 0;
}

.ja-form-note a {
    color: var(--ja-primary);
    text-decoration: none;
    font-weight: 500;
}

.ja-form-note a:hover {
    text-decoration: underline;
}

/* Checkbox Grid */
.ja-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
    padding: 15px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.ja-checkbox-grid.ja-checkbox-inline {
    max-height: none;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.ja-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.ja-checkbox-item:hover {
    background: #e5e7eb;
}

.ja-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--ja-primary);
    cursor: pointer;
}

.ja-checkbox-item span {
    color: var(--ja-text);
    line-height: 1.3;
}

/* Radio Group */
.ja-radio-group {
    display: flex;
    gap: 30px;
}

.ja-radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    cursor: pointer;
}

.ja-radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--ja-primary);
    cursor: pointer;
}

/* Textarea */
.ja-textarea {
    min-height: 100px;
    resize: vertical;
}

/* File Upload Styling */
.ja-file-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ja-form-control-file {
    padding: 12px;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.ja-form-control-file:hover {
    border-color: var(--ja-primary);
    background: #f0f7ff;
}

.ja-file-hint {
    font-size: 12px;
    color: #6b7280;
}

/* Large Button */
.ja-btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* Form Checkbox (terms) */
.ja-form-checkbox .ja-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.ja-form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--ja-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.ja-checkbox-text {
    font-size: 14px;
    color: var(--ja-text);
    line-height: 1.5;
}

.ja-checkbox-text a {
    color: var(--ja-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ja-register-form-wrapper.ja-register-full {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .ja-form-logo {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .ja-form-logo img.ja-site-logo {
        max-width: 160px;
    }

    .ja-form-submit-row {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .ja-form-submit-row .ja-btn {
        width: 100%;
    }

    .ja-checkbox-grid {
        grid-template-columns: 1fr;
        max-height: 200px;
    }

    .ja-checkbox-grid.ja-checkbox-inline {
        grid-template-columns: 1fr 1fr;
    }

    .ja-radio-group {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .ja-checkbox-grid.ja-checkbox-inline {
        grid-template-columns: 1fr;
    }

    .ja-btn-large {
        padding: 14px 30px;
        width: 100%;
    }
}

.ja-register-logged-in {
    text-align: center;
    padding: 40px 20px;
}

.ja-register-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.ja-register-errors p {
    margin: 0 0 10px;
    color: #dc2626;
    font-weight: 600;
}

.ja-register-errors ul {
    margin: 0;
    padding-left: 20px;
    color: #991b1b;
}

.ja-register-errors li {
    margin-bottom: 5px;
}

.ja-register-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ja-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.ja-form-group label {
    font-weight: 500;
    color: var(--ja-text);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ja-form-group label i {
    color: var(--ja-primary);
    width: 16px;
}

.ja-required {
    color: #ef4444;
}

.ja-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--ja-border);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--ja-white);
}

.ja-form-control:focus {
    outline: none;
    border-color: var(--ja-primary);
    box-shadow: 0 0 0 3px rgba(152, 203, 78, 0.15);
}

.ja-form-control::placeholder {
    color: #9ca3af;
}

/* Form Field Error States - Red Border */
.ja-form-control.ja-field-error,
input.ja-field-error,
textarea.ja-field-error,
select.ja-field-error,
.ja-form-group.has-error .ja-form-control,
.ja-form-group.has-error input,
.ja-form-group.has-error textarea,
.ja-form-group.has-error select {
    border-color: #dc3545 !important;
    border-width: 2px !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.ja-form-control.ja-field-error:focus,
input.ja-field-error:focus,
textarea.ja-field-error:focus,
select.ja-field-error:focus,
.ja-form-group.has-error .ja-form-control:focus,
.ja-form-group.has-error input:focus,
.ja-form-group.has-error textarea:focus,
.ja-form-group.has-error select:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25) !important;
}

.ja-form-group.has-error label {
    color: #dc3545;
}

.ja-form-group.has-error .ja-error-message {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

.ja-error-message {
    display: none;
}

.ja-form-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.ja-form-row:last-child {
    margin-bottom: 0;
}

.ja-form-row .ja-form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.ja-form-half {
    flex: 1 1 calc(50% - 10px);
}

/* Remove old .ja-file-upload - now defined in registration section */

.ja-file-hint {
    font-size: 12px;
    color: var(--ja-text-light);
}

/* Current File Display (My Account) */
.ja-current-file {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.ja-current-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--ja-primary);
    margin-bottom: 10px;
}

.ja-file-status {
    margin: 0;
    color: #15803d;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ja-cv-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--ja-white);
    border: 2px solid var(--ja-primary);
    border-radius: 8px;
    color: var(--ja-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.ja-cv-link:hover {
    background: var(--ja-primary);
    color: var(--ja-white);
}

.ja-cv-link i {
    font-size: 24px;
}

.ja-no-file {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    color: #92400e;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ja-section-desc {
    color: var(--ja-text-light);
    font-size: 14px;
    margin: -15px 0 20px;
}

.ja-form-checkbox {
    margin-top: 5px;
}

.ja-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal !important;
}

.ja-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--ja-primary);
}

.ja-checkbox-text {
    font-size: 14px;
    color: var(--ja-text-light);
    line-height: 1.5;
}

.ja-checkbox-text a {
    color: var(--ja-primary);
    text-decoration: underline;
}

.ja-form-submit {
    margin-top: 10px;
}

.ja-form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ja-login-link {
    font-size: 14px;
    color: var(--ja-text-light);
}

.ja-login-link a {
    color: var(--ja-primary);
    font-weight: 600;
    text-decoration: none;
}

.ja-login-link a:hover {
    text-decoration: underline;
}

/* Form Logo (Register page) */
.ja-form-logo {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--ja-border);
}

.ja-form-logo img.ja-site-logo {
    max-width: 200px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ja-form-logo .ja-site-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ja-text);
    margin: 0;
}

.ja-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.ja-btn-primary {
    background: var(--ja-primary);
    color: var(--ja-white);
    border-color: var(--ja-primary);
}

.ja-btn-primary:hover {
    background: var(--ja-primary-dark);
    border-color: var(--ja-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(152, 203, 78, 0.3);
    color: var(--ja-white);
}

.ja-btn-secondary {
    background: transparent;
    color: var(--ja-primary);
    border-color: var(--ja-primary);
}

.ja-btn-secondary:hover {
    background: var(--ja-primary);
    color: var(--ja-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(152, 203, 78, 0.3);
}

.ja-btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.ja-btn-full {
    width: 100% !important;
    justify-content: center;
}

.ja-form-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid var(--ja-border);
    margin-top: 10px;
}

.ja-form-footer p {
    margin: 0;
    color: var(--ja-text-light);
    font-size: 14px;
}

.ja-form-footer a {
    color: var(--ja-primary);
    font-weight: 600;
}

/* Applied Jobs Styles */
#job_applications {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

#job_applications .job-item {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--ja-border);
    background: var(--ja-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

#job_applications .job-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

#job_applications .job-item h2 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 15px;
    color: var(--ja-text);
}

#job_applications .job-item dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 15px;
    margin: 0;
}

#job_applications .job-item dt {
    font-weight: 500;
    color: var(--ja-text-light);
    font-size: 13px;
}

#job_applications .job-item dd {
    margin: 0;
    text-align: right;
    font-size: 13px;
    color: var(--ja-text);
}

/* ==========================================================================
   Applied Jobs Styles
   ========================================================================== */

.ja-applied-jobs-wrapper {
    margin: 0 auto;
}

.ja-applied-jobs-header {
    margin-bottom: 25px;
}

.ja-applied-jobs-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ja-text);
    margin: 0 0 8px;
}

.ja-applied-jobs-header h2 i {
    color: var(--ja-primary);
}

.ja-applied-count {
    color: var(--ja-text-light);
    margin: 0;
}

.ja-applications-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.ja-application-card {
    background: var(--ja-white);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--ja-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.ja-application-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ja-application-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ja-border);
}

.ja-job-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ja-text);
    margin: 0;
    line-height: 1.4;
}

.ja-application-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.ja-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.ja-status-success {
    background: #d1fae5;
    color: #065f46;
}

.ja-status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.ja-application-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ja-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.ja-detail-item i {
    color: var(--ja-primary);
    width: 16px;
    flex-shrink: 0;
}

.ja-detail-label {
    color: var(--ja-text-light);
}

.ja-detail-value {
    color: var(--ja-text);
    font-weight: 500;
    margin-left: auto;
}

/* Applied job title link */
.ja-job-title a {
    color: var(--ja-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ja-job-title a:hover {
    color: var(--ja-primary);
}

/* Application card actions */
.ja-application-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--ja-border);
}

.ja-btn-small {
    padding: 8px 16px !important;
    font-size: 13px !important;
}

.ja-btn-outline {
    background: transparent !important;
    border: 1px solid var(--ja-primary) !important;
    color: var(--ja-primary) !important;
}

.ja-btn-outline:hover {
    background: var(--ja-primary) !important;
    color: var(--ja-white) !important;
}

.ja-no-applications,
.ja-applied-jobs-login .ja-login-prompt {
    text-align: center;
    padding: 60px 30px;
    background: var(--ja-bg-light);
    border-radius: 12px;
    border: 2px dashed var(--ja-border);
}

.ja-no-applications i,
.ja-login-prompt i {
    font-size: 48px;
    color: var(--ja-border);
    margin-bottom: 20px;
}

.ja-no-applications h3,
.ja-login-prompt h3 {
    margin: 0 0 10px;
    color: var(--ja-text);
}

.ja-no-applications p,
.ja-login-prompt p {
    color: var(--ja-text-light);
    margin: 0 0 20px;
}

/* Candidate Profile Styles */
.ja-candidate-details {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: var(--ja-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ja-candidate-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ja-border);
    margin-bottom: 25px;
}

.ja-candidate-avatar img {
    border-radius: 50%;
    border: 3px solid var(--ja-primary);
}

.ja-candidate-info h2 {
    margin: 0 0 5px;
    font-size: 22px;
    color: var(--ja-text);
}

.ja-candidate-email {
    margin: 0;
    color: var(--ja-text-light);
    font-size: 14px;
}

.ja-candidate-profile-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--ja-text);
    margin: 0 0 20px;
}

.ja-candidate-profile-section h3 i {
    color: var(--ja-primary);
}

.ja-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ja-profile-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ja-profile-item label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ja-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ja-profile-item span {
    font-size: 15px;
    color: var(--ja-text);
}

.ja-profile-synopsis {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--ja-border);
}

.ja-profile-synopsis label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ja-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.ja-profile-synopsis p {
    color: var(--ja-text);
    line-height: 1.6;
    margin: 0;
}

.ja-candidate-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--ja-border);
    text-align: center;
}

.ja-candidate-not-logged-in {
    text-align: center;
    padding: 40px;
    background: var(--ja-bg-light);
    border-radius: 12px;
}

/* Registration Form Responsive */
@media (max-width: 600px) {
    .ja-register-form-wrapper {
        padding: 20px;
        margin: 0 10px;
    }
    
    .ja-form-row {
        flex-direction: column;
    }
    
    .ja-applications-grid {
        grid-template-columns: 1fr;
    }
    
    .ja-application-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .ja-candidate-header {
        flex-direction: column;
        text-align: center;
    }
    
    .ja-profile-grid {
        grid-template-columns: 1fr;
    }
    
    .ja-candidate-details {
        padding: 20px;
    }
}

/* ==========================================================================
   My Account Page Styles
   ========================================================================== */

.ja-my-account-wrapper {
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 40px;
}

.ja-account-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 500;
}

.ja-account-message--success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ja-account-message--error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ja-account-header {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff0 100%);
    border: 2px solid var(--ja-primary);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(152, 203, 78, 0.15);
}

.ja-account-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--ja-primary);
    object-fit: cover;
}

.ja-account-info {
    flex: 1;
}

.ja-account-info h2 {
    margin: 0 0 8px;
    font-size: 26px;
    color: var(--ja-text);
    font-weight: 700;
}

.ja-account-email,
.ja-account-job-title {
    margin: 0 0 5px;
    color: var(--ja-text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ja-account-email i,
.ja-account-job-title i {
    color: var(--ja-primary);
    width: 16px;
}

.ja-account-actions {
    flex-shrink: 0;
}

/* Account Tabs */
.ja-account-tabs-wrapper {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

.ja-account-tabs {
    display: flex;
    gap: 10px;
    padding-bottom: 0;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    flex: 1;
    justify-content: center;
    /* Hide scrollbar for all browsers */
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
}

/* Hide scrollbar for Chrome, Safari, and newer Edge */
.ja-account-tabs::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.ja-account-tabs::-webkit-scrollbar-track {
    background: transparent !important;
}

.ja-account-tabs::-webkit-scrollbar-thumb {
    background: transparent !important;
}

/* Tab Navigation Arrows */
.ja-tabs-arrow {
    width: 40px;
    height: 100%;
    min-height: 48px;
    background: var(--ja-primary);
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--ja-white);
    flex-shrink: 0;
}

.ja-tabs-arrow:hover {
    background: var(--ja-primary-dark, #7cb342);
    border-radius: 4px;
    color: var(--ja-white);
}

.ja-tabs-arrow--left {
    margin-right: 10px;
}

.ja-tabs-arrow--right {
    margin-left: 10px;
}

.ja-tabs-arrow.hidden {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
    border-radius: 4px;
}

.ja-tabs-arrow i {
    font-size: 14px;
}


.ja-tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background-color: var(--ja-white);
    border: 2px solid var(--ja-border);
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--ja-text);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ja-tab-btn:hover,
.ja-tab-btn.active {
    color: var(--ja-primary) !important;
    background-color: var(--ja-white) !important;
    border-color: var(--ja-primary) !important;
}

.ja-tab-btn i {
    font-size: 16px;
}

/* Tab Content */
.ja-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.ja-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Account Form */
.ja-account-form {
    background: var(--ja-white);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.ja-account-form .ja-form-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--ja-border);
}

.ja-account-form .ja-form-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ja-account-form .ja-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ja-text);
    margin: 0 0 25px;
}

.ja-account-form .ja-section-title i {
    color: var(--ja-primary);
    font-size: 20px;
}

/* Radio Group */
.ja-radio-group {
    display: flex;
    gap: 25px;
}

.ja-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: var(--ja-text);
}

.ja-radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--ja-primary);
    cursor: pointer;
}

/* Danger Zone */
.ja-danger-zone {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 25px !important;
    margin-top: 30px !important;
}

.ja-danger-zone .ja-section-title {
    color: #dc2626;
}

.ja-danger-zone .ja-section-title i {
    color: #dc2626;
}

.ja-danger-zone p {
    color: #991b1b;
    margin: 0 0 20px;
    font-size: 14px;
}

.ja-btn-danger {
    background: #dc2626;
    color: var(--ja-white);
    border-color: #dc2626;
}

.ja-btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

/* Applications Section in Account */
.ja-applications-section {
    background: var(--ja-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* My Account Responsive */
@media (max-width: 768px) {
    .ja-my-account-wrapper {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    
    .ja-account-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .ja-account-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .ja-account-info h2 {
        font-size: 22px;
    }
    
    .ja-account-email,
    .ja-account-job-title {
        justify-content: center;
    }
    
    .ja-account-actions {
        width: 100%;
    }
    
    .ja-account-actions .ja-btn {
        width: 100%;
        justify-content: center;
    }
    
    .ja-account-tabs {
        gap: 5px;
    }
    
    .ja-tabs-arrow {
        width: 36px;
        min-height: 44px;
        border-radius: 4px !important;
    }
    
    .ja-tabs-arrow--left {
        margin-right: 8px;
    }
    
    .ja-tabs-arrow--right {
        margin-left: 8px;
    }
    
    .ja-tab-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .ja-account-form {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .ja-account-tabs {
        gap: 8px;
    }
    
    .ja-tabs-arrow {
        width: 32px;
        min-height: 40px;
        border-radius: 4px !important;
    }
    
    .ja-tabs-arrow--left {
        margin-right: 5px;
    }
    
    .ja-tabs-arrow--right {
        margin-left: 5px;
    }
    
    .ja-tabs-arrow i {
        font-size: 12px;
    }
    
    .ja-tab-btn {
        padding: 10px 14px;
        font-size: 12px;
        gap: 6px;
    }
    
    .ja-tab-btn i {
        font-size: 14px;
    }
    
    .ja-account-header {
        padding: 20px 15px;
    }
    
    .ja-tab-btn {
        padding: 12px;
        flex: 1;
        justify-content: center;
    }
    
    .ja-account-form {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .ja-radio-group {
        flex-direction: column;
        gap: 12px;
    }
}

/* Login Prompt for Account */
.ja-account-not-logged-in .ja-login-prompt {
    text-align: center;
    padding: 60px 30px;
    background: var(--ja-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 450px;
    margin: 0 auto;
}

.ja-account-not-logged-in .ja-login-prompt i {
    font-size: 60px;
    color: var(--ja-primary);
    margin-bottom: 20px;
}

.ja-account-not-logged-in .ja-login-prompt h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: var(--ja-text);
}

.ja-account-not-logged-in .ja-login-prompt p {
    margin: 0 0 25px;
    color: var(--ja-text-light);
}

.ja-account-not-logged-in .ja-register-link {
    margin-top: 20px;
    font-size: 14px;
    color: var(--ja-text-light);
}

.ja-account-not-logged-in .ja-register-link a {
    color: var(--ja-primary);
    font-weight: 600;
}
