:root {
  --primary-color: #8e44ad;
  --secondary-color: #9b59b6;
  --accent-color: #f39c12;
  --bg-light: #f5f7fa;
  --bg-dark: #2c3e50;
  --text-color: #333;
  --radius: 12px;
  --transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Heebo', sans-serif;
  background: linear-gradient(135deg, var(--bg-light), #e8ecf1);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}   
/* Header */
.login-header {
  background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.login-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo i {
  margin-left: 10px;
  color: var(--accent-color);
}

/* .hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--accent-color);
}
 */
.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  left: -10px;
  background: var(--accent-color);
  color: white;
  width: 18px;
  height: 18px;
  font-size: 0.75rem;
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  font-weight: bold;
}

/* Main content */
.main-content {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 0;
}

/* Auth Forms */
.auth-container {
	width: 100%;
	max-width: 900px;
	display: flex;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
	border-radius: 15px;
	overflow: hidden;
	background-color: white;
	margin: 0 auto;
}

.auth-image {
	flex: 1;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	position: relative;
	overflow: hidden;
	min-height: 500px;
}
.auth-image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('/admin/images/user/shal.jpeg');
	background-size: cover;
	background-position: center;
	opacity: 0.2;
	z-index: 0;
}

.auth-image-content {
	position: relative;
	z-index: 1;
	text-align: center;
}
.auth-image h2 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

.auth-image p {
	font-size: 1.1rem;
	margin-bottom: 2rem;
	line-height: 1.8;
}

.auth-image .logo-large {
	font-size: 3rem;
	margin-bottom: 2rem;
	color: white;
}

/* Left side: Forms */
.auth-forms {
  flex: 1;
  padding: 2rem;
  position: relative;
}

.form-tabs {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.form-tab {
	flex: 1;
	text-align: center;
	padding: 1rem;
	cursor: pointer;
	transition: var(--transition);
	font-weight: 500;
	color: var(--dark-color);
}
.auth-forms h2 {
	font-size: 1.8rem;
	color: var(--primary-color);
	margin-bottom: 1.5rem;
	text-align: center;
}

.form-tab.active {
	color: var(--primary-color);
	border-bottom: 3px solid var(--primary-color);
}

.form-tab:hover:not(.active) {
	color: var(--primary-color);
	background-color: rgba(155, 89, 182, 0.05);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--dark-color);
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-size: 1rem;
	transition: var(--transition);
	font-family: 'Heebo', sans-serif;
}

.form-control:focus {
	border-color: var(--primary-color);
	outline: none;
	box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.2);
}

.form-check {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.form-check-input {
	margin-left: 10px;
	width: 18px;
	height: 18px;
}

.form-text {
	font-size: 0.9rem;
	color: #666;
	margin-top: 0.5rem;
}

.btn {
	display: inline-block;
	padding: 12px 30px;
	background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
	color: white;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 500;
	box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
	transition: var(--transition);
	border: none;
	cursor: pointer;
	font-size: 1rem;
	width: 100%;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(142, 68, 173, 0.4);
}

/* Footer */
footer {
	background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
	color: white;
	padding: 1.5rem 0;
	text-align: center;
}
/* Alert Messages */
/* .alert {
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 20px;
	display: none;
}

.alert.show {
	display: block;
	animation: fadeIn 0.5s ease;
}

.alert-success {
	background-color: rgba(39, 174, 96, 0.1);
	color: #27ae60;
	border: 1px solid rgba(39, 174, 96, 0.2);
}

.alert-danger {
	background-color: rgba(231, 76, 60, 0.1);
	color: #e74c3c;
	border: 1px solid rgba(231, 76, 60, 0.2);
}
 */


/*.social-login {
 	margin-top: 2rem;
	text-align: center;
}

.social-login p {
	margin-bottom: 1rem;
	position: relative;
}

.social-login p::before,
.social-login p::after {
	content: '';
	position: absolute;
	top: 90%;
	width: 40%;
	height: 1px;
	background-color: #ddd;
}

.social-login p::before {
	right: 0;
}

.social-login p::after {
	left: 0;
}

.social-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
}

.social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #f5f5f5;
	color: #333;
	text-decoration: none;
	transition: var(--transition);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.social-btn.facebook {
	background-color: #3b5998;
	color: white;
}

.social-btn.google {
	background-color: #db4437;
	color: white;
}

.social-btn.apple {
	background-color: #000;
	color: white;
}
 */
/* .btn-outline {
	background: transparent;
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
}

.btn-outline:hover {
	background: var(--primary-color);
	color: white;
} */




.auth-footer {
	text-align: center;
	margin-top: 2rem;
	color: #666;
}

.auth-footer a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
}

.auth-footer a:hover {
	text-decoration: underline;
} 

/* Animations */
 @keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
}

/* Popup Content Box */
.popup-overlay.show { display: flex; }
.popup-content {
  background: white;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.25);
  border-top: 6px solid #8e44ad;
  font-family: 'Heebo', sans-serif;
  color: #2c3e50;
}

.popup-overlay.show {
  display: flex;
  animation: fadeIn 0.3s ease-in-out;
}

.popup-box h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #8e44ad;
}

/* שדות */
.popup-box {
  background: white;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  text-align: center;
  position: relative;
}

.popup-box button {
  background-color: #8e44ad;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.popup-box button:hover {
  background-color: #9b59b6;
}

.popup-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.popup-box button {
  background-color: #8e44ad;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.popup-box button:hover {
  background-color: #9b59b6;
}

/* Close Button */
.popup-close {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 1.5rem;
  color: #8e44ad;
  cursor: pointer;
}

/* Scrollable inner area */
.popup-scroll {
  flex: 1;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 20px;
}

.popup-scroll h2, .popup-scroll h3 {
  color: #8e44ad;
  margin-top: 20px;
}

.popup-scroll ul {
  padding-right: 20px;
  margin-bottom: 20px;
}

.popup-scroll p {
  margin-bottom: 12px;
}
.popup-footer {
  text-align: center;
  padding-top: 10px;
}
.popup-footer .btn {
  background-color: #8e44ad;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
}


/* Responsive */
@media (max-width: 768px) {
  .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 15px;
	text-align: center;
  }
  /* .header-content {
		flex-direction: column;
		text-align: center;
	} */
	
   .auth-container {
		flex-direction: column;
		max-width: 500px;
	}	
/*
  .hamburger {
    display: block;
  }

   .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 15px;
    background-color: var(--primary-color);
    padding: 1rem;
    border-radius: 10px;
    width: 80%;
  }

  .nav-links.show {
    display: flex;
  } */

  .auth-image {
    padding: 3rem 1rem;
  }

  .auth-forms {
    padding: 1.5rem;
  }
}