/* styles.css */

/* Global Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  margin: 0;
  color: #343a40;
  min-height: 100vh;
  font-size: 14px;
}

.city-container,
.job-container,
.results-container,
.why-section {
  background: #fff;
}

/* Navigation Bar */


/* Hero / Intro section */
main {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}

h1 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

p {
  font-size: 1.1rem;
  color: #555;
}

/* Cities Grid */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.cities-grid h2 {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 1rem;
}

.cities-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cities-column div {
  padding: 0.5rem;
  text-align: center;
}

/* City Container */
.city-container {
  max-width: 600px;
  margin: 4rem auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  text-align: center;
}

/* Job Container */
.job-container {
  max-width: 600px;
  margin: 4rem auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  text-align: center;
}

/* Results Container (jobs.html) */
.results-container {
  max-width: 800px;
  margin: 3rem auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

.filters {
  margin-bottom: 2rem;
}

.filters span {
  font-size: 1.1rem;
  margin-right: 1.5rem;
}

.job-listing {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

.job-listing:last-child {
  border-bottom: none;
}

.job-title {
  font-weight: bold;
  font-size: 1.1rem;
}

.job-meta {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.job-desc {
  color: #444;
}

/* Jobs Header (city.html) */
#jobs-header {
  width: 100vw;
  box-sizing: border-box;
  border-bottom: 2px solid #007bff;
  padding: 0.5rem 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#jobs-header h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: #007bff;
  letter-spacing: 1px;
}

#jobs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 1100px;
}

/* Cities Header (job.html) */
#cities-header {
  width: 100vw;
  box-sizing: border-box;
  border-bottom: 2px solid #007bff;
  padding: 0.5rem 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f8f8f8;
}

#cities-header h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: #007bff;
  letter-spacing: 1px;
}

#cities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 1100px;
}

#cities-list a {
  color: #007bff;
  text-decoration: none;
  background: #eaf3ff;
  border: 1px solid #b6d4fe;
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  font-size: 1rem;
  white-space: nowrap;
  transition: background 0.2s;
  margin: 0.1rem;
  display: inline-block;
}

#cities-list a:hover {
  background: #d0e7ff;
  text-decoration: underline;
}

/* Links (buttons style) */
.city-container a,
.job-container a,
#jobs-list a,
#cities-grid a {
  color: #007bff;
  text-decoration: none;
  background: #eaf3ff;
  border: 1px solid #b6d4fe;
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  font-size: 1rem;
  white-space: nowrap;
  transition: background 0.2s;
  margin: 0.1rem;
  display: inline-block;
}

.city-container a:hover,
.job-container a:hover,
#jobs-list a:hover,
#cities-grid a:hover {
  background: #d0e7ff;
  text-decoration: underline;
}

/* Επιστροφή στην αρχική */
.city-container>a,
.job-container>a,
.results-container>a {
  display: block;
  margin-top: 2rem;
  background: none;
  border: none;
  color: #007bff;
  text-decoration: none;
  font-size: 1rem;
  padding: 0;
}

.city-container>a:hover,
.job-container>a:hover,
.results-container>a:hover {
  text-decoration: underline;
}

.logout-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #ff4d4f;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1.1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}

.logout-btn:hover {
  background: #d9363e;
}

.job-action-btn {
  display: inline-block;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.95rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.job-action-btn.delete {
  background: #ff4d4f;
  color: #fff;
}

.job-action-btn.delete:hover {
  background: #d9363e;
}

.job-action-btn.edit {
  background: #1890ff;
  color: #fff;
}

.job-action-btn.edit:hover {
  background: #0050b3;
}

.job-action-btn.view-applications {
  background: #17a2b8;
  color: #fff;
}

.job-action-btn.view-applications:hover {
  background: #138496;
}

/* --- Login & Register Redesign --- */
.login-wrapper {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #ffffff;
}

.login-card {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.login-card h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: -0.5px;
}

.login-icon {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #eaf3ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.1);
}

.login-icon svg {
  width: 40px;
  height: 40px;
  fill: #1976d2;
}

/* Minimal Tabs */
.login-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  width: 100%;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 0;
}

