/* עיצוב כללי */
html, body {
  overflow-y: auto; /* גלילה אנכית */
  overflow: overlay;
  margin: 0;
  padding: 0;
  font-family: 'David', Arial, sans-serif;
  font-weight: bold;
  direction: rtl;
  font-family: system-ui, -apple-system, sans-serif;
  height: 100%; /* מגדיר את גובה הדף כולו ל-100% */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: black;
  line-height: 1.6;
  margin-top: 20px;
}

/* עיצוב קישורים */
a {
  text-decoration: none; /* ביטול הקו התחתון */
  color: inherit; /* שמירת הצבע המקורי של הטקסט */
}

a:visited {
  color: inherit; /* שמירת הצבע המקורי לאחר לחיצה */
}

a:hover {
  text-decoration: none; /* אפשרות להוסיף אפקט ריחוף אם רוצים, למשל להוסיף קו תחתון או לשנות צבע */
}

a:active {
  color: inherit; /* שמירה על הצבע המקורי גם בזמן לחיצה */
}

/* עיצוב העמוד הראשי */
.page1 {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  overflow: hidden;
  background-size: 103% 103%;
  z-index: 0;
  background: linear-gradient(to left, rgba(162, 209, 233, 0.7), rgba(8, 87, 128, 0.7));
  background-size: cover;
  background-position: center;
}

.backimgpage1 {
  width: 100vw;
  height: 100vh;
  position: fixed;
  background-color: black;
  top: 0;
  left: 0;
  margin: auto;
  overflow: hidden;
  background-image: url('img/SORA.png');
  background-size: 103% 103%;
  z-index: -10;
  animation: animateFrames 0.6s forwards;
  display: none;
  background: linear-gradient(to left, rgba(162, 209, 233, 0.9), rgba(8, 87, 128, 0.9)), url('../img/SORA.png');
  background-size: cover;
  background-position: center;
}

@keyframes animateFrames {
  0% {
    scale: 2;
  }
  100% {
    scale: 1;
  }
}

.page1 p {
  position: relative;
  right: 0%;
  transform: translate(-50%, -50%);
  top: 15%;
  color: #FFF;
  font-size: 8vh;
  text-align: center;
  opacity: 0; /* שנה מ-0 ל-1 */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  animation: SHOWTEXTLOGO 1s forwards 2.8s; /* הסר את העיכוב של 1.5 שניות */
  line-height: 1.2;
  z-index: 10; /* הוסף z-index גבוה */
}

@keyframes SHOWLOGO {
  0% {
    opacity: 0;
    transform: translate(0px);
  }
  100% {
    opacity: 1;
    transform: translate(22VH);
  }
}

@keyframes SHOWTEXTLOGO {
  0% { transform: translateY(-200px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0px) scale(1); opacity: 1; }
}

.btn_buy_now {
  position: absolute;
  bottom: 50vh;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0d70a3;
  background-color: #FFF;
  font-size: 1.8em;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.247);
  z-index: 5;
  text-decoration: none;
  width: 50vw;
  height: 7vh;
  border-radius: 20px;
  opacity: 0;
  animation: LOGOH 0.5s forwards 1.9s;
  cursor: pointer;
}

/* Menu Container */
.menu {
  position: fixed;
  left: 50%;
  top: 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  padding: 0 30px;
  color: #0d70a3;
  background-color: #FFF;
  border-radius: 0px;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.1);
  transform: translateX(-50%);
  z-index: 2;
  animation: menuback 1s forwards;
}

