body.post-type-archive-job {
  background: #f5f5f5 !important;
  position: relative;
}

body.post-type-archive-job::before {
  content: "";
  display: block;
  height: 60px;
  background-color: #ffffff;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}


/* === רקע כללי === */
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  background-attachment: fixed;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    border-radius: 30px;
}

/* ===== רכיבי תוכן בסיסיים ===== */
.jobs-container,
.job-card,
.job-filters-form,
.job-filter,
.job-summary,
.job-details-inner,
.job-buttons-wrapper {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: transparent;
}

/* ===== מכולת משרות ===== */
.jobs-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 100%;
  margin: 0px auto;
  padding: 0 5px;
 
}

.job-filters-container {
      /* פינות מעוגלות */
  padding: 30px;             /* ריווח פנימי */
  margin: 0px auto;         /* ריווח חיצוני + מרכז */
    background: #FFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* הצללה קלה */
  max-width: 100%;         /* רוחב מקסימלי */
  width: 100%;
  box-sizing: border-box;
}


/* ===== כותרת ראשית ===== */
.main-title {
  text-align: right;
  font-size: 14px;
  margin-bottom: 0px;
  font-weight: 500;
  color: #000000;
}

/* ===== קרוסלת תגיות ===== */
.tags-carousel {
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 0;
  scroll-behavior: smooth;
}

.job-tags-inner {
  display: inline-flex;
  gap: 12px;
}

.futuristic-checkbox input[type="checkbox"] {
  display: none;
}

.futuristic-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(189, 189, 189, 1);
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.futuristic-checkbox.selected {
  background: rgba(255, 255, 255, 0.2);
  color: black;
  border: 1px solid rgba(0, 200, 255, 1) !important;
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.1);
}

/* ===== טופס סינון ===== */
.filter-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.filter-row > * {
  flex: 0 0 45%;
  max-width: 45%;
}


.job-filter.field-category select {
  border-radius: 0 20px 20px 0;
  background: rgba(255, 255, 255, 1);
  margin-top: 20px;
  font-weight: 600;
  color: black;
  box-shadow: 0 6px 15px rgba(0, 0,0, 0.1);
}

.job-filter.field-location input {
  border-radius: 20px 0 0 20px;
  background: #0097A7;
  color: white;
  margin-top: 20px;
  font-weight: 700;
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.5);
  border: none;
}

.job-filter.field-location input::placeholder {
  color: white;
}

