/* Modal Styles */
#jobModal .modal-dialog {
  max-width: 500px;
}

.jobModal .modal-content {
  border-radius: 10px;
  overflow: hidden;
  border: none;
}

.modal-header {
  background: white;
  border-bottom: none;
  padding: 20px;
  position: relative;
  display: flex;
  justify-content: center;
}

.modal-logo {
  height: 90px;
  max-width: 200px;
}

.modal-body {
  padding: 25px;
}

.modal-title {
  color: #4D148C;
  font-size: 1.7rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.modal-subtitle {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #666;
  text-align: center;
}

.job-highlight {
  background-color: #FF6600;
  color: white;
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
  font-size: 1rem;
}

.job-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.job-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  border: 2px solid #4D148C;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #333;
  background-color: white;
  font-weight: 600;
}

.job-option:hover {
  background-color: #4D148C;
  color: white;
  transform: translateY(-2px);
}

.modal-footer {
  text-align: center;
  padding: 15px;
  color: #666;
  font-size: 0.8rem;
  border-top: 1px solid #eee;
}

/* Animation */
.modal.fade .modal-dialog {
  transform: scale(0.9);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
}

/* Responsive */
@media (max-width: 575.98px) {
  #jobModal .modal-dialog {
    margin: 0.5rem;
  }
  
  .modal-logo {
    height: 90px;
  }
  
  .modal-title {
    font-size: 1.3rem;
  }
  
  .job-highlight {
    font-size: 0.9rem;
  }
}

/* modal.css - Updated Version */

/* Base styles (mobile-first) remain unchanged */
#jobModal .modal-dialog {
  max-width: 380px;
  margin: 0.75rem auto;
}

/* Desktop-specific scaling (applies only to screens wider than 992px) */
@media (min-width: 992px) {
  #jobModal .modal-dialog {
    max-width: 320px; /* Even narrower on desktop */
    margin: 0.5rem auto; /* Tighter margins */
  }
  
  .modal-header {
    padding: 8px 12px;
    min-height: 40px;
  }
  
  .modal-logo {
    height: 70px;
    max-width: 140px;
  }
  
  .modal-body {
    padding: 12px;
  }
  
  .modal-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }
  
  .modal-subtitle {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
  
  .job-highlight {
    padding: 5px;
    margin-bottom: 5px;
    font-size: 0.90rem;
  }
  
  .job-options {
    gap: 6px;
    margin-bottom: 10px;
  }
  
  .job-option {
    padding: 6px 8px;
    font-size: 0.85rem;
  }
  
  .modal-footer {
    padding: 6px 10px;
    font-size: 0.7rem;
  }
}

/* Keep all your existing mobile styles below */
@media (max-width: 575.98px) {
  /* ... (your existing mobile styles remain unchanged) ... */
}