/* ׳¢׳¨׳•׳¥ ׳׳‘׳ ׳™׳“ - ׳§׳•׳‘׳¥ CS/* ׳×׳׳•׳ ׳•׳× ׳"׳¡׳"׳¨׳•׳× */
.series-img {
  height: 120px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
  background: #FFE1B2;
}§׳¨׳™ */
/* ׳”׳’׳“׳¨׳•׳× ׳›׳׳׳™׳•׳× ׳׳¢׳‘׳¨׳™׳× RTL */
body {
  background: orange;
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  direction: rtl;
}

/* ׳¨׳©׳× ׳›׳¨׳˜׳™׳¡׳™ ׳”׳¡׳“׳¨׳•׳× */
.series-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 48px 0 0 0;
}

/* ׳›׳¨׳˜׳™׳¡ ׳¡׳“׳¨׳” */
.series-card {
  background: #2d004d;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0002;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 18px 0;
  transition: transform 0.2s;
}

.series-card:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px #0003;
}

/* ׳×׳׳•׳ ׳•׳× ׳”׳¡׳“׳¨׳•׳× */
.series-img {
  height: 163px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
  background: #FFE1B2;
}

/* ׳›׳•׳×׳¨׳•׳× ׳”׳¡׳“׳¨׳•׳× */
.series-title {
  color: #2d004d;
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 12px;
  text-align: center;
}

/* ׳׳•׳“׳׳™׳ (׳—׳׳•׳ ׳™׳•׳× ׳§׳•׳₪׳¦׳•׳×) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2100;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #ff9100;
  border-radius: 18px;
  max-width: 340px;
  width: 90vw;
  margin: auto;
  padding: 24px 18px;
  box-shadow: 0 8px 32px #0005;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #2196f3;
  cursor: pointer;
}

.modal h2 {
  color: #2196f3;
  text-align: center;
  margin-bottom: 16px;
}

/* ׳©׳“׳•׳× ׳§׳׳˜ */
.input-field {
  width: 90%;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #bbb;
  font-size: 1rem;
  text-align: right;
}

.input-field:last-of-type {
  margin-bottom: 18px;
}

/* ׳›׳₪׳×׳•׳¨׳™׳ */
.btn {
  background: #2196f3;
  color: #2d004d;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background 0.2s;
}

.btn:hover {
  background: #1976d2;
}

.btn-logout {
  background: #e53935;
}

.btn-logout:hover {
  background: #c62828;
}

/* ׳”׳•׳“׳¢׳•׳× */
.message {
  margin-top: 8px;
  font-size: 1rem;
}

.message-success {
  color: #4caf50;
}

.message-error {
  color: #e53935;
}

.message-info {
  color: #2196f3;
}

