/* public_html\css\index.css */
/* עיצוב כללי */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'David', system-ui, -apple-system, sans-serif;
  font-weight: bold;
  direction: rtl;
}
/* === קובץ CSS לעמוד האירועים === */
:root {
    --primary-colorS: #2192ca;
    --primary-dark: #085780;
    --primary-light: #2194d3;
    --accent-color: #ffcc00;
    --accent-dark: #e6b800;
    --text-color: #333333;
    --light-text: #ffffff;
    --background-light: #f5f5f5;
    --background-dark: #1a1a1a;
    --card-background: #ffffff;
    --border-radius: 10px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* === איפוס וסגנונות בסיס === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.backimgpage1 {
    
    background: linear-gradient(to left, rgba(83, 135, 161, 0.9), rgba(8, 87, 128, 0.9)), url('../img/SORA.png');
    background-size: cover;
    background-position: center;
    opacity: 1;
}


a {
    text-decoration: none;
    color: inherit;
}

/* === מיכל עמוד האירועים === */
.events-page-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px 60px;
    position: relative;
    z-index: 1;
    margin-top: 13vh;
}

/* === כותרת עליונה === */
.hero-section {
    background: linear-gradient(to left, rgba(13, 112, 163, 0.9), rgba(8, 87, 128, 0.9)), url('../img/SORA.png');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    margin: 30px 0;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUpS 3s forwards 0.2s;
}
@keyframes fadeInUpS {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgb(251 102 149 / 31%), transparent);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: var(--light-text);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    color: var(--light-text);
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.search-container {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background: var(--background-light);
}

.search-container input:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-container button {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-colorS);
    color: white;
    border: none;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.search-container button:hover {
    background: var(--primary-dark);
}

/* === כותרות חלקים === */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgb(156, 192, 209);
    

}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--background-light);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
 
    animation: fadeInUpS1 3s forwards 0.6s;
}
@keyframes fadeInUpS1 {
    0% {
        opacity: 0;
       
    }
    100% {
        opacity: 1;
       
    }
}
.section-header h2 i {
    color: var(--accent-color);
}

.section-header.with-filter {
    flex-wrap: wrap;
}

.events-filter {
    display: flex;
    align-items: center;
}

.events-filter select {
    padding: 8px 15px;
    border: 1px solid rgba(13, 112, 163, 0.3);
    border-radius: 20px;
    background-color: transparent;
    color: var(--light-text);
    cursor: pointer;
    background: var(--primary-colorS);
}

.events-filter select:focus {
    outline: none;
    border-color: var(--primary-colorS);
}

/* === אירוע החודש === */
.featured-event-section {
    margin: 50px 0;
}

.featured-event {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 30px;
    background: linear-gradient(to left, #ffffff, #f8f9fa);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUpS 2s forwards 0.4s;
}

.featured-event:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.featured-event-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-event-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    transition: var(--transition);
}

.featured-event:hover .featured-event-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
}

