/*
 Theme Name:   job-stack Child
 Theme URI:    https://dk.kesug.com/
 Description:  Child theme for job-stack
 Author:       Kurt Hadji
 Author URI:   https://dk.kesug.com/
 Template:     job-stack
 Version:      1.0.0
*/


/*modal styling*/
/* === Job Application Modal Styling === */
/* ================================
   MODAL BACKDROP
================================ */
.jb-apply-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}

/* ================================
   MODAL BOX
================================ */
.jb-apply-modal-content {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 28px 32px;
  width: 92%;
  max-width: 420px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
  position: relative;

  animation: modalSlide 0.35s ease-out;

  /* Scroll fix */
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Smooth scrollbars */
.jb-apply-modal-content::-webkit-scrollbar {
  width: 7px;
}
.jb-apply-modal-content::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 5px;
}

/* Slide animation */
@keyframes modalSlide {
  from { opacity: 0; transform: translateY(25px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ================================
   CLOSE BUTTON
================================ */
.jb-apply-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  color: #666;
  transition: 0.2s ease;
}
.jb-apply-close:hover {
  color: #000;
  transform: scale(1.2);
}

/* ================================
   CONTACT FORM 7 – CLEAN MODERN FIELDS
================================ */
.jb-apply-modal-content form {
  margin-top: 15px;
}

.jb-apply-modal-content input[type="text"],
.jb-apply-modal-content input[type="email"],
.jb-apply-modal-content input[type="file"],
.jb-apply-modal-content textarea {
  width: 100%;
  border: 1px solid #d5d5d5;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 12px;
  transition: border 0.2s, box-shadow 0.2s;
}

.jb-apply-modal-content input:focus,
.jb-apply-modal-content textarea:focus {
  border-color: #0073aa;
  box-shadow: 0 0 4px rgba(0, 115, 170, 0.3);
}

.jb-apply-modal-content textarea {
  resize: vertical;
  min-height: 60px;
  max-height: 120px;
}

/* ================================
   SUBMIT BUTTON
================================ */
.jb-apply-modal-content input[type="submit"] {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  width: auto;
  transition: 0.2s ease;
}

.jb-apply-modal-content input[type="submit"]:hover {
  background: #005f8d;
}

/* Space below last element */
.wpcf7-form,
.wpcf7 {
  margin-bottom: 10px !important;
}

.banner-link{
	background-color:#003882;
	padding:4px 8px;
	box-shadow:none;
}