/* Job Offers Block Styles */
.job-offers-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2e328c;
  margin-bottom: 15px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary, #666666);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Table Styles */
.job-offers-table-wrapper {
  background: #ffffff;
  border-radius: 12px;
  -webkit-box-shadow: 0 4px 20px rgba(46, 50, 140, 0.1);
          box-shadow: 0 4px 20px rgba(46, 50, 140, 0.1);
  overflow: hidden;
}

.job-offers-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.job-offers-table thead {
  background: #2e328c;
  color: #ffffff;
}

.job-offers-table th {
  padding: 20px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.job-offers-table td {
  padding: 20px 15px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: top;
}

.job-offers-table tbody tr:hover {
  background: #f8f9fa;
}

.job-offers-table tbody tr:last-child td {
  border-bottom: none;
}

/* Job Title Cell */
.job-title-cell strong {
  display: block;
  color: #333333;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.company-name {
  color: #666666;
  font-size: 0.9rem;
  font-style: italic;
}

/* Details Button */
.job-details-btn {
  background: #2e328c;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
}

.job-details-btn:hover,
.job-details-btn:focus,
.job-details-btn:active {
  background: #232670;
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
  outline: none;
}

/* Mobile touch improvements */
@media (max-width: 768px) {
  .job-details-btn {
    padding: 12px 24px;
    font-size: 1rem;
    min-height: 44px;
    min-width: 44px;
  }
}
/* Popup Styles */
.job-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.job-popup.active {
  opacity: 1;
  visibility: visible;
}

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

.job-popup-content {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  max-width: 800px;
  max-height: 90vh;
  width: 90%;
  overflow-y: auto;
  -webkit-transform: scale(0.9);
      -ms-transform: scale(0.9);
          transform: scale(0.9);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
          box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.job-popup.active .job-popup-content {
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

/* Popup Header */
.job-popup-header {
  position: sticky;
  top: 0;
  background: #2e328c;
  color: #ffffff;
  padding: 25px 30px;
  border-radius: 12px 12px 0 0;
  -webkit-transition: -webkit-box-shadow 0.3s ease;
  transition: -webkit-box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
  z-index: 10;
}

.job-popup-header.scrolled {
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.job-popup-header h3 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  font-weight: 700;
  padding-right: 50px;
}

.job-popup-header .company {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 5px;
}

.job-popup-header .location {
  font-size: 1rem;
  opacity: 0.8;
}

.job-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.job-popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}

/* Popup Body */
.job-popup-body {
  padding: 30px;
}

.job-section {
  margin-bottom: 30px;
}

.job-section:last-child {
  margin-bottom: 0;
}

.job-section h4 {
  color: #2e328c;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2e328c;
}

.job-content {
  line-height: 1.7;
  color: #333333;
}

.job-content ul, .job-content ol {
  padding-left: 20px;
}

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

/* Job Details Grid */
.job-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.detail-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #2e328c;
}

.detail-item strong {
  color: #2e328c;
  display: block;
  margin-bottom: 5px;
}

/* Contact Section */
.contact-section {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.contact-section a {
  color: #2e328c;
  text-decoration: none;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* Popup Footer */
.job-popup-footer {
  padding: 25px 30px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.apply-btn {
  background: #2e328c;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  background: #232670;
  color: #ffffff;
  text-decoration: none;
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}

.secondary-btn {
  background: #6c757d;
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

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

/* No Jobs Message */
.no-jobs-message {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: 12px;
  -webkit-box-shadow: 0 4px 20px rgba(46, 50, 140, 0.1);
          box-shadow: 0 4px 20px rgba(46, 50, 140, 0.1);
}

.no-jobs-message p {
  font-size: 1.2rem;
  color: #666666;
  margin: 0;
}

/* Body class gdy popup jest otwarty */
body.job-popup-open {
  overflow: hidden;
}

/* Dynamic Popups Container */
#dynamic-popups-container {
  position: relative;
  z-index: 99999;
}

/* Hidden job data scripts */
.job-offers-data {
  display: none !important;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .job-offers-table th,
  .job-offers-table td {
    padding: 15px 10px;
  }
  .job-popup-content {
    width: 95%;
  }
  .job-details-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .job-offers-table-wrapper {
    overflow-x: auto;
  }
  .job-popup {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    padding: 10px;
  }
  .job-popup-content {
    width: 100%;
    max-height: calc(100vh - 20px);
    margin: 0;
    border-radius: 12px;
  }
  .job-popup-header {
    padding: 20px;
  }
  .job-popup-header h3 {
    font-size: 1.5rem;
    padding-right: 40px;
  }
  .job-popup-body {
    padding: 20px;
  }
  .job-popup-footer {
    padding: 20px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
  .apply-btn,
  .secondary-btn {
    text-align: center;
    min-height: 44px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  /* Mobile Cards */
  .job-details-btn {
    padding: 12px 24px;
    font-size: 1rem;
    min-height: 44px;
    min-width: 44px;
  }
}
@media (max-width: 640px) {
  .job-offers-table.mobile-cards thead {
    display: none;
  }
  .job-offers-table.mobile-cards tbody tr {
    display: block;
    margin-bottom: 20px;
  }
  .job-offers-table.mobile-cards tbody td {
    display: block;
    padding: 0;
    border: none;
  }
  .job-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  .job-card-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
  }
  .job-card-details {
    margin-bottom: 15px;
  }
  .job-card-details .detail {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
  }
  .job-card-details .detail span {
    font-weight: 600;
    color: #2e328c;
  }
  .job-card-actions {
    text-align: center;
  }
}
/* Animation */
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
.job-offers-table tbody tr {
  -webkit-animation: fadeInUp 0.6s ease forwards;
          animation: fadeInUp 0.6s ease forwards;
}/*# sourceMappingURL=block-job-offers.css.map */