@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #2c3e50;
  line-height: 1.6;
}

.header {
  text-align: center;
  padding: 40px 20px;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.header h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.5px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
}

.card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.job-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #eef2f5;
  margin-bottom: 20px;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.job-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
  border-color: #e2e8f0;
}

.btn {
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.primary {
  background: linear-gradient(135deg, #f68709, #ea580c);
  color: white;
}

.secondary {
  background: #1d4ed8;
  color: white;
}

.ghost {
  background: transparent;
  border: 1px solid #ccc;
}

.hidden {
  display: none !important;
}

.info {
  text-align: center;
  padding: 40px 20px;
}

.footer {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-top: 1px solid #eee;
}


nav {
  margin-top: 10px;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #555;
  font-weight: 500;
}

nav a:hover {
  color: #ff5a5f;
}


/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(37, 99, 235, 0.9));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: white;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Auth link as a pill button */
#authHeaderLink {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

#authHeaderLink::after {
  display: none;
}

#authHeaderLink:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(37, 99, 235, 0.95));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    width: 200px;
    padding: 20px;
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
    color: #1d4ed8
  }

  .hamburger {
    display: block;
  }
}

 .logo img {
            max-height: 40px;
        }

.hero {
  text-align: center;
  padding: 40px 0;
  width: 100%;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.hero .container-mvt {
  max-width: 400px;
  margin-bottom: 10px;
}

.hero p {
  color: #666;
}


.hero-content.fade-in {
  overflow: hidden;
  position: relative;
  width: 100%; /* or whatever your container width is */
}

.marquee-container {
  width: 100%;
  max-width: 430px;
  height: 50px;
  overflow: hidden;
  border: 0px solid #ccc;
  position: relative;
  margin: 0 auto;
}

.marquee-text {
  position: absolute;
  white-space: nowrap;
  animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
  0% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}

.social-proof {
  margin-top: 15px;
  font-size: 14px;
  color: #888;
}

/* TRUST */
.trust {
  text-align: center;
  padding: 60px 20px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.logo-box {
  padding: 15px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* STEPS */
.steps {
  text-align: center;
  padding: 60px 20px;
}

.step-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.step {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 120px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* CTA */
.cta {
  text-align: center;
  padding: 60px 20px;
}

/* ANIMATION */
.fade-in {
  animation: fadeIn 1s ease-in;
}

.auth-card {
  max-width: 550px;
  width: 100%;
  margin: 0 auto;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group span {
  font-weight: 600;
  color: #444;
}

.input-group input {
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.input-group select {
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background-color: #f8fafc;
  transition: all 0.2s ease;
  cursor: pointer;
}

.input-group input:focus, .input-group select:focus {
  border-color: #1d4ed8;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

#employeeFields .input-group,
#restaurantFields .input-group {
  margin-bottom: 24px;
}

.auth-message {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 14px;
}

.auth-message.hidden {
  display: none;
}

.auth-message.info {
  background: #edf2ff;
  color: #1e3a8a;
}

.auth-message.success {
  background: #d1fae5;
  color: #065f46;
}

.auth-message.warning {
  background: #fef3c7;
  color: #92400e;
}

.auth-message.error {
  background: #fee2e2;
  color: #991b1b;
}

.small-text {
  color: #555;
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Features Section */
.features, .how-it-works {
  text-align: center;
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.features h2, .how-it-works h2, .trust h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #2c3e50;
  letter-spacing: -0.5px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
  color: #1d4ed8;
}

.feature-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
}

/* How It Works Section */
.hiw-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.hiw-column {
  background: white;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  flex: 1;
  min-width: 300px;
  text-align: left;
  transition: all 0.3s ease;
}

.hiw-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hiw-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 25px;
  margin-top: 0;
}

.hiw-list {
  padding-left: 20px;
  color: #555;
  font-size: 16px;
}

.hiw-list li {
  margin-bottom: 15px;
}
.hiw-list li strong {
  color: #2c3e50;
}

/* MODAL */
.modal {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.close-modal:hover {
  color: #333;
}


/* HIGHLIGHT ERROR */
.error-highlight {
  border: 2px solid #ef4444 !important;
  background-color: #fef2f2 !important;
  transition: all 0.3s ease;
  border-radius: 12px;
}
.input-group.error-highlight {
  padding: 10px;
}

/* PILL SELECTORS */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

.pill-group.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pill-group.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.pill-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #64748b;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  user-select: none;
  min-width: 60px;
}

.pill-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pill-checkbox:checked + .pill-label {
  background: linear-gradient(135deg, #f68709, #ea580c);
  color: white;
  border-color: #ea580c;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.2);
}

.pill-checkbox:focus-visible + .pill-label {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

/* Specific modifiers for hour blocks to match image layout */
.hour-block {
  display: flex;
  flex-direction: column;
  padding: 8px;
  font-size: 13px;
}

.hour-block span {
  display: block;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .container {
    padding: 20px 10px;
  }
  
  .card, .auth-card {
    padding: 20px 12px;
  }
  
  .pill-label {
    padding: 8px 2px;
    font-size: 11px;
    min-width: 0;
    word-break: break-word;
    white-space: normal;
  }
  
  .hour-block {
    padding: 4px 2px;
    font-size: 10px;
  }
  
  .pill-group {
    gap: 4px;
  }
  
  /* Change the 4-column pre-selection to 2-column on very small screens to ensure fit */
  .pill-group.grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .pill-group.grid-6 {
    gap: 4px;
  }
}
