/**
 * ET Career Plugin - Frontend Styles
 */

.inner-banner.career::before {
    background: linear-gradient(0deg, #006051 0%, rgba(28, 28, 26, 0) 100%);
    opacity: 0.5;
}
.inner-banner h1,
.inner-banner h6 {
    position: relative;
    z-index: 2;
}
.inner-banner h6 {
    text-transform: none;
}

/* Container and Layout */
.et-career-container {
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 20px;
}

/* Single Job Layout */
.single-job-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.single-job-left {
    min-width: 0; /* Prevents grid overflow */
}

.single-job-right {
    position: sticky;
    top: 20px;
}

/* RTL Support */
.et-career-container.rtl {
    direction: rtl;
    text-align: right;
}

.et-career-container.rtl .form-row {
    direction: rtl;
}

.et-career-container.rtl .form-field {
    text-align: right;
}

.et-career-container.rtl .form-field label {
    text-align: right;
}

.et-career-container.rtl .form-field input,
.et-career-container.rtl .form-field textarea,
.et-career-container.rtl .form-field select {
    text-align: right;
}

.et-career-container.rtl .form-actions {
    text-align: right;
}

.et-career-container.rtl .et-career-btn {
    margin-left: 10px;
    margin-right: 0;
}

.et-career-container.rtl .et-career-btn:first-child {
    margin-left: 0;
}

.et-career-container.rtl .et-career-btn:last-child {
    margin-right: 0;
}

.et-career-container.rtl .file-help {
    text-align: right;
}

.et-career-container.rtl .error-message {
    text-align: right;
}

/* Form Validation Error States */
.form-field.error input,
.form-field.error textarea,
.form-field.error select {
    border-color: #d63638;
    background-color: #fff5f5;
}

.form-field.error input:focus,
.form-field.error textarea:focus,
.form-field.error select:focus {
    border-color: #d63638;
    box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.1);
}

.error-message {
    color: #d63638;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

.et-career-container.rtl .success-message {
    text-align: center;
}

.et-career-container.rtl .success-message h3,
.et-career-container.rtl .success-message p {
    text-align: center;
}

/* Header Styles - REMOVED */

/* Search and Filter Styles */
.et-career-filters {
    margin-bottom: 40px;
}

.et-career-search-form .search-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 0.5fr;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
.advanced-filters-toggle {
    margin-top: 20px;
    text-align: center;
}

.advanced-filters {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.advanced-filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.advanced-filters .filter-field {
    display: flex;
    flex-direction: column;
}

.advanced-filters .filter-field label {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #495057;
}

.search-field input,
.filter-field select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #006051;
    border-radius: 20px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    color: #000;
    height: 56px;
    outline: none !important;
}
.filter-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(images/select-arrow.svg);
    background-size: 16px;
    padding-right: 30px;
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-color: #ffffff;
}
/* Button Styles */
.et-career-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    line-height: 28px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    height: 52px;
}

.et-career-btn-primary {
    background: #006051;
    color: white;
    font-weight: normal;
}

.et-career-btn-primary:hover {
    background: #000;
}

.et-career-btn-secondary {
    background: #6c757d;
    color: white;
}

.et-career-btn-secondary:hover {
    background: #5a6268;
}

