:root {
  --primary: #16A4A0;
  --logo-start: #16A4A0;
  --gray-text: #64748B;
  --light-gray: #F3F4F6;

}
* {

  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  color: #1e293b;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: blue;
}



.btn {
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
  border: none;
}

.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.outline {
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
}

.btn.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 320px;
  background: white;
  border: 1px solid #000;
}

.btn.social img {
  width: 20px;
}

.btn.email {
  width: 320px;
  background: white;
  border: 1px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

}

.btn:hover {
  transform: translateY(-2px);
  opacity: .9;
}

.role-card {

  background: white;
  width: 420px;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.role-card h2 {
  font-weight: 500;
  margin-bottom: 10px;
  color: #1e293b;
}



.role-btn {
  padding: 14px;
  border-radius: 30px;
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  background: #979797;   /* رمادي */
  color: #ffffff;
  transition: 0.3s ease;
}

.role-btn:hover {
  background:#16A4A0;
  color: #fff6f6;
}

.business-help {
  font-size: 13px;
  margin-top: 5px;
  color: #64748b;
}

.business-help a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.business-help a:hover {
  text-decoration: underline;
}


/* ===== PAGE STRUCTURE ===== */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-header {
  padding: 20px 40px;
}

.auth-wrapper {
  flex: 1;
}

.auth-footer {
  padding: 20px 40px;
}



/* ================= AUTH PAGES ================= */

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-header-text {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 30px;
  text-align: center;
}

.auth-card {
  background: white;
  width: 400px;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-card h2 {
  margin-bottom: 10px;

}

.auth-card input {
  width: 100%;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
}

.password-field {
  position: relative;
}

.password-field span {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--primary);
  cursor: pointer;
}

.full {
  width: 100%;
}

.btn.social {
  border: 1px solid #000;
  background: white;
}

.social a{
  text-decoration: none;
  color: var(--primary);
}

.divider {
  text-align: center;
  position: relative;
  margin: 10px 0;
  font-size: 13px;
  color: #64748b;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #e2e8f0;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  white-space: nowrap;
  justify-content: flex-start;
  width: fit-content;
}

.forgot {
  font-size: 13px;
  color: var(--primary);
  cursor: pointer;
}

.auth-terms {
  font-size: 12px;
  color: #64748b;
}

.auth-terms span {
  color: var(--primary);
  cursor: pointer;
}

.switch-auth {
  text-align: center;
  font-size: 13px;
  margin-top: 10px;
}

.switch-auth a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}



/* ===== TERMS ABOVE OR ===== */

.top-terms {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  margin: 10px 0;
}

.top-terms span {
  color: var(--primary);
  cursor: pointer;
}


.business-section {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);

}

.business-section a {
  color: #16A4A0;
  text-decoration: none;
  font-weight: 600;
}

.business-section a:hover {
  text-decoration: underline;
}


/* ===== FOOTER ===== */

.auth-footer {
  background-color: transparent;
  width: 100%;
  padding: 20px 0;
  text-align: center;
}

.footer-links-auth {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 12px;
  color: #666;
}

.footer-links-auth a {
  color: #64748b;
  text-decoration: none;
  cursor: pointer;
}

.footer-links-auth a:hover {
  color: var(--primary);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

  .hero-wrapper,
  .explore-wrapper,
  .two-col,
  .open-work {
    flex-direction: column;
    text-align: center;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .open-text {
    padding: 40px;
  }

  .open-image img {
    width: 320px;
  }
}