/* ׳×׳₪׳¨׳™׳˜ ׳¢׳׳™׳•׳ */
.top-menu {
  position: fixed;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-section {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ׳›׳•׳×׳¨׳× ׳”׳¨׳׳©׳™׳× */
.main-title {
  text-align: center;
  color: #000;
  margin-top: 24px;
  font-size: 2.5rem;
  text-shadow: 2px 2px 8px #0005;
  position: fixed;
  top: 8vh;
  left: 0;
  right: 0;
  z-index: 10;
}

/* ׳׳•׳“׳׳ ׳₪׳¨׳§׳™׳ ׳׳™׳•׳—׳“ */
.episodes-modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.episodes-content {
  background: orange;
  border-radius: 18px;
  max-width: 420px;
  width: 90vw;
  margin: auto;
  padding: 24px 18px;
  box-shadow: 0 8px 32px #0005;
  position: relative;
  border: 3px solid #ff8f00;
}

/* ׳¡׳’׳ ׳•׳ ׳׳×׳™׳׳•׳¨ ׳”׳¡׳“׳¨׳” */
.series-description {
  background: rgba(33, 150, 243, 0.1);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-right: 4px solid #2196f3;
}

.series-description h3 {
  color: #2196f3;
  margin: 0 0 10px 0;
  font-size: 1.1rem;
}

.series-description p {
  color: #2d004d;
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
  text-align: right;
}

/* ׳¨׳©׳™׳׳× ׳₪׳¨׳§׳™׳ */
.episodes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.episode-item {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: orange;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid #ff8f00;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-direction: row-reverse;
}

.episode-title {
  font-size: 1.6rem;
  color: #2d004d;
  user-select: none;
  font-weight: bold;
  margin-right: 22px;
  cursor: pointer;
  line-height: 1.2;
  text-align: right;
  flex: 1;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.episode-title:hover {
  color: #1565c0;
}

.episode-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  border-radius: 12px;
  border: 3px solid #ff8f00;
  background: #FFE1B2;
  box-shadow: 0 3px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.15s;
}

.episode-image:hover {
  transform: scale(1.08);
}

/* ׳׳•׳“׳׳ ׳•׳™׳“׳׳• */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1100;
  align-items: center;
  justify-content: center;
}

.video-content {
  background: #ff9100;
  border-radius: 18px;
  max-width: 600px;
  width: 96vw;
  margin: auto;
  padding: 24px 18px;
  box-shadow: 0 8px 32px #0005;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-player {
  width: 100%;
  max-width: 540px;
  border-radius: 12px;
  background: #000;
}

/* ׳׳•׳“׳׳ ׳™׳¦׳™׳¨׳× ׳§׳©׳¨ */
.contact-modal {
  background: #ffa726;
}

.contact-content {
  max-width: 400px;
}

.contact-text {
  color: #2d004d;
  text-align: center;
  line-height: 1.6;
  font-size: 1.1rem;
  width: 100%;
}

.email-button {
  background: linear-gradient(45deg, #2196f3, #21cbf3);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
  transition: all 0.3s ease;
}

.contact-info {
  background: rgba(33, 150, 243, 0.1);
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
}

.contact-info p {
  margin: 0;
  font-weight: bold;
  color: #1976d2;
}

.contact-info ul {
  margin: 10px 0 0 20px;
  color: #555;
  text-align: right;
}

/* ׳˜׳‘׳׳× ׳׳©׳×׳׳©׳™׳ ׳‘׳׳•׳“׳ ׳׳ ׳”׳ */
.users-table {
  width: 100%;
  border-collapse: collapse;
  direction: rtl;
  text-align: right;
  font-family: Arial, sans-serif;
  background-color: #ff9800;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.users-table th {
  background: #ffb74d;
  border-bottom: 2px solid #f57c00;
  padding: 12px 8px;
  color: #2d004d;
  font-weight: bold;
}

.users-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #ffcc80;
  background: rgba(255, 255, 255, 0.1);
}

.users-table tr:hover {
  background: rgba(255, 255, 255, 0.2);
}

.users-table .user-number {
  text-align: center;
  font-weight: bold;
  color: #f57c00;
}

.users-table .user-date {
  text-align: center;
  color: #5d4037;
  font-size: 0.9rem;
}

.admin-buttons {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.admin-btn {
  background: #2196f3;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  margin: 0 5px;
  transition: background 0.2s;
}

.admin-btn:hover {
  background: #1976d2;
}

.admin-btn.export {
  background: #4caf50;
}

.admin-btn.export:hover {
  background: #388e3c;
}

/* מודאל לוח שידור */
.broadcast-modal {
  max-width: 500px;
  direction: rtl;
  text-align: center;
}

.broadcast-schedule {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.broadcast-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.broadcast-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.broadcast-date {
  font-size: 1.1rem;
  font-weight: bold;
  color: #2196f3;
  text-align: right;
  flex: 1;
}

/* ׳¨׳¡׳₪׳•׳ ׳¡׳™׳‘׳™׳•׳× */
@media (max-width: 900px) {
  .series-card { 
    width: 220px; 
  }
  .series-img { 
    height: 120px; 
  }
}

@media (max-width: 600px) {
  .series-grid { 
    gap: 16px; 
    padding-top: 16px; 
  }
  .series-card { 
    width: 98vw; 
    max-width: 320px; 
  }
  
  .main-title {
    font-size: 2rem;
  }
  
  .top-menu {
    left: 12px;
    right: 12px;
  }
}