@keyframes menuback {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Links Container */
.links {
  display: flex;
  align-items: center;
  gap: 30px;
  opacity: 0;
  animation: LINKS 2.8s forwards 1s;
}

@keyframes LINKS {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Links Styling */
.links a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #0d70a3;
  font-size: 1.4em;
  font-weight: bold;
  transition: color 0.3s ease;
  cursor: pointer;
}

.links a i {
  margin-left: 8px;
}

.links a:hover {
  color: #007bff;
}

.links a:visited {
  color: #0d70a3;
}

.logo {
  height: 40px;
  width: auto;
}

/* Hover Effect on Links */
.links a:hover {
  color: #000;
  animation: linksHOVER 0.7s forwards;
}

@keyframes linksHOVER {
  0% {
    color: #0d70a3;
  }
  100% {
    color: #000;
  }
}

.logo {
  position: relative;
  height: 80%;
  left: 2%;
  bottom: 0%;
  opacity: 0;
  animation: LOGOH 0.7s forwards 0.7s;
}

@keyframes LOGOH {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0.4;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

/* תפריט נגלל */
.user-menu {
  position: absolute;
  top: calc(69px + 4%);
  right: 5.3%;
  width: 200px;
  background-color: #FFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 10px;
  display: none; /* יופיע בלחיצה */
  z-index: 100;
  color: #0d70a3;
}

.user-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.user-menu li {
  padding: 10px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
}

.user-menu li:last-child {
  border-bottom: none;
}

.user-menu li:hover {
  background-color: #f4f4f4;
}

.user-menu li i {
  margin-right: 10px;
  color: #007bff;
}

/* Custom Logout Button */
.btn_logout {
  position: absolute;
  top: 2%;
  right: 5%;
  background-color: #ff4d4d;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1em;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.btn_logout:hover {
  background-color: #cc0000;
}

/* תפריט הצד הנסתר */
.sidebar {
  display: none;
}

/* עיצוב כפתור ההמבורגר והאנימציה */
.hamburger-container {
  display: none;
}

@keyframes animate_btn_logout {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(5px);
  }
}

#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  animation: animateFrames 0.6s forwards;
}