/* Clear filter button inactive state */
.results-controls #clear-filters {
    border: none;
    background: no-repeat;
    color: #000;
    padding: 0;
    height: auto;
    width: auto;
    min-width: 10px;
}
#clear-filters.inactive {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Results Header */
.results-count {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.results-controls .et-career-btn {
    margin: 0;
}

.view-options {
    display: flex;
    gap: 5px;
}

.view-btn {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: #0073aa;
    border-color: #0073aa;
    color: white;
}

.view-btn:hover {
    border-color: #0073aa;
}

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

.results-sort select,
.results-per-page select {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
}

/* Active Filters */
.active-filters {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.active-filters h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #495057;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: #0073aa;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    gap: 5px;
}

.filter-tag .remove-tag {
    cursor: pointer;
    font-weight: bold;
}

.filter-tag .remove-tag:hover {
    color: #ff6b6b;
}

/* Job Cards - jobs-list definition moved to consolidated section below */

.job-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px 70px 20px;
    transition: all 0.3s ease;
    border: 1px solid #006051;
    position: relative;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-card-header {
    margin-bottom: 15px;
}

.job-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.job-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.job-title a:hover {
    color: #006051;
}

.job-meta {
    margin-bottom: 8px;
}
.job-meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #a7ffe5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    border: 1px solid #a7ffe5;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.job-meta.job-meta-location-type span {
    background: no-repeat;
    border: 1px solid #e9e9e9;
}
.job-dates {
    font-size: 12px;
    color: #6b6b6b;
    display: flex;
    gap: 15px;
}
.job-card-content {
    margin-bottom: 20px;
}

.job-excerpt {
    color: #000;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 16px;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.job-details > div {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #495057;
}

.job-details .dashicons {
    font-size: 16px;
    margin-right: 5px;
    color: #667eea;
}

.job-deadline {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #dc3545;
    font-weight: 500;
}

.job-deadline .dashicons {
    font-size: 16px;
    margin-right: 5px;
}

.job-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}
.job-actions a.et-career-btn.et-career-btn-primary {
    height: auto;
    font-weight: normal;
}

/* Single Job Page */
.single-job-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #ecedf1;
    padding-bottom: 30px;
}

.job-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #6c757d;
}

.job-breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.job-breadcrumb .separator {
    margin: 0 10px;
}
.job-category-above-title {
    font-weight: 500;
}
.single-job-header .job-title {
    font-size: 40px;
    margin: 10px 0 20px 0;
    color: #006051;
    font-weight: 600;
}
.single-job-header .meta-item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: #ecedf1;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 10px;
    border: 1px solid #ecedf1;
}

.single-job-header .job-meta .meta-item-text span {
    background: no-repeat;
    border: none;
    font-size: 12px;
    padding: 0;
    color: #6b6b6b;
}

.single-job-header .meta-item span {
    font-size: 14px;
    color: #000;
    background: none;
    border: none;
    padding: 0;
    padding-left: 8px;
}

.single-job-header .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}
.job-deadline {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #856404;
}

.single-job-content {
    margin-bottom: 30px;
}
.single-job-content h2,
.single-job-content h3,
.single-job-content h4 {
    color: #212529;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}
/* .single-job-content h2.wp-block-heading {
    font-size: 2rem;
} */
.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.job-requirements li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
    color: #495057;
}

.single-job-footer {
    text-align: center;
    padding: 30px;
}

.single-job-footer .job-actions {
    justify-content: center;
}

/* Application Form */
.application-form-section {
    padding: 30px;
    background: #fdfdfd;
    border-radius: 12px;
    border: 1px solid #ecedf1;
}

.application-form-section h2 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ecedf1;
    color: #212529;
    line-height: 1.8em;
}
.application-form-section h2 span {
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.et-career-form {
    max-width: 800px;
    margin: 0 auto;
}

.application-form-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
}

.application-form-header h1 {
    font-size: 2.2rem;
    margin: 0 0 15px 0;
}

