/* صرف اپنے کنٹینر کو اسٹائل کریں، تھیم کو مت توڑیں */
.agenda-container { 
  max-width: 900px; 
  margin: 20px auto; 
  background: #111; 
  border-radius: 12px; 
  overflow: hidden; 
}
.agenda-header { 
  padding: 12px; 
  text-align: center; 
  font-weight: bold; 
  background: #D80000; 
  color: #fff; 
}
ul#menu { 
  list-style: none; 
  margin: 0; 
  padding: 15px; 
  background: #fff; 
}
li.toggle-submenu { 
  background: #fff; 
  border: 3px solid #000; 
  border-radius: 12px; 
  margin-bottom: 12px; 
  overflow: hidden; 
}
.match-info { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 12px; 
  cursor: pointer; 
}
.match-left { display: flex; align-items: center; gap: 10px; }
.match-time { font-weight: bold; }
.flag { width: 35px; height: 22px; border-radius: 4px; object-fit: cover; }
.match { font-weight: 600; }
.submenu-list { 
  display: none; 
  padding: 10px 20px; 
  border-top: 2px solid #000; 
}
.submenu-item { 
  display: block; 
  padding: 8px 0; 
  color: #dd0303; 
  text-decoration: none; 
  font-weight: 600; 
  cursor: pointer;
}
.submenu-item i { margin-right: 8px; }

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #000;
  display: none;
  flex-direction: column;
  z-index: 999999;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #D80000;
  padding: 10px 15px;
  font-weight: bold;
  color: white;
  z-index: 10;
}
.iframe-wrapper {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #000;
}
.modal-iframe {
  position: absolute;
  top: -65px;
  left: 0;
  width: 100%;
  height: calc(100% + 120px);
  border: none;
}
.close-btn {
  background: #ff0000;
  border: none;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
}
body.modal-open {
  overflow: hidden !important;
  height: 100vh;
}