/* עיצוב ההודעה */
.isendyousms {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  padding: 15px;
  background-color: #0078a8; /* צבע רקע */
  color: #ffffff;
  border-radius: 10px;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* אנימציה */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* עיצוב הסמל */
.icon-container {
  margin-right: 10px;
}

.icon {
  width: 30px;
  height: 30px;
}

/* עיצוב הטקסט */
.message-container p {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

/* הודעת אישור לפעולה */
.saved-msg-alert {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #28a745;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  transition: all 0.5s ease;
}

.saved-msg-alert.show {
  display: block;
}

.custom-confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-confirm-modal.show {
  opacity: 1;
  visibility: visible;
}

.custom-confirm-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  width: 400px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.custom-confirm-modal.show .custom-confirm-content {
  transform: translateY(0);
}

.custom-confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.custom-confirm-button {
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.custom-confirm-button.confirm {
  background-color: #2563eb;
  color: white;
}

.custom-confirm-button.cancel {
  background-color: #e5e7eb;
  color: #374151;
}

.custom-confirm-button:hover {
  transform: translateY(-1px);
}

.custom-confirm-button.confirm:hover {
  background-color: #1d4ed8;
}

.custom-confirm-button.cancel:hover {
  background-color: #d1d5db;
}

.small_profile_img {
  width: 40px;
  border-radius: 50%;
  height: 40px;
  object-fit: cover;
  margin-left: 8px;
  margin-right: -16px;
}

/* התאמה למובייל */
@media (max-width: 1000px) {
  /* עיצוב כללי */
  body {
    background-color: #f6f6f6;
  }
  
  .backimgpage1 {
    display: fixed;
    background-size: 200% 103%;
  }

  .menu {
    position: absolute;
    left: 50%; /* מרכז את התפריט לרוחב הדף */
    top: 4%; /* שומר על המרחק מלמעלה */
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0d70a3;
    font-size: 1em;
    background-color: #FFF;
    width: 100%;
    height: 60px;
    z-index: 100;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    animation: menuback 1s forwards;
    
    border-radius: 0px;
    transform: translateX(-50%); /* מזיז את התפריט חזרה ב-50% מרוחב */
  }
  
  .links {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-right: 2%;
    cursor: pointer;
    opacity: 0;
    animation: LINKS 2.8s forwards 1s;
  }
  
  .logo {
    position: absolute;
    
    height: 80%;
    left: 25%;
    bottom: 6%;
    opacity: 0;
    
  }
  
  /* עיצוב כפתור ההמבורגר והאנימציה */
  .hamburger-container {
    display: inline-block;
    font-size: 2em;
    cursor: pointer;
    color: #0d70a3;
    position: absolute;
    top: 5px;
    right: 20px;
  }

  .hamburger-container i {
    transition: transform 0.5s ease;
  }

  /* תפריט הצד הנסתר */
  .sidebar {
    height: 80%;
    width: 0;
    position: fixed;
    display: block;
    top: 14%;
    right: -5px;
    background-color: #FFF;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 1%;
    z-index: 999;
    border-radius: 20px 0 0 20px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .name_menu_member {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 1.2em;
    color: #0d70a3;
    display: flex;
    transition: 0.3s;
    align-items: center;
  }
  
  .sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 1.2em;
    color: #0d70a3;
    display: block;
    transition: 0.3s;
  }

  .sidebar a:hover {
    background-color: #0d70a3;
    color: white;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2em;
    color: black;
    cursor: pointer;
  }

  /* עיצוב אנימציית סיבוב */
  .rotate {
    transform: rotate(180deg);
  }

  /* עיצוב לאייקון X */
  .fa-times {
    transform: rotate(0deg);
  }
  
  /* מעבר חלק עבור שינוי האייקון */
  .fa-bars, .fa-times {
    transition: transform 0.3s ease;
  }

  .page1 p {
    position: relative;
    right: -1vw;
    transform: translate(-50%, -50%);
    top: 18%;
    color: #FFF;
    font-size: 2rem;
    text-align: center;
    opacity: 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    animation: SHOWTEXTLOGO 1s forwards 1.5s;
    line-height: 1.2;
  }
  
  .small_profile_img {
    width: 30px;
    border-radius: 50%;
    height: 30px;
    object-fit: cover;
    margin-left: 5px;
    margin-right: -2px;
  }
}

/* המסך הלבן שמכסה את הדף */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* הספינר המסתובב */
.loader {
  border: 10px solid #f3f3f3; /* רקע הספינר */
  border-top: 10px solid #3498db; /* צבע חלק העליון */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 1s linear infinite;
}

/* אנימציית הסיבוב */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.menuDown {
  position: fixed;
  left: 50%;
  bottom: -3%;
  display: flex;
  opacity: 0;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding: 0 30px;
  padding-bottom: 60px;
  color: #0d70a3;
  background-color: #fff;
  border-radius: 50px;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.1);

  transform: translateY(30%) translateX(-50%);
  z-index: 2;
  animation: menudownup 2s forwards 2.5s;

}


@keyframes menudownup {
  from {
    opacity: 0;
    
    transform: translateY(-30) translateX(-50%);
  }
  to {
    opacity: 1;
    transform: translateY(0px) translateX(-50%);
  }
}























/* עיצוב טפסי הרשמה והתחברות - עם התאמה לפלאפון */

/* משתנים גלובליים */
:root {
  --primary-color: #0d70a3;
  --primary-hover: #0a5782;
  --secondary-color: #0077b6;
  --light-color: #ffffff;
  --error-color: #ff4444;
  --success-color: #00aa00;
  --disabled-color: #bebebe;
  --border-radius: 25px;
  --input-radius: 5px;
  --box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s ease;
}

/* עיצוב בסיסי לחלון המודאל */
.reg {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  font-size: clamp(1rem, 4vh, 1.8rem);
  background-color: var(--light-color);
  width: 80%;
  height: 80%;
  z-index: 10;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  animation: animate_confirm 0.5s forwards;
  max-width: 1220px;
  max-height: 815px;
  overflow: hidden;
}

.registrationForm {
  position: absolute;
  right: 5%;
  width: 80%;
  margin: 0 auto;
  text-align: center;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  opacity: 1;
  display: none;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.loginationForm {
  position: absolute;
  right: 5%;
  width: 94%;
  margin: 0 auto;
  text-align: center;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  opacity: 1;
  display: none;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reg_right {
  position: relative;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #000;
  font-size: clamp(1rem, 4vh, 1.8rem);
  background-color: var(--light-color);
  width: 50%;
  height: 100%;
  z-index: 2;
  overflow-y: auto;
  padding: 10px;
}

.reg_left {
  position: relative;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #000;
  font-size: clamp(1rem, 4vh, 1.8rem);

  width: 50%;
  height: 100%;
  z-index: 2;
 
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  background-color: #FFF !important;
}

/* כפתור סגירה */
.reg_Xbutton {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #333;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 11;
  transition: var(--transition);
}

.reg_Xbutton:hover {
  color: var(--error-color);
  transform: scale(1.2);
}

/* עיצוב כותרות */
.registrationForm h2, 
.loginationForm h2, 
.confirmationForm h2 {
  color: var(--light-color);
  margin-bottom: 20px;
  font-size: clamp(1.2rem, 3vh, 1.8rem);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-size: 1.7rem;
}

/* עיצוב שדות קלט */
.input-group {
  position: relative;
  margin-bottom: 15px;
  width: 100%;
}

.input-group input {
  width: 80%;
  margin-bottom: 2px;
  padding: 12px 15px;
  border: 1px solid rgba(221, 221, 221, 0.8);
  border-radius: var(--input-radius);
  font-size: 16px;
  box-sizing: border-box;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.95);
}

.input-group input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.2);
}

/* עיצוב הודעות שגיאה */
.error-message {
  color: var(--error-color);
  position: absolute;
  right: 10%;
  top: 85%;
  font-size: 0.7em;
  display: none;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2px 5px;
  border-radius: 3px;
}

.error-message-X {
  position: absolute;
  right: 0%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  display: block;
}

.error-message-login {
  color: var(--error-color);
  font-size: 0.7em;
  margin: 5px 0;
  padding: 5px;
  display: none;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* עיצוב כפתורים */
.registr_submit {
  width: 100%;
  padding: 15px;
  margin: 0;
  margin-top: 3%;
  background-color: var(--primary-color);
  color: var(--light-color);
  border: none;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
  background-image: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
}

.registr_submit:disabled {
  background-color: var(--disabled-color);
  background-image: none;
  cursor: not-allowed;
}

.registr_submit:hover:not(:disabled) {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* עיצוב אימות קוד */

/* עיצוב אימות קוד - מעדכן את המיקום והתצוגה */
.confirmationForm {
  position: absolute;
  right: 5%;
  width: 95%;
  margin: 0 auto;
  text-align: center;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  display: none;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 3;
  /* הסרנו את ה-opacity: 0 שגורם לבעיות */
}

/* קוד האימות */
.confirmation-code {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  direction: rtl;
  margin: 20px 0;
  width: 100%;
}

.confirm-email-digit {
  width: 3vw;
  height: 4vw;
  text-align: center;
  font-size: 35px;
  border: 1px solid #ddd;
  border-radius: var(--input-radius);
  box-sizing: border-box;
  direction: rtl;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}


.confirm-email-digit:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.2);
  outline: none;
}

/* אנימציות */
@keyframes animate_confirm {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* תיקון למדיה קוורי במובייל */
@media (max-width: 768px) {
  .confirmationForm {
    position: relative;
    right: 0;
    width: 85%;
    margin: 0 auto;
  }
  
  .confirm-email-digit {
    width: 40px;
    height: 60px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .confirmationForm {
    width: 90%;
  }
  
  .confirm-email-digit {
    width: 35px;
    height: 50px;
    font-size: 20px;
  }
  .menuDown {
    padding-bottom: 0px;
  }
}

@keyframes animate_send {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}
@keyframes animate_send_open {
  from {
    opacity: 0;
    transform: translateY(-30);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

.animate_send {
  animation: animate_send 0.5s forwards;
}

.animate_confirm {
  animation: animate_confirm 0.5s forwards;
}

/* עיצוב תיבת סימון התקנון */
.checkbox-group {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  margin: 5px 0;
  width: 100%;
  direction: rtl;
  background: transparent;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--light-color);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 10px;
  height: 10px;
  margin-left: 8px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: 2px solid var(--light-color);
  border-radius: 3px;
  position: relative;
  outline: none;
  transition: all 0.2s ease;
  padding: 5px;
}

.checkbox-group input[type="checkbox"]:checked {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.checkbox-group input[type="checkbox"]:checked::before {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.terms-link {
  color: var(--light-color);
  text-decoration: underline;
  padding-right: 4px;
  font-weight: normal;
  transition: color 0.2s ease;
}

.terms-link:hover {
  color: #90e0ef;
}

/* עיצוב לוגו */
.logo_reg {
  max-width: 80%;
  height: auto;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.logo_reg:hover {
  transform: scale(1.05);
}

/* אפשרות 2: כפתור בצורת כרטיסייה */
.span_yes_no_btn {
  text-align: center;
  margin: 15px 0;
}

.span_yes_no_btn button {
  background-color: rgb(124 58 237 / 14%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #504def;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3sease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-weight: 700;
  text-decoration: none;
}

.span_yes_no_btn button:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.span_yes_no_btn button:active {
  transform: translateY(0);
}

/* קישור לשכחת סיסמה */
.passdont {
  text-align: left;
  width: 89%;
  /* margin-bottom: 10px; */
  display: flex
;
  justify-content: flex-end;
}

.passdont i {
  color: var(--light-color);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: underline;
}

.passdont i:hover {
  color: #90e0ef;
}

/* רקע כהה */
.black_screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 5;
  display: none;
  backdrop-filter: blur(3px);
}

/* הודעת SMS */
.isendyousms {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 25px;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--light-color);
  max-width: 80%;
  margin: 20px auto;
  text-align: center;
  animation: slideIn 0.5s ease-out;
}

.icon-container {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-container p {
  margin: 0;
  font-size: 1rem;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* התאמות רספונסיביות */
@media (max-width: 992px) {
  .reg {
    width: 80%;
    height: 75%;
  }
  
  .input-group input {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .reg {
    width: 90%;
    height: auto;
    max-height: 80vh;
    overflow-y: hidden;
    flex-direction: column;
    margin-top: 9vh;
    min-height: 80%;
    justify-content: start;
  }
  
  .reg_left, .reg_right {
    width: 100%;
    height: auto;
  }
  
  .reg_left {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    padding: 0px 0;
    order: -1;
  }
  
  .reg_right {
    padding: 20px 10px;
    overflow-y: visible;
  }
  
  .registrationForm, .loginationForm {
    position: relative;
    right: 0;
    width: 99%;
  }
  
  .registr_submit {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
  }
  
  .error-message {
    font-size: 0.65em;
  }
  
  .error-message-X {
    right: 8%;
  }
  
  .confirmation-code {
    gap: 5px;
  }
  
  .confirm-email-digit {
    width: 40px;
    height: 60px;
    font-size: 24px;
  }
  .logo_reg {
    max-width: 70%;
    display: none;
  }
}

@media (max-width: 468px) {
  .reg {
    width: 95%;
    padding: 15px;
    border-radius: 20px;
  }
  

  .input-group input {
    width: 95%;
    padding: 10px;
    font-size: 14px;
  }
  
  .checkbox-group label {
    font-size: 12px;
  }
  
  .checkbox-group input[type="checkbox"] {
    width: 14px;
    height: 14px;
  }
  
  .registr_submit {
    font-size: 16px;
    padding: 12px;
    border-radius: 0 0 20px 20px;
  }
  
  .confirm-email-digit {
    width: 35px;
    height: 50px;
    font-size: 20px;
  }
  
  .error-message {
    font-size: 0.6em;
    right: 5%;
  }
  
  .error-message-X {
    right: 7%;
    font-size: 0.7em;
  }
  
  .reg_Xbutton {
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
  }
  
  .logo_reg {
    max-width: 70%;
  }
}

/* תיקונים לגובה נמוך */
@media (max-height: 768px) {
  .reg {
    top: 50%;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .confirmation-code {
    margin: 10px 0;
  }
  
  .confirm-email-digit {
    height: 50px;
  }
  
  .registrationForm h2, 
  .loginationForm h2, 
  .confirmationForm h2 {
    margin-bottom: 10px;
    font-size: 1.2rem;
  }
  
  .input-group {
    margin-bottom: 10px;
  }
}


/* עיצוב כפתור 'שלח לי קוד חדש' */
.resend-code-btn {
  display: block;
  width: 100%;
  padding: 8px;
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.resend-code-btn:hover:not([disabled]) {
  background: rgba(255, 255, 255, 0.2);
}

.resend-code-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* עיצוב טיימר הקירור */
.cooldown-timer {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #ffffff;
  opacity: 0.8;
}
#regBirthDate {
  background-color: #fff;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
  cursor: pointer;
}