.job-summary {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.application-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-section {
    background: none;
    border-bottom: 1px solid #ecedf1;
    margin-bottom: 30px;
}
.form-section:nth-last-of-type(2) {
    border: none;
}
.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.form-section h3 {
    margin-bottom: 30px;
    color: #212529;
    font-size: 20px;
    padding-bottom: 0;
    font-weight: 700;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.form-field {
    flex: 1;
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-field .required {
    color: #d63638;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 6px 15px;
    border: 1px solid #006051;
    border-radius: 12px;
    font-size: 16px;
    box-sizing: border-box;
    height: 44px;
    outline: none;
    color: #000;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
}
.form-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(images/select-arrow.svg);
    background-size: 16px;
    padding-right: 30px;
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-color: #fdfdfd;
}

.form-field input[type="file"] {
    -webkit-appearance: none;
    appearance: none;
    color: #000;
}
  
.form-field input[type="radio"],
.form-field input[type="checkbox"] {
    width: auto;
    height: auto;
    appearance: auto;
    -moz-appearance: initial;
    -webkit-appearance: auto;
}
.form-field input[readonly] {
    background-color: #f8f9fa;
    color: #666;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.file-help {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}

.form-actions {
    text-align: center;
    padding-top: inherit;
    margin-bottom: 20px;
}
/* Loading and Success States */
.et-career-loading,
.et-career-success {
    text-align: center;
    padding: 40px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.et-career-loading {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e1e5e9;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.et-career-success {
    background: #d1edff;
    border: 1px solid #007cba;
}

.success-message {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.success-message h3 {
    color: #007cba;
    margin-bottom: 15px;
}

.application-loading {
    text-align: center;
    padding: 60px 30px;
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    margin-top: 40px;
}

.application-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e1e5e9;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.application-error-message {
    text-align: center;
    padding: 60px 30px;
    background: #f8d7da;
    border: 2px solid #d63638;
    border-radius: 8px;
    margin-top: 40px;
}

.application-error-message h2 {
    color: #d63638;
    font-size: 2em;
    margin-bottom: 20px;
}

.application-error-message p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.application-error-message .et-career-btn {
    font-size: 1.1em;
    padding: 15px 30px;
}

.application-success-message {
    text-align: center;
}

.application-success-message h2 {
    color: #006051;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    background-image: url(images/tick.svg);
    padding-bottom: 150px;
    background-repeat: no-repeat;
    background-position: center bottom 20px;
    text-align: center;
    background-size: 110px;
    border-bottom: 1px solid #ecedf1;
}

.application-success-message p {
    margin-bottom: 30px;
}

/* No Jobs Found */
.no-jobs-found {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.no-jobs-found h3 {
    color: #6c757d;
    margin-bottom: 15px;
}

/* Pagination */
.et-career-pagination {
    margin-top: 40px;
    text-align: center;
}

/* Reset list styles for pagination */
.et-career-pagination ul.page-numbers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.et-career-pagination ul.page-numbers li {
    margin: 0;
    padding: 0;
}

.et-career-pagination .page-numbers a,
.et-career-pagination .page-numbers span {
    color: #000;
    text-decoration: none;
    font-size: 21px;
    line-height: 1;
    font-weight: 500;
}

.et-career-pagination .page-numbers a:hover {
    color: #006051;
}

.et-career-pagination .page-numbers span.current {
    font-size: 16px;
}

.et-career-general-banner {
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    margin: 20px 0 100px;
    background-image: url(images/banner-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 20px;
}

.et-career-general-banner.rtl {
    direction: rtl;
    text-align: center;
}

.et-career-general-banner.rtl .banner-title,
.et-career-general-banner.rtl .banner-description {
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-title {
    font-size: 40px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.banner-description {
    font-size: 24px;
    margin: 0 0 30px 0;
    line-height: 1.5;
    font-weight: 600;
}

.banner-apply-btn {
    font-size: 1.1em;
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #fff;
    font-weight: normal;
    transition: all 0.3s ease;
    color: #006051;
}

.banner-apply-btn:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Modal Styles */
.et-career-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}
.modal-content .et-career-container {
    margin: 0;
    padding: 0;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5em;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e1e5e9;
    color: #333;
}

.modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

/* Enhanced Job Card Styles */
.job-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-posted-date {
    font-size: 12px;
    color: #6c757d;
    text-align: right;
}

.posted-label {
    display: block;
    font-weight: 600;
}

.posted-date {
    display: block;
}

.job-urgency {
    display: flex;
    gap: 5px;
}

.urgency-new {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.urgency-recent {
    background: #ffc107;
    color: #212529;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.urgency-normal {
    background: #6c757d;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.job-experience,
.job-education {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #495057;
}

.job-experience .dashicons,
.job-education .dashicons {
    font-size: 16px;
    margin-right: 5px;
    color: #667eea;
}

/* List View Styles */
.jobs-list.list-view {
    display: block;
}

.jobs-list.list-view .job-card {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
}

.jobs-list.list-view .job-card-header {
    flex: 1;
    margin-bottom: 0;
}

.jobs-list.list-view .job-card-content {
    flex: 2;
    margin-bottom: 0;
}

.jobs-list.list-view .job-card-footer {
    flex: 0 0 auto;
    margin-left: 20px;
}

.jobs-list.list-view .job-actions {
    flex-direction: column;
    gap: 10px;
}

/* CAPTCHA Styling */
.et-career-captcha {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
}

.et-career-math-captcha label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.et-career-math-captcha input[type="number"] {
    width: 100px;
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
}

.et-career-math-captcha input[type="number"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.captcha-help {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.g-recaptcha {
    margin: 10px 0;
}

/* Honeypot fields - ensure they're hidden */
input[name="website"],
input[name="url"],
input[name="homepage"] {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Button styles updated - removing duplicates and keeping consistent with existing definitions */

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

/* Results count consolidated with existing definition above */

.results-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.jobs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Job card styles consolidated with existing definitions above */

.job-card-header {
    margin-bottom: 15px;
}

/* Job title styles consolidated with existing definitions above */

.job-posted-date {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.job-details > div {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
    color: #555;
}

.job-details .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.job-card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
}
.job-description p {
    font-size: 1rem;
}
/* Responsive Design */
@media (max-width: 991px) {
    .single-job-layout {
        display: flex;
        flex-wrap: wrap;
    }
    .single-job-right {
        position: static;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .et-career-container {
        padding-top: 50px;
        padding-bottom: 20px;
    }
    .single-job-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .et-career-search-form .search-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .job-actions {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }

    .single-job-header .job-title {
        font-size: 2rem;
    }

    /* Additional responsive rules consolidated from duplicate media query */
    .results-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .advanced-filters-row {
        grid-template-columns: 1fr;
    }

    .jobs-list.list-view .job-card {
        flex-direction: column;
        align-items: stretch;
    }

    .jobs-list.list-view .job-card-footer {
        margin-left: 0;
        margin-top: 15px;
    }

    .jobs-list.list-view .job-actions {
        flex-direction: row;
        justify-content: center;
    }

    .application-success-message {
        padding: 40px 20px;
    }

    .application-success-message h2 {
        font-size: 1.6em;
    }

    .application-success-message p {
        font-size: 1.1em;
    }

    .search-row {
        flex-direction: column;
        align-items: stretch;
    }

    .search-field,
    .filter-field {
        flex: none;
        min-width: auto;
    }

    .results-header {
        align-items: stretch;
        text-align: center;
        flex-direction: column-reverse;
    }

    .jobs-list {
        grid-template-columns: 1fr;
    }
    .job-details {
        justify-content: center;
    }
    .et-career-general-banner {
        padding: 30px 15px;
    }

    .banner-title {
        font-size: 2em;
    }

    .banner-description {
        font-size: 1.1em;
    }

    .modal-content {
        margin: 10% 5%;
        max-width: 90%;
    }
    .modal-content .et-career-container {
        max-width: 100%;
    }
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    .job-card {
        padding: 20px 20px 20px 20px;
    }
    .job-card-footer {
        position: static;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .single-job-header .job-title {
        font-size: 1.8rem;
    }

    .job-card {
        padding: 20px;
    }
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
}

html[lang="ar"] * {
    font-family: Bahij_TheSansArabic-Plain;
}
body.rtl .single-job-header .meta-item span {
    padding-left: 0;
    padding-right: 8px;
}
body.rtl .form-field input,
body.rtl .form-field textarea,
body.rtl .form-field select {
    text-align: right;
}