.featured-event-date {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.featured-event-date .day {
    font-size: 2rem;
    line-height: 1;
    display: block;
}

.featured-event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.featured-event-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-event-content h3 {
    font-size: 2.2rem;
    color: var(--primary-colorS);
    margin-bottom: 20px;
    line-height: 1.2;
}

.event-details {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-size: 1rem;
}

.event-detail i {
    color: var(--primary-colorS);
    font-size: 1.2rem;
}

.event-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.view-details-button {
    align-self: flex-start;
    background: var(--primary-colorS);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-details-button:after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.view-details-button:hover {
    background: var(--primary-light);
}

.view-details-button:hover:after {
    transform: translateX(-5px);
}

/* === אירועי סוף השבוע === */
.weekend-events-section {
    margin: 60px 0;
}

.weekend-events-slider {
    position: relative;
}

.slider-container {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 20px 10px;
    margin: -20px -10px;
}

.weekend-event-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.weekend-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card-date .day {
    font-size: 1.5rem;
    line-height: 1;
    display: block;
}

.card-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    color: var(--primary-colorS);
    margin-bottom: 15px;
    line-height: 1.3;
    height: 3.1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.card-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.card-detail i {
    color: var(--primary-colorS);
    width: 16px;
    text-align: center;
}

.card-button {
    display: block;
    background: var(--primary-light);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.card-button:hover {
    background: var(--primary-colorS);
}

/* === קלפים ריקים === */
.empty-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, #f1f5f9, #e2e8f0);
    border: 2px dashed rgba(13, 112, 163, 0.3);
}

.empty-card-content {
    text-align: center;
    padding: 20px;
    color: var(--primary-colorS);
}

.empty-card-content i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.6;
}

.empty-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.empty-card-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.subscribe-button {
    background: var(--primary-colorS);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-button:hover {
    background: var(--primary-dark);
}

/* === כפתורי ניווט בסליידר === */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--primary-colorS);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-nav:hover {
    background: var(--primary-colorS);
    color: white;
}

.slider-nav.prev {
    right: -20px;
}

.slider-nav.next {
    left: -20px;
}

/* === קטגוריות === */
.event-categories-section {
    margin: 60px 0;
}

.categories-grid {
    display: flex;
    gap: 0px; 
justify-content: space-around;
}

.category-card {
    background: white;
border-radius: var(--border-radius);
padding: 25px 15px;
text-align: center;
box-shadow: var(--box-shadow);
transition: var(--transition);
width: 14%;

display: flex;
justify-content: center;
align-items: center;
FLEX-DIRECTION: column;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUpS 2s forwards 5s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to left, var(--primary-light), var(--primary-colorS));
   color: white;
}

.category-icon {
   font-size: 2rem;
   color: var(--accent-color);
   margin-bottom: 15px;
}

.category-card:hover .category-icon {
   transform: scale(1.1);
}

.category-card h3 {
   font-size: 1.1rem;
   color: var(--primary-colorS);
   transition: var(--transition);
}

.category-card:hover h3 {
   color: white;
}

/* === רשימת אירועים === */
.all-events-section {
   margin: 60px 0;
}

.events-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
   gap: 25px;
}

.event-card {
   background: white;
   border-radius: var(--border-radius);
   overflow: hidden;
   box-shadow: var(--box-shadow);
   transition: var(--transition);
   height: 100%;
   display: flex;
   flex-direction: column;
}

.event-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.event-image {
   height: 180px;
   background-size: cover;
   background-position: center;
   position: relative;
}

.event-overlay {
   position: absolute;
   top: 0;
   right: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
   transition: var(--transition);
}

.event-badge {
   position: absolute;
   top: 10px;
   left: 10px;
   padding: 5px 12px;
   border-radius: 20px;
   font-size: 0.8rem;
   font-weight: 600;
   z-index: 2;
}

.today-badge {
   background: #ff4d4d;
   color: white;
   animation: pulse 2s infinite;
}

.this-week-badge {
   background: var(--accent-color);
   color: var(--text-color);
}

@keyframes pulse {
   0% {
       box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
   }
   70% {
       box-shadow: 0 0 0 10px rgba(255, 77, 77, 0);
   }
   100% {
       box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
   }
}

.event-date {
   position: absolute;
   bottom: 10px;
   right: 10px;
   background: var(--accent-color);
   color: var(--text-color);
   padding: 8px 15px;
   border-radius: var(--border-radius);
   text-align: center;
   font-weight: 600;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
   z-index: 2;
}

.date-number {
   font-size: 1.5rem;
   line-height: 1;
}

.date-month {
   font-size: 0.8rem;
   text-transform: uppercase;
}

.event-info {
   padding: 20px;
   display: flex;
   flex-direction: column;
   flex-grow: 1;
}

.event-info h3 {
   margin: 0 0 15px;
   color: var(--primary-colorS);
   font-size: 1.2rem;
   line-height: 1.3;
   height: 3.1rem;
   overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
}

.event-meta {
   display: flex;
   flex-direction: column;
   gap: 10px;
   margin-bottom: 20px;
}

