* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "arial", sans-serif;
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgb(5, 5, 78);
  border-bottom: 2px solid rgb(5, 5, 78);
  padding: 10px 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#navbar a {
  text-decoration: none;
  color: white;
  margin: 0 15px;
  font-weight: bold;
  font-size: 16px;
}
.nav-left {
  display: flex;
  align-items: center;
}

#company-name {
  font-weight: bold;
  font-size: 24px;
  margin-right: 20px;
  color: white;
}

.nav-left a {
  margin: 0 15px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 16px;
}
#navbar a:hover {
  color: rgb(10, 33, 167);
  text-decoration: none;
}

.register-button {
  background-color: #ffbb00;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-right:  100px;
}
.register-button:hover {
  background-color: #8b5a11;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgb(5, 5, 78);
  min-width: 200px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 1000;
  top: 100%;
  left: 0;
}
.dropdown {
  position: relative;
  display: inline-block;
}
/* Dropdown content links */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hover effect for dropdown links */
.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/*sidebar checkbox */
.checkbox-container1 {
  position: absolute;
  left: 20px;
  top: 200px;
  width: 200px;
  padding: 15px;
  border: 1.5px solid green;
  background-color: #f0f0f0;
  border-radius: 8px;
}
/*COUNTRY WAGE */
.container1 {
  margin: auto;
  padding: 20px;
  position: absolute;
  left: 20px;
  top: 1270px;
  width: 200px;
  padding: 15px;
  border: 1.5px solid green;
  background-color: #f0f0f0;
  border-radius: 8px;
}
/*SHIP TYPE */
.ship-type1 {
  position: absolute;
  left: 20px;
  top: 1000px;
  width: 200px;
  padding: 15px;
  border: 1.5px solid green;
  background-color: #f0f0f0;
  border-radius: 8px;
}


label {
  display: block;
  margin: 5px 0;
  font-size: 16px;
  margin-bottom: 15px;
}

input[type="checkbox"] {
  margin-right: 8px;
}

.Job-container1 {
  width: 900px;
  margin: auto;
}

h2 {
  color: #320370;
  text-align: center;
  position: relative;
  top: 115px;

}

.job-card1 {
  background-color: rgb(243, 248, 243);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(240, 247, 254, 0.837);
  position: relative;
  top: 140px;
  border: 1.5px solid green;
}
button {
  background-color: #190246;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}
.job-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  padding: 16px;
}

.job-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*applied jobs*/
.apply-btn {
  background-color: #007bff; /* blue */
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.apply-btn:hover {
  background-color: #0056b3;
}

.apply-btn.applied {
  background-color: #28a745; 
  cursor: default;
}

.apply-btn.applied:hover {
  background-color: #28a745; /* prevent hover color change */
}


.job-card1 {
  background-color: rgb(243, 248, 243);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(240, 247, 254, 0.837);
  position: relative;
  top: 140px;
  border: 1.5px solid green;
}

.job-card1 h3 {
  margin-bottom: 10px; /* Space below title */
}

.job-card1 p {
  margin: 6px 0; /* Space between each line */
  font-size: 16px;
}

.job-card1 button {
  margin-top: 12px; /* Space above the button */
}

.pagination-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9f9f9;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.pagination-container button {
  padding: 8px 14px;
  border: none;
  background:#190246;
  color: white;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pagination-container button:hover {
  background-color: #1e0353;
  color: #fff;
  transform: translateY(-1px);
}

.pagination-container button.active-page {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
}

.pagination-container button:disabled {
  background-color: #e0e0e0;
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
}

#pageNumber {
  font-weight: 500;
  color: #555;
  font-size: 15px;
  padding: 0 6px;
}

