.gholia-jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gholia-job-card {
    background: #fff;
    border-radius: 14px;
    /* border: 1px solid #e7e8ec; */
    box-shadow: 0 2px 10px rgb(10 30 80 / 21%);
    padding: 24px;
}



.gholia-job-excerpt {
  margin: 0 0 16px;
  color: #3b4454;
}

.gholia-job-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.gholia-job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #2f3b52;
}

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

.gholia-apply-btn,
.gholia-submit-btn {
  border: 1px solid #ffffff;
  border-radius: 10px;
 background: linear-gradient(90deg, #00239C 0.02%, #00239C 50%, #2248D1 99.98%);
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  padding: 14px 25px;
  cursor: pointer;
}

.gholia-apply-btn:hover,
.gholia-submit-btn:hover {
  opacity: 0.92;
}

.gholia-job-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.gholia-job-modal.is-open {
  display: block;
}

.gholia-job-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.gholia-job-modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 800px;
    max-height: 92vh;
    overflow: auto;
    margin: 4vh auto;
    padding: 30px;
}
.gholia-job-modal__dialog::-webkit-scrollbar{
  display: none;
}
.gholia-job-modal__close {
  border: 0;
  background: transparent;
  position: absolute;
  right: 14px;
  top: 8px;
  font-size: 30px;
  line-height: 1;
  color: #7a7f8f;
  cursor: pointer;
}

.gholia-job-modal h3 {
  margin: 0 0 16px;
}

.gholia-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.gholia-form-grid label,
.gholia-full {
  display: block;
  font-size: 14px;
  color: #2c3445;
}

.gholia-full {
  margin-top: 14px;
}

#gholiaJobApplicationForm input[type="text"],
#gholiaJobApplicationForm input[type="email"],
#gholiaJobApplicationForm textarea {
  width: 100%;
  border: 1px solid #e2e4ec;
  background: #f8f9fc;
  border-radius: 8px;
  padding: 11px 12px;
  margin-top: 6px;
  height: auto;
}

/* Resume upload dropzone */
.gholia-resume-field {
  margin-top: 14px;
}

.gholia-resume-label {
  display: block;
  font-size: 14px;
  color: #2c3445;
  margin-bottom: 6px;
}

.gholia-resume-dropzone {
  position: relative;
  border: 2px dashed #5b8def;
  border-radius: 12px;
  background: #eef4ff;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  margin-top: 6px;
}

.gholia-resume-dropzone:hover,
.gholia-resume-dropzone:focus {
  outline: none;
  background: #e4edff;
  border-color: #3d7ae8;
}

.gholia-resume-dropzone.is-dragover {
  background: #dbe8ff;
  border-color: #2248d1;
  box-shadow: 0 0 0 3px rgba(34, 72, 209, 0.2);
}

.gholia-resume-dropzone.is-invalid {
  border-color: #d63638;
  background: #fff7f7;
}

.gholia-resume-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.gholia-resume-dropzone__inner {
  pointer-events: none;
}

.gholia-resume-dropzone__icon {
  display: flex;
  justify-content: center;
  color: #2248d1;
  margin-bottom: 12px;
}

.gholia-resume-dropzone__cta {
  margin: 0 0 8px;
  font-size: 15px;
  color: #2c3445;
  font-weight: 500;
}

.gholia-resume-dropzone__hint {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

.gholia-resume-footnote {
  margin: 10px 0 0;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.4;
}

.gholia-resume-previews {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gholia-resume-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8f9fc;
  border: 1px solid #e2e4ec;
  border-radius: 8px;
  font-size: 14px;
}

.gholia-resume-preview__name {
  flex: 1;
  min-width: 0;
  color: #2c3445;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gholia-resume-preview__size {
  flex-shrink: 0;
  color: #6b7280;
  font-size: 13px;
}

.gholia-resume-preview__remove {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #c12f2f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.gholia-resume-preview__remove:hover {
  background: rgba(193, 47, 47, 0.12);
}

#gholiaJobApplicationForm input.is-invalid,
#gholiaJobApplicationForm textarea.is-invalid {
  border-color: #d63638;
  background: #fff7f7;
}

#gholiaJobApplicationForm textarea {
  resize: vertical;
}

.gholia-field-error {
  display: none;
  margin-top: 4px;
  color: #d63638;
  font-size: 12px;
  line-height: 1.4;
}

.gholia-field-error.is-visible {
  display: block;
}

.gholia-submit-btn {
  width: 100%;
  margin-top: 14px;
}

.gholia-form-response {
  margin: 10px 0 0;
  font-size: 14px;
}

.gholia-form-response.is-success {
  color: #0b8b3f;
}

.gholia-form-response.is-error {
  color: #c12f2f;
}

.gholia-job-modal__close {
    padding: 0;
    box-shadow: none;
}


#gholiaJobModalTitle{
font-family: 'DM Sans';
font-weight: 700;
font-size: 46px;
line-height: 52px;
display: flex;
align-items: center;
justify-content: center;
color: #000000;
}

@media (max-width: 1024px) {
  .gholia-jobs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .gholia-jobs-grid,
  .gholia-form-grid {
    grid-template-columns: 1fr;
  }

  .gholia-job-modal__dialog {
    padding: 18px;
  }
}