.event-time, .event-location, .event-price {
   display: flex;
   align-items: center;
   color: #666;
   font-size: 0.9rem;
}

.event-time i, .event-location i, .event-price i {
   margin-left: 8px;
   color: var(--primary-colorS);
   width: 16px;
}

.event-button {
   margin-top: auto;
   background: var(--primary-light);
   color: white;
   padding: 10px;
   border-radius: var(--border-radius);
   text-align: center;
   font-weight: 500;
   transition: var(--transition);
}

.event-card:hover .event-button {
   background: var(--primary-colorS);
}

/* === כפתור טעינת אירועים נוספים === */
.load-more-container {
   text-align: center;
   margin-top: 40px;
}

.load-more-button {
   background: transparent;
   color: var(--primary-colorS);
   border: 2px solid var(--primary-colorS);
   padding: 12px 30px;
   border-radius: 50px;
   font-size: 1rem;
   font-weight: 600;
   cursor: pointer;
   transition: var(--transition);
}

.load-more-button:hover {
   background: var(--primary-colorS);
   color: white;
}

/* === הודעה על אין אירועים === */
.no-events-message {
   grid-column: 1 / -1;
   text-align: center;
   padding: 60px 20px;
   background: #f0f4f8;
   border-radius: var(--border-radius);
   border: 2px dashed rgba(13, 112, 163, 0.3);
}

.no-events-message i {
   font-size: 3rem;
   color: #cbd5e1;
   margin-bottom: 20px;
}

.no-events-message h3 {
   font-size: 1.5rem;
   color: var(--primary-colorS);
   margin-bottom: 10px;
}

.no-events-message p {
   color: #64748b;
}

/* === רישום לניוזלטר === */
.newsletter-section {
   margin: 80px 0 40px;
   background: linear-gradient(to left, var(--primary-colorS), var(--primary-dark));
   border-radius: var(--border-radius);
   padding: 40px;
   text-align: center;
   position: relative;
   overflow: hidden;
}

.newsletter-section::before {
   content: '';
   position: absolute;
   top: 0;
   right: 0;
   width: 100%;
   height: 100%;
   background: url('../img/background1ran.png');
   opacity: 0.05;
   z-index: 0;
}

.newsletter-content {
   position: relative;
   z-index: 1;
}

.newsletter-section h2 {
   color: white;
   font-size: 2rem;
   margin-bottom: 15px;
}

.newsletter-section p {
   color: rgba(255, 255, 255, 0.8);
   max-width: 600px;
   margin: 0 auto 30px;
   font-size: 1.1rem;
}

.newsletter-form {
   display: flex;
   max-width: 500px;
   margin: 0 auto;
   position: relative;
}

.newsletter-form input {
   width: 100%;
   padding: 15px 20px;
   border: none;
   border-radius: 0 50px 50px 0;
   font-size: 1rem;
}

.newsletter-form input:focus {
   outline: none;
}

.newsletter-form button {
   background: var(--accent-color);
   color: var(--text-color);
   border: none;
   padding: 0 30px;
   border-radius: 50px 0 0 50px;
   font-weight: 600;
   cursor: pointer;
   transition: var(--transition);
}

.newsletter-form button:hover {
   background: var(--accent-dark);
}

/* === התאמה למובייל === */
@media (max-width: 1024px) {
   .featured-event {
       grid-template-columns: 1fr;
   }
   
   .featured-event-image {
       height: 300px;
   }
   
   .weekend-event-card {
       flex: 0 0 calc(50% - 20px);
   }
   
   .categories-grid {
       grid-template-columns: repeat(3, 1fr);
       position: relative;
       top: -33px;
   }
   .category-icon {
    margin-bottom: 0px;
   }
   .event-categories-section {
    margin: 60px 0 -25px 0;
    }
    .section-header {
        margin-bottom: 0;
    }
}
.category-card{
    background: white;
border-radius: var(--border-radius);
padding: 25px 15px;
text-align: center;
box-shadow: var(--box-shadow);
transition: var(--transition);
width: 14%;
height: 11vw;
display: flex;
justify-content: center;
align-items: center;
FLEX-DIRECTION: column;
}
.categories-grid {
    display: flex;
    gap: 0px; 
justify-content: space-around;
}
.category-card h3 {
   
}


