:root {
  --main: #ff6f61;
  --bg: #f8f9fa;
  --text: #333;
  --radius: 10px;
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}



.section-container {
  overflow-x: hidden;
}

.auth-body {
  padding: 20px;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;

}

.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.auth-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  width: 100%;
  max-width: 400px;
  animation: fadeIn 0.5s ease-out;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
  animation: fadeSlideIn 0.4s ease-out;
}

.auth-form.d-none {
  display: none;
}

.auth-form h2 {
  font-size: 24px;
  text-align: center;
  color: var(--text);
}

.input-group {
  position: relative;
}

.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--main);
}

.input-group input {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  transition: 0.3s;
}

.input-group input:focus {
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.15);
  outline: none;
}

.btn-primary {
  background: var(--main);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #e85c50;
}

.divider {
  text-align: center;
  color: #999;
  margin: 10px 0;
  position: relative;
}

.divider span {
  background: #fff;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd;
  z-index: 1;
}

.toggle-text {
  text-align: center;
  color: #555;
  font-size: 0.9rem;
}

.toggle-text a {
  color: var(--main);
  text-decoration: none;
  font-weight: 600;
}

.toggle-text a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

/* 🧱 عناصر الإدخال */
.form-group {
  margin-bottom: 5px !important;
  position: relative;
}

.form-group i {
  position: absolute;
  left: 14px;
  top: 65%;
  transform: translateY(-50%);
  color: #777;
}

.form-control {
  width: 100%;
  margin-bottom: 5px !important;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.2);
}

/* 🎯 أزرار الدخول والتبديل */
.login-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #007bff, #00b4d8);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}

.login-btn:hover {
  background: linear-gradient(90deg, #0056b3, #0096c7);
  transform: translateY(-1px);
}

.login-links {
  margin-top: 15px;
  text-align: center;
}

.login-links a {
  text-decoration: none;
  color: #007bff;
  font-weight: 500;
  transition: color 0.2s ease;
}

.login-links a:hover {
  color: #0056b3;
}

/* 🛍️ للأزرار الخاصة */
#vendor-dashboard {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

#vendor-dashboard:hover {
  background: linear-gradient(90deg, #16a34a, #15803d);
}

/* 🚪 زر تسجيل الخروج */
#logout-btn {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

#logout-btn:hover {
  background: linear-gradient(90deg, #b91c1c, #991b1b);
}

/* 🔄 دعم RTL */
/* [dir="rtl"] .form-group i {
  left: auto;
  right: 14px;
}

[dir="rtl"] .form-control {
  padding-right: 40px;
  padding-left: 10px;
}

[dir="rtl"] h3, 
[dir="rtl"] .login-links,
[dir="rtl"] .auth-form {
  text-align: right;
}

[dir="rtl"] body {
  font-family: 'Cairo', sans-serif;
} */


