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



.payment-success-message .button {
  display: inline-block;
  padding: 10px 20px;
  background: #0073aa;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  margin: 5px;
}
.payment-success-message .button:hover {
  background: #005f8a;
}

.hidden-submit-button {
  display: none !important;
}



/*modal styling*/
/* === Job Application Modal Styling === */
.jb-apply-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.jb-apply-modal-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeInUp 0.3s ease-out;
  max-height: 85vh;
  overflow-y: auto;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Close Button === */
.jb-apply-close {
  position: absolute;
  right: 16px;
  top: 8px;
  font-size: 26px;
  color: #666;
  cursor: pointer;
}
.jb-apply-close:hover {
  color: #000;
}

/* === Form inside the modal === */
.jb-apply-modal-content form {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
}

/* Remove input and textarea background color */
.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 {
  background: #fff !important;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  padding: 8px 10px;
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
  box-sizing: border-box;
}

/* Make textareas shorter */
.jb-apply-modal-content textarea {
  max-height: 70px;
  min-height: 50px;
  resize: vertical;
}

/* Upload field styling */
.jb-apply-modal-content input[type="file"] {
  border: none;
  background: none !important;
  padding: 0;
}

/* === Submit button === */
.jb-apply-modal-content input[type="submit"],
.jb-button {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block; /* Keep on the left */
  margin-top: 10px;
  font-size: 15px;
}
.jb-apply-modal-content input[type="submit"]:hover,
.jb-button:hover {
  background: #005f8d;
}

/* Optional: improve modal scroll behavior */
.jb-job-apply-description {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 5px;
}