/* ===== כפתור שליחה ===== */
button[type="submit"] {
  background: #0097A7;
  border: none;
  padding: 8px 40px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
button[type="submit"]:hover{
      background: #005F6A;
  border: none;
  padding: 8px 40px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

/* ===== עטיפת כפתור ===== */
.filter-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.reset-filters-button {
  display: inline-block;
  margin-right: 10px;
  padding: 0px 30px;
  border-radius: 5px;
  color: #000000;
  text-decoration: none;
  font-weight: 400;
  border: 1px solid #000000;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* ===== כרטיס משרה ===== */
.job-listings-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

.job-card {
  flex: 0 0 48%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 10px 20px;
  color: #1e293b;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 8px;
}

.job-card:hover {
  transform: translateY(-6px);
}

.job-meta-line {
  font-size: 13px;
  color: #5D5D5D;
  font-weight: 500;
  margin-top: 0px;
}

h2 .job-title-label {
  display: inline-block;
  background: #D4F1F4;
  color: black;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 2px 10px;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  line-height: 1.2;
}

.job-card h2 {
  margin: 0px 0 5px 0;
}

/* ===== תגיות משרה ===== */
.job-tags a {
  text-decoration: none;
}

.job-tags {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-tag {
  background: #D4F1F4;
  color: #0288d1;
  padding: 0px 12px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
}

/* ===== אקורדיון ===== */
.job-summary {
  margin-top: 15px;
  padding: 0px;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
}

.job-details-inner {
  margin-top: 0px;
  border-left: 6px solid #0288d1;
  padding: 0px 24px;
  border-radius: 0px;
  animation: fadeIn 0.9s ease forwards;
  font-size: 0.95em;
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== כפתורי פעולה ===== */
.job-buttons-wrapper {
  display: flex;
  flex-wrap: wrap; /* מאפשר שורות נוספות אם צריך */
  align-items: center;
  gap: 10px;       /* רווח אחיד בין האלמנטים */
}

.share-job-btn {
  border: none;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}
.contact-job-btn {
  border: none;
  padding: 1px 18px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
   margin-top: 10px;
}

.share-job-btn {
  background: #005F6A;
  
}

.contact-job-btn {
  background: #0097A7;
}

.share-job-btn:hover,
.contact-job-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}


.cv-upload-form-inline {
  display: flex;
  flex: 0 0 auto; /* לא יתפוס יותר מדי מקום */
  gap: 5px;
  align-items: center;
  
}

.cv-upload-form-inline input[type="file"] {
  flex: 1 1 auto; /* תופס רק את השטח הפנוי */
  min-width: 100px; /* מונע מלהיות קטן מדי */
}

.cv-upload-form-inline button {
  flex: 0 0 auto; /* כפתור נשאר בגודל קבוע */
  padding: 6px 18px;
}

/* מובייל */
@media (max-width: 480px) {
  .job-buttons-wrapper {
    flex-wrap: wrap;
    gap: 6px;
    text-align: center;
  }
  .cv-upload-form-inline {
    width: 100%;
  }
  .cv-upload-form-inline input[type="file"] {
    width: 70%;
  }
  .cv-upload-form-inline button {
    width: 25%;
     padding: 6px 18px;
  }
}

/* ===== אימוג'ים ===== */
.emoji-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-top: 20px;
}

.emoji-box {
  text-align: center;
  width: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.emoji-box:hover {
  transform: scale(1.08);
}

.emoji-boxes .emoji {
  width: 40px;
  height: 40px;
  border-radius: 40%;
  margin: 0 auto 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.emoji-label {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
}

/* ===== פגינציה ===== */
.pagination-container {
  display: flex;
  justify-content: center;
  margin: 40px auto;
  flex-wrap: wrap;
  gap: 6px;
}

.pagination-container ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px;
}

.pagination-container li {
  display: inline-block;
}

.pagination-container li a,
.pagination-container li span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
  color: #0f172a;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.pagination-container li a:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

.pagination-container li span.current {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  color: #0097A7;
}

/* חיצים לדפדוף */
.pagination-container li a.prev,
.pagination-container li a.next {
  font-weight: 600;
  font-size: 16px;
}


/* ===== מובייל ===== */
@media (max-width: 768px) {
  .job-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 600px) {
  .job-filter select {
    width: 100% !important;
    font-size: 16px !important;
    padding: 12px 14px !important;
    border-radius: 0px 20px 20px 0px !important;
    background: #ffffff !important;
    color: black !important;
    border: none !important;
   box-shadow: 0 6px 15px rgba(0, 0,0, 0.2) important;
    box-sizing: border-box;
  }
  

  .field-location input {
    width: 100% !important;
    font-size: 16px !important;
    padding: 12px 14px !important;
    border-radius: 20px 0px 0px 20px !important;
    background: #0097A7;
    color: white !important;
    border: none !important;
    box-shadow: 0 6px 15px rgba(0, 0,0, 0.1) important;
    box-sizing: border-box;
  }

  .field-location input::placeholder {
    color: white !important;
  }

  .filter-row > .job-filter {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .emoji-box {
    width: 60px;
  }

  .emoji-boxes .emoji {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .emoji-label {
    font-size: 14px;
    color: #000000;
  }

  .job-details-inner {
    padding: 0px 30px;
    font-size: 0.95em;
  }
}





.jobs-section-title {
  font-size: 1.4rem;
  font-weight: 900;
  margin: 40px 150px 20px;
  padding: 6px 10px;
  background: linear-gradient(80deg, #005F6A, #0097A7);
  color: #FFF;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  transition: background 0.3s ease;
}

/* עיצוב למובייל */
@media (max-width: 768px) {
  .jobs-section-title {
    margin: 20px 20px 15px; /* פחות מרווחים למובייל */
    font-size: 1.2rem; /* טקסט קצת קטן יותר */
     background: linear-gradient(80deg, #005F6A, #0097A7); /* צבעים בהירים יותר למובייל */
    color: #fff; /* צבע טקסט כהה יותר לקריאות */
    box-shadow: none; /* אולי בלי צל במובייל */
  }
}


.jobs-section-title a {
  color: inherit;
  text-decoration: none;
}

.jobs-section-title a:hover {
  text-decoration: underline;
  color: #ffffff;
}



.main-title-gradient {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(90deg, #0097A7, #0097A7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px; /* היה 10px - הפחתנו */
}

.main-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #6C6C6C;
  margin-top: 0;      /* ודא שאין רווח נוסף */
  margin-bottom: 10px;
}


/* ===== תעיצוב  ===== */

.page-header {
  text-align: center;

}
/* CSS בסיסי לפופאפ */
.cv-terms-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.cv-terms-modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
}

.modal-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: space-around;
}

.modal-buttons button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background-color: #005F6A;
}

.cv-upload-form-inline button {
  background-color: #0097A7;
  color: #fff;
  border-radius: 5px;
  padding: 5px 18px;
  border: none;
  cursor: pointer;
}


/* 404 */

.custom-404-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 20px;
  text-align: center;
  min-height: 80vh;
}

.custom-404-content {
  max-width: 800px;
  background: #ffffffcc;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.custom-404-logo img {
  max-width: 160px;
  margin-bottom: 20px;
}

.custom-404-title {
  font-size: 2.2em;
  color: #333;
  margin-bottom: 10px;
}

.custom-404-subtitle {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #555;
}

/* emoji boxes ייחודיים ל-404 */
.custom404-emoji-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.custom404-emoji-box {
  text-align: center;
  width: 120px;
}

.custom404-emoji-box a {
  text-decoration: none;
  color: inherit;
}

.custom404-emoji {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.custom404-emoji img {
  width: 40px;
  height: 40px;
}

.custom404-emoji:hover {
  background: #D4F1F4;
}



.custom404-emoji-label {
  margin-top: 8px;
  font-size: 1em;
  font-weight: 500;
}

.back-home-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #0097A7;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  transition: 0.3s;
}

.back-home-btn:hover {
  background: #D4F1F4;
}