@media (max-width: 768px) {
    .category-icon {
        margin-bottom: 0px;
    }
    .category-card{
        background: white;
    border-radius: var(--border-radius);
    padding: 25px 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    width: 14%;
    height: 14vw;
    display: flex
;
    justify-content: center;
    align-items: center;
    FLEX-DIRECTION: column;
    }
    .categories-grid {
        display: flex;
        gap: 0px; 
    justify-content: space-around;
    }
    .category-card h3 {
        display: none;
    }
   .hero-section {
       padding: 40px 20px;
   }
   
   .hero-section h1 {
       font-size: 2rem;
   }
   
   .hero-section p {
       font-size: 1rem;
   }
   
   .section-header {
       flex-direction: column;
       align-items: flex-start;
       gap: 10px;
   }
   
   .section-header h2 {
       font-size: 1.5rem;
   }
   
   .weekend-event-card {
       flex: 0 0 100%;
   }
   
   .slider-nav {
       display: none;
   }
   
   .featured-event-content {
       padding: 20px;
   }
   
   .featured-event-content h3 {
       font-size: 1.8rem;
   }
   

   
   .events-grid {
       grid-template-columns: 1fr;
   }
   
   .newsletter-form {
       flex-direction: column;
       gap: 10px;
   }
   
   .newsletter-form input, 
   .newsletter-form button {
       border-radius: 50px;
       width: 100%;
   }
}

@media (max-width: 480px) {
   .categories-grid {
       grid-template-columns: 1fr 1fr;
   }
   
   .newsletter-section {
       padding: 30px 20px;
   }
   
   .newsletter-section h2 {
       font-size: 1.5rem;
   }
}

/* === אנימציות === */
@keyframes fadeIn {
   from { opacity: 0; transform: translateY(20px); }
   to { opacity: 1; transform: translateY(0); }
}

.event-card, .weekend-event-card, .category-card {
   animation: fadeIn 0.5s ease-out forwards;
   animation-delay: calc(var(--animation-order) * 0.15s);
}

/* עיצוב כפתור חזרה */
.back-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px var(--shadow-color);
    margin-bottom: 20px;
    text-decoration: none;
}

.back-button i {
    margin-left: 8px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.back-button:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px var(--shadow-color);
}

.back-button:hover i {
    transform: translateX(3px);
}

.back-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px var(--shadow-color);
}

/* עיצוב כותרת חיפוש */
.search-header {
    background-image: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    color: var(--text-color);
    /* padding: 30px 25px; */
    border-radius: 8px;
    /* margin-bottom: 25px; */
    box-shadow: 0 4px 15px var(--shadow-color);
    position: relative;
    overflow: hidden;
    text-align: right;
}

.search-header h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}

.search-header p {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 300;
    position: relative;
}

.search-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
}

/* עיצוב כותרת תוצאות חיפוש */
.search-results-title {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    margin-right: 10px;
}

/* עיצוב קונטיינר תוצאות */
.search-results-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-top: 20px;
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .search-header {
        padding: 20px 15px;
    }
    
    .search-header h1 {
        font-size: 22px;
    }
    
    .search-header p {
        font-size: 14px;
    }
    
    .back-button {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* עיצוב למקרה של העדר תוצאות */
.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ced4da;
}

.no-results h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.no-results p {
    font-size: 14px;
}

* {
  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 {
  display: block !important;
width: 100%; /* במקום 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: 10;
  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;
}

/* === Footer === */
.site-footer {
    margin-top: 60px;
    color: var(--light-text);
    position: relative;
    z-index: 1;
}

.footer-top {
    background: linear-gradient(to left, var(--primary-dark), #06405e);
    padding: 60px 20px 40px;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 40px;
}

.footer-col h5 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    color: var(--text-color);
    transform: