/* public/css/style.css */
body {
  background-color: #f8f9fa;
  font-family: 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  border-radius: 5px 5px 0 0;
  padding: 1rem;
  background-color: #007bff;
}

.footer {
  background-color: #343a40;
  color: white;
  padding: 2rem 0;
}

.card {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.btn-primary {
  background-color: #007bff;
  border: none;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-success {
  background-color: #28a745;
}

.btn-success:hover {
  background-color: #218838;
}

.btn-warning {
  background-color: #ffc107;
}

.btn-warning:hover {
  background-color: #e0a800;
}

.btn-info {
  background-color: #17a2b8;
}

.btn-info:hover {
  background-color: #138496;
}

.error-card {
  border: none;
  background-color: #fff;
  padding: 30px;
}

.error-card h1 {
  font-size: 6rem;
  font-weight: bold;
}

.manager-form, .employee-form {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}



.form-control, .form-select {
  border-radius: 5px;
}

.form-control:focus, .form-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.job-filter, .admin-form, .auth-form {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table th, .table td {
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.auth-form {
  max-width: 500px;
  margin: 0 auto;
}

.public-page {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-button {
  font-weight: bold;
}

.hero {
  min-height: 800px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('/assets/images/hero-bg1.jpg');
  animation: fadeBackground 15s infinite;
  z-index: -1;
}

@keyframes fadeBackground {
  0%, 33.33% {
    background-image: url('/assets/images/hero-bg1.jpg');
    opacity: 1;
  }
  33.34%, 66.66% {
    background-image: url('/assets/images/hero-bg5.jpg');
    opacity: 1;
  }
  66.67%, 100% {
    background-image: url('/assets/images/hero-bg3.jpg');
    opacity: 1;
  }
  /*10%, 23.33%, 43.33%, 56.66%, 76.67%, 90% {
    background-image: url('/assets/images/hero-bg4.jpg');
    opacity: 0;
  }*/
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: -1;
}

.hero h1 {
  font-size: 3rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero .lead {
    font-size: 1rem;
  }
  .hero {
    min-height: 400px;
  }
}

/* public/css/custom.css */
#loadingAnimation {
  display: none;
  text-align: center;
  padding: 20px;
}
#loadingAnimation .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.4em;
  border-color: #007bff;
  border-right-color: transparent;
  animation: spin 1s ease-in-out infinite;
}
#loadingAnimation p {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #007bff;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Sticky Navbar Styles */
.navbar.sticky-top {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  z-index: 1000; /* Ensure navbar stays above other content */
}

/* Adjust container padding to prevent content from hiding under navbar */
.container.mt-4 {
  padding-top: 70px; /* Adjust based on navbar height */
} 

/* .admin-form {
  max-width: 600px;
  margin: 0 auto;
} */

/* Job Listings and Details */
.jobs-container, .job-details-container {
  padding: 40px 0;
}
.job-card, .job-details-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.job-card .card-body {
  padding: 20px;
}
.job-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #007bff;
}
.job-details-card .card-header {
  border-radius: 8px 8px 0 0;
  padding: 20px;
}
.job-details-card .card-body {
  padding: 30px;
}
.job-details-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
}
.job-details-card p {
  margin-bottom: 12px;
  line-height: 1.6;
}
.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  padding: 10px 20px;
}
.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}
.btn-outline-primary {
  padding: 10px 20px;
}
.btn-outline-secondary {
  padding: 10px 20px;
}
/* Application Status */
.table select {
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ced4da;
}

/* Ensure tables and forms are responsive */
.table-responsive {
  margin-bottom: 20px;
}

.modal-content {
  border-radius: 10px;
}

.modal-header {
  background-color: #007bff;
  color: white;
}

.modal-body {
  font-size: 1.1rem;
}

#bulkUpdateBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.employee-checkbox {
  cursor: pointer;
}

.form-select, .form-control {
  border-radius: 5px;
  margin-bottom: 10px;
}

#loadingSpinner {
  margin: 20px 0;
  text-align: center;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}