/* ============================= */
/* Global Styles */
/* ============================= */
body {
  background-color: #f0f0f0;
  color: #000;
  font-family: Arial, sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

main.container {
  flex-grow: 1;
  padding-top: 60px;
}

/* ============================= */
/* Top Ribbon */
/* ============================= */
.top-ribbon {
  background-color: #c00;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.top-ribbon .left-icons,
.top-ribbon .center-phone,
.top-ribbon .right-login {
  display: flex;
  align-items: center;
}

.top-ribbon .left-icons a {
  margin-right: 15px;
  color: #fff;
  text-decoration: none;
}

.top-ribbon .left-icons img,
.top-ribbon .right-login img {
  vertical-align: middle;
  height: 40px;
  width: 40px;
}

.top-ribbon .center-phone {
  flex: 1;
  justify-content: center;
  font-weight: bold;
  color: #fff;
}

.top-ribbon .right-login {
  justify-content: flex-end;
}

.top-ribbon .login-btn {
  background-color: #fff;
  color: #c00;
  padding: 5px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* ============================= */
/* Header Navigation */
/* ============================= */
header {
  background-color: #e0e0e0;
  padding: 10px 20px;
  color: #000;
  border-bottom: 4px solid #c00;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  position: relative;
  right: -10px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  background-color: #c00;
  padding: 10px 20px;
  border-radius: 8px 0 8px 0;
  transition: background-color 0.3s, color 0.3s;
  box-shadow: -5px 5px 8px rgba(0, 0, 0, 0.2);
  margin-left: -15px;
  z-index: 1;
  position: relative;
}

nav ul li a:hover {
  background-color: #fff;
  color: #000;
}

.red-underline {
  height: 3px;
  background-color: #c00;
  margin-top: 10px;
  width: 100%;
}

/* ============================= */
/* Forms and Buttons */
/* ============================= */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background-color: #c00;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #900;
}

/* ============================= */
/* Layout */
/* ============================= */
aside {
  width: 250px;
  background-color: #f8f8f8;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

footer {
  background-color: #f8f8f8;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #ddd;
  font-size: 0.75rem;
}

footer a {
  font-size: 0.65rem;
  text-decoration: underline;
  color: #666;
}
.job-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  grid-auto-rows: 1fr;
  justify-content: center;
  align-items: start;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

.job-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08), 0 1.5px 5px rgba(200,0,0,0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  height: 100%;
  transition: box-shadow 0.2s;
}
.job-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.14), 0 2.5px 9px rgba(200,0,0,0.06);
}

.job-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #eee;
  border-bottom: 1px solid #eee;
}

.job-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.job-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #b22222;
  margin-bottom: 6px;
}
.job-card-location {
  font-size: 1rem;
  color: #666;
  margin-bottom: 4px;
}
.job-card-deadline {
  font-size: 0.95rem;
  color: #c00;
  margin-bottom: 7px;
}
.job-card-description {
  font-size: 1rem;
  color: #444;
  margin-top: 10px;
  line-height: 1.5;
}
.see-more-btn, .btn-red {
  display: inline-block;
  background: #df2222;
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  border-radius: 10px;
  padding: 12px 36px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  box-shadow: none;
  letter-spacing: 0.5px;
}
.see-more-btn:hover, .btn-red:hover {
  background: #c00;
  color: #fff;
}
.job-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.75em 1em;
  background: #fff;
  border-top: 1px solid #eee;
}

.see-more-btn {
  background: #df2222;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: none;
  text-decoration: none;
  display: inline-block;
}
.see-more-btn:hover {
  background: #c00;
  color: #fff;
}

.report-link {
  font-size: 0.8rem;
  color: #666;
  text-decoration: underline;
}
.report-link:hover {
  color: #c00;
}

.password-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.password-info {
  display: none;
  position: absolute;
  top: -40px;
  right: 0;
  background: #333;
  color: #fff;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  z-index: 10;
}

.password-wrapper:hover .password-info,
.password-wrapper input:focus + .password-info {
  display: block;
}