.login-tabs button {
  background: none;
  border: none;
  padding: 0.8rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
  margin-bottom: -2px;
}

.login-tabs button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #1976d2;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.login-tabs button.active {
  color: #1976d2;
}

.login-tabs button.active::after {
  transform: scaleX(1);
}

.login-tabs button:hover {
  color: #1976d2;
}

/* Form */
.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.input-icon-group {
  position: relative;
  width: 100%;
}

.input-icon-group input,
.input-icon-group select {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  background: #f9f9f9;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.input-icon-group input:focus,
.input-icon-group select:focus {
  border-color: #1976d2;
  background: #fff;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.1);
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #1976d2;
  pointer-events: none;
  font-size: 1.2rem;
  z-index: 2;
}

.input-icon svg {
  width: 24px;
  height: 24px;
}

.input-icon svg rect {
  display: none;
}

.input-icon svg path {
  stroke: #1976d2 !important;
  stroke-width: 1.8;
}

.login-form button[type="submit"] {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: #1976d2;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.25);
}

.login-form button[type="submit"]:hover {
  background: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(25, 118, 210, 0.3);
}

.login-form button[type="submit"]:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
  .login-card {
    padding: 2rem 1.5rem;
    box-shadow: none;
    background: transparent;
    border: none;
  }

  .login-wrapper {
    padding: 1rem;
    align-items: flex-start;
    padding-top: 3rem;
  }

  .login-card h1 {
    font-size: 1.5rem;
  }
}

/* --- Register Page Specifics (2 columns) --- */
.register-card {
  max-width: 900px;
  /* Wider for 2 cols */
}

.register-card .login-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.register-card .login-form button[type="submit"] {
  grid-column: 1 / -1;
  /* Button spans full width */
  margin-top: 1rem;
}

/* On mobile, revert register to 1 column */
@media (max-width: 700px) {
  .register-card .login-form {
    grid-template-columns: 1fr;
  }
}

