body {
  font-family: 'Roboto', sans-serif;
  background: #f9fafb;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 440px;
  margin: auto;
}

h2 {
  text-align: center;
  margin: 15px 0;
  font-weight: 600;
  color: #444;
}

.progress-bar {
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
  height: 6px;
  margin: 20px 0;
}

.progress {
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  height: 100%;
  width: 25%; /* Update dynamically with JS */
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.card h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #0066cc;
  font-weight: 600;
}

label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 500;
  color: #444;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
}

textarea {
  resize: none;
}

button.submit-btn {
  width: 100%;
  background: #0066cc;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button.submit-btn:hover {
  background: #004c99;
}

i {
  margin-right: 6px;
  color: #555;
}

/* ===================== */
/* Modal Styles */
/* ===================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  overflow-y: auto;
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 25px;
  border-radius: 16px;
  width: 95%;
  max-width: 600px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.35);
  font-family: 'Roboto', sans-serif;
  animation: fadeInUp 0.3s ease;
}

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

.close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #555;
  transition: color 0.2s;
}

.close:hover {
  color: #000;
}

/* Preview Details */
#previewDetails {
  margin: 20px 0;
  padding: 15px;
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  line-height: 1.6;
}

#previewDetails h3 {
  margin-bottom: 10px;
  color: #007bff;
  font-weight: 600;
}

#previewDetails p {
  margin: 6px 0;
  font-size: 15px;
  color: #444;
}

#previewDetails p strong {
  color: #222;
}

#previewDetails .salary {
  font-size: 18px;
  font-weight: bold;
  color: #e63946;
}

#previewDetails i {
  color: #007bff;
  margin-right: 6px;
}

/* Modal Actions */
.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.secondary-btn {
  flex: 1;
  background: #f1f1f1;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  color: #333;
  transition: background 0.3s ease;
}

.secondary-btn:hover {
  background: #e0e0e0;
}

.modal-actions .submit-btn {
  flex: 1;
  background: #0066cc;
  font-size: 15px;
}

.modal-actions .submit-btn:hover {
  background: #004c99;
}
