body {
  background-color: #f3f8fc;
  font-family: 'Poppins', sans-serif;
  color: #002f5c;
}

.page-wrapper {
  /* Removing padding-top as it may interfere with the header */
  padding-top: 0;
}


.logo-jobUpload {
  text-align: center;
  margin: 20px 0;
}

.logo-jobUpload img {
  width: clamp(140px, 25vw, 240px);
  height: auto;
  display: block;
  margin: 0 auto;
}


.upload-main {
  min-height: 70vh; /* Reduced from 80vh to accommodate header */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px 40px; /* Reduced top padding */
}

.upload-container {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 14px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.upload-container h1 {
  font-size: 26px;
  color: #002f5c;
  margin-bottom: 10px;
  text-align: center;
}

.upload-subtext {
  font-size: 14px;
  margin-bottom: 20px;
  text-align: center;
  color: #667a95;
}

.upload-form label {
  display: block;
  margin: 15px 0 5px;
  font-weight: 600;
  color: #002f5c;
}

.upload-form input[type="text"],
.upload-form input[type="email"],
.upload-form input[type="tel"],
.upload-form input[type="file"] {
  background-color: #ffffff;
  border: 1px solid #ccdcec;
  padding: 12px;
  font-size: 15px;
  border-radius: 6px;
  width: 100%;
  margin-bottom: 10px;
  outline: none;
}

.error-message {
  color: #cc0000;
  font-size: 13px;
  margin-top: -6px;
  margin-bottom: 10px;
  display: block;
}

.upload-btn {
  background-color: #25D366;
  color: white;
  border: none;
  padding: 14px;
  width: 100%;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.upload-btn:hover {
  background-color: #1da955;
}


.upload-modal-overlay {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.upload-modal-content {
  background-color: white;
  max-width: 400px;
  width: 100%;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.upload-modal-content h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #002f5c;
}

.upload-modal-content ol {
  text-align: left;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #444;
}

.upload-modal-content li {
  margin-bottom: 10px;
}

.upload-modal-content .final-tip {
  font-weight: 500;
  margin-bottom: 20px;
  color: #333;
}

.modal-close-btn {
  background-color: #002f5c;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
}

.choose-file-btn {
  margin-top: 10px;
  padding: 10px 18px;
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.upload-file-wrapper {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

#images-error {
  display: block;
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 13px;
  color: #cc0000;
  text-align: center;
}


.upload-feedback {
  display: block;
  font-size: 13px;
  margin-top: 6px;
  color: #0066cc;
  text-align: center;
}

.image-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  justify-content: center;
}

.image-preview-container img {
  max-width: 100px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ccdcec;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  object-fit: cover;
}


@media screen and (max-width: 600px) {
  .logo-jobUpload img {
    width: 250px;
  }
  .upload-container {
    padding: 20px;
  }

  .upload-container h1 {
    font-size: 22px;
  }

  .footer {
    display: none;
  }
}

/* Added styles for better compatibility with header */
@media (max-width: 768px) {
  .upload-main {
    padding-top: 20px;
  }
  
  .upload-container {
    margin-top: 20px;
  }
  
  /* Ensure nav-links doesn't get hidden behind the form */
  .nav-links.mobile-open {
    z-index: 1000;
  }
}

/* Ensure the burger menu works properly */
.burger {
  cursor: pointer;
}

/* Make sure the mobile menu appears above other elements when opened */
.nav-links.mobile-open {
  display: flex !important;
}