/* --- Job Category Pages Card Style --- */
body {
  background: #ffffff;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Enhanced Footer */
.enhanced-footer {
  padding: 2rem 1rem;
  margin-top: 2rem;
  background: #fff;
  border-top: 1px solid #eee;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.footer-section h3 {
  font-size: 1rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-section p,
.footer-section a {
  font-size: 0.9rem;
  color: #666;
  text-decoration: none;
  line-height: 1.6;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: #1976d2;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
  color: #888;
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .enhanced-footer {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-jobs {
  background: transparent;
  padding: 4rem 2rem 2rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: none;
  border-radius: 0;
}

.hero-jobs .icon {
  display: none;
}

.hero-jobs h1 {
  font-size: 1.8rem;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  color: #2c3e50;
}

.hero-jobs p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
  color: #6c757d;
}

.container {
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 1rem;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 1.2em;
  margin-bottom: 2.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-row label {
  font-weight: 600;
  color: #1976d2;
}

.filter-row select {
  padding: 0.6em 1.2em;
  border-radius: 8px;
  border: 1.5px solid #b6d4fe;
  font-size: 1.08em;
  background: #f8fafc;
}

.jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.job-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #1976d220;
  padding: 2.1rem 1.5rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.18s;
  min-height: 260px;
}

.job-card:hover {
  box-shadow: 0 6px 24px #1976d240;
}

.job-card .job-icon {
  font-size: 2.1em;
  color: #1976d2;
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  opacity: 0.18;
}

.job-title {
  font-size: 1.22em;
  color: #1976d2;
  font-weight: 700;
  margin-bottom: 0.2em;
}

.job-meta {
  color: #555;
  font-size: 1em;
  margin-bottom: 0.7em;
}

.job-company {
  color: #43a047;
  font-weight: 600;
}

.job-city {
  color: #1976d2;
  font-weight: 500;
}

.job-desc {
  color: #333;
  margin-bottom: 0.7em;
  font-size: 1.07em;
}

.job-tags {
  margin-bottom: 0.7em;
}

.job-tag {
  display: inline-block;
  background: #eaf3ff;
  color: #1976d2;
  border-radius: 8px;
  padding: 0.25em 0.8em;
  font-size: 0.98em;
  margin: 0 0.3em 0.3em 0;
  font-weight: 500;
}

.job-benefit {
  background: #e8f5e9;
  color: #43a047;
}

.show-more-btn {
  background: none;
  border: none;
  color: #1976d2;
  font-weight: 600;
  cursor: pointer;
  font-size: 1em;
  margin-top: 0.2em;
}

.no-jobs {
  color: #888;
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 700px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .hero-jobs {
    padding: 2rem 0.5rem 1.2rem 0.5rem;
  }
}

/* --- Company Profile Page Styles --- */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #ffffff;
}

.company-hero {
  background: #ffffff;
  padding: 3.5rem 2rem 2.5rem 2rem;
  text-align: center;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 4px 24px #1976d20a;
  margin-bottom: 2.5rem;
}

.company-hero h1 {
  font-size: 2.3rem;
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 0.7rem;
}

.company-hero p {
  font-size: 1.18rem;
  color: #222;
  margin-bottom: 1.5rem;
}

.company-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px #1976d220;
  padding: 2.2rem 2rem 1.5rem 2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.company-card .edit-company-link {
  color: #1976d2;
  text-decoration: underline;
  font-weight: 600;
  margin-bottom: 1.2rem;
  cursor: pointer;
  display: inline-block;
}

.company-card .edit-company-link:hover {
  color: #0056b3;
}

.section-title {
  font-size: 1.3rem;
  color: #1976d2;
  font-weight: 700;
  margin: 2.5rem 0 1.2rem 0;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #1976d220;
  padding: 1.3rem 1rem;
  text-align: center;
  font-size: 1.08em;
  font-weight: 500;
  color: #1976d2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.card:hover {
  box-shadow: 0 4px 18px #1976d240;
  border: 2px solid #1976d2;
}

.job-listing {
  background: #f8fafc;
  border-radius: 10px;
  box-shadow: 0 1px 4px #1976d210;
  padding: 1.1rem 1rem;
  margin-bottom: 1.2rem;
  text-align: left;
}

.logout-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #ff4d4f;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1.1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}

.logout-btn:hover {
  background: #d9363e;
}

@media (max-width: 700px) {
  .company-hero {
    padding: 2rem 0.5rem 1.5rem 0.5rem;
  }

  .company-card {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
}

/* Card-style select for input-icon-group (register/login forms) */
.input-icon-group select {
  width: 100%;
  padding: 1.1rem 1rem 1.1rem 2.7rem;
  border-radius: 16px;
  border: 2px solid #e0e6ed;
  background: #f8fafc;
  font-size: 1.08rem;
  color: #222;
  outline: none;
  transition: border 0.18s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
}

.input-icon-group select:focus {
  border-color: #1976d2;
}

.input-icon-group select option {
  color: #222;
}

/* --- Job Modal --- */
.job-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 42, 60, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.job-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px #1976d240;
  padding: 2.5rem 2.2rem 2.2rem 2.2rem;
  min-width: 320px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #222;
  animation: modalIn 0.18s cubic-bezier(.4, 1.4, .6, 1) 1;
}

@keyframes modalIn {
  from {
    transform: translateY(40px) scale(0.98);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

.job-modal-content h2 {
  color: #1976d2;
  font-size: 1.45em;
  font-weight: 700;
  margin-bottom: 0.5em;
}

.job-modal-content>div {
  margin-bottom: 0.7em;
  font-size: 1.08em;
}

.job-modal-content ul {
  margin: 0.3em 0 0.7em 1.2em;
  padding: 0;
}

.job-modal-content li {
  margin-bottom: 0.2em;
  font-size: 1em;
}

.job-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  font-size: 2.1em;
  color: #1976d2;
  cursor: pointer;
  font-weight: 700;
  opacity: 0.7;
  transition: opacity 0.15s;
  z-index: 10;
}

.job-modal-close:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  .job-modal-content {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    min-width: 0;
    max-width: 99vw;
  }

  .job-modal-close {
    top: 0.7rem;
    right: 0.9rem;
    font-size: 1.5em;
  }
}

/* Job Application Button */
.apply-btn {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
}

.apply-btn:active {
  transform: translateY(0);
}

.apply-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.apply-btn.applied {
  background: #43a047;
  cursor: default;
}

/* Notification Styles */
.notification-item {
  background: #f8fafc;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.notification-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.notification-item.unread {
  background: #eff6ff;
  border-color: #3b82f6;
  border-left: 4px solid #3b82f6;
}

.notification-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notification-message {
  font-weight: 600;
  color: #1e293b;
  font-size: 1rem;
}

.notification-details {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  color: #64748b;
  flex-wrap: wrap;
}

.applicant-name {
  font-weight: 600;
  color: #1976d2;
}

.job-title {
  font-style: italic;
}

.notification-time {
  color: #94a3b8;
}

.unread-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
}

/* Success/Error Messages */
.message {
  padding: 12px 16px;
  border-radius: 8px;
  margin: 10px 0;
  font-weight: 600;
}

.message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Job Actions - View Details Link */
.job-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.view-details-link {
  color: #1976d2;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: color 0.2s ease;
}

.view-details-link:hover {
  color: #1565c0;
  text-decoration: underline;
}

/* Modal Content Styles */
.modal-job-meta {
  background: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.modal-job-meta p {
  margin: 0.5rem 0;
  color: #555;
}

.modal-job-description {
  margin: 1.5rem 0;
}

.modal-job-description h3 {
  color: #1976d2;
  margin-bottom: 0.5rem;
  font-size: 1.1em;
}

.modal-job-qualifications,
.modal-job-benefits {
  margin: 1.5rem 0;
}

.modal-job-qualifications h3,
.modal-job-benefits h3 {
  color: #1976d2;
  margin-bottom: 0.5rem;
  font-size: 1.1em;
}

.modal-job-actions {
  margin-top: 2rem;
  text-align: center;
}

/* Enhanced Footer Styles */
.enhanced-footer {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: white;
  margin-top: 4rem;
  padding: 3rem 0 1rem 0;
  box-shadow: 0 -4px 20px rgba(25, 118, 210, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-section p a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section p a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-section ul li i {
  margin-right: 0.5rem;
  color: #ffffff;
  width: 16px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.9rem;
}



/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Forgot Password Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: #ffffff;
  margin: auto;
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  text-align: center;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  color: #adb5bd;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
  color: #343a40;
  text-decoration: none;
}

.forgot-password-link {
  margin-top: 1.2rem;
  text-align: center;
}

.forgot-password-link a {
  color: #1976d2;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.forgot-password-link a:hover {
  color: #115293;
  text-decoration: underline;
}

.modal h2 {
  margin-bottom: 0.8rem;
  color: #1976d2;
  font-size: 1.6rem;
  font-weight: 700;
}

.modal p {
  margin-bottom: 2rem;
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.5;
}

/* Modal Form Elements */
.modal form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.modal form input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  background: #f9f9f9;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.modal form input:focus {
  border-color: #1976d2;
  background: #fff;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.1);
}

.modal form button {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: #1976d2;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.25);
}

.modal form button:hover {
  background: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(25, 118, 210, 0.3);
}

.modal form button:active {
  transform: translateY(0);
}