/* arabic */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Tajawal Medium"), local("Tajawal-Medium"),
    url(https://fonts.gstatic.com/s/tajawal/v3/Iurf6YBj_oCad4k1l8KiHrRpiYlJ.woff2)
      format("woff2");
  unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
    U+FB50-FDFF, U+FE80-FEFC;
}
/* latin */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Tajawal Medium"), local("Tajawal-Medium"),
    url(https://fonts.gstatic.com/s/tajawal/v3/Iurf6YBj_oCad4k1l8KiHrFpiQ.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Tajawal Bold"), local("Tajawal-Bold"),
    url(https://fonts.gstatic.com/s/tajawal/v3/Iurf6YBj_oCad4k1l4qkHrRpiYlJ.woff2)
      format("woff2");
  unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
    U+FB50-FDFF, U+FE80-FEFC;
}
/* latin */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Tajawal Bold"), local("Tajawal-Bold"),
    url(https://fonts.gstatic.com/s/tajawal/v3/Iurf6YBj_oCad4k1l4qkHrFpiQ.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
*,
:after,
:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
img,
svg {
  max-width: 100%;
  vertical-align: middle;
}
img {
  height: auto;
  border-style: none;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
input,
textarea {
  width: 100%;
  display: block;
  padding: 0.6125rem;
  color: #111;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 3px;
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
a {
  color: #2d79f3;
  text-decoration: none;
  background-color: transparent;
}
a:active,
a:focus,
a:hover {
  text-decoration: none;
}
svg {
  overflow: hidden;
}
button {
  border-radius: 0;
}
button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}
button,
input,
textarea {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button {
  text-transform: none;
}
[type="button"],
[type="submit"],
button {
  -webkit-appearance: button;
  appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
textarea {
  overflow: auto;
}
h1,
h2,
h3,
h4,
h5 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1;
  color: #282828;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.7rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.2rem;
}
h5 {
  font-size: 1rem;
}
table {
  border-collapse: collapse;
  width: 100%;
}
label {
  display: inline-block;
  margin-bottom: 0.5rem;
}
/*================= Icons Svg ===================*/

body {
  background: #000000;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body * {
  font-family: "Tajawal", sans-serif;
}

:root {
  --bg-color: #fff;
  --bg-secondary: #f3f4f6;
  --text-color: #1f2937;
  --border-color: #e5e7eb;
  --primary-color: #931800;
  --primary-hover: #bf290c;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --minColor: #bf290c;
}
.live-contener .video-js .vjs-big-play-button {
  left: 45%;
}
.live-contener > div.hls > video,
.live-contener > .iframe_code > iframe,
.live-contener .dplayer,
.live-contener > .Chimee,
.live-contener .xgplayer,
.live-contener > .artplayer > div,
.live-contener .videojs div#videojs-player,
.live-contener .jwplayer,
.live-contener iframe,
.live-contener .clappr,
.live-contener > div.plyr > .plyr.plyr--full-ui,
.live-contener > div#fluid_video_wrapper_Player,
.live-contener #svideo {
  direction: ltr !important;
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: calc(100% - 50px) !important;
  margin-top: 50px !important;
}

/* Share button styles */
#shareBtn {
  transition: all 0.3s ease;
  z-index: 1000;
  background: #bf290c;
  color: white;
  border: none;
  cursor: pointer;
  margin-top: 5px;
  padding: 7px 10px;
  border-radius: 10px;
  outline: none;
}
#shareBtn svg,
button.Reload svg {
  width: 25px;
  height: auto;
  transition: transform 0.3s ease;
}
#shareBtn:hover {
  background: #9e1f09 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#shareBtn:hover svg {
  transform: scale(1.2);
}

/* Animation for popup */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#sharePopup {
  animation: fadeIn 0.3s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .share-container {
    bottom: 10px;
    left: 10px;
  }

  #shareBtn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* Player Styles */
.player-poster[data-poster] .play-wrapper[data-poster] {
  width: auto !important;
}

.video-serv {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 5px 10px;
  width: 100%;
  margin: 0;
  flex-direction: row;
  align-items: center;
  overflow: auto;
  margin: 0 8px;
}
.ol-button {
  position: fixed;
  z-index: 100;
  width: 100%;
  margin: 0;
  top: 0;
  display: flex;
  padding: 0px 6px;
  align-items: center;
}
/* Server Button Styles */
.video-serv button {
  border: 0;
  outline: none;
  padding: 8px 16px;
  min-width: max-content;
  background: var(--bg-color);
  border-radius: 6px;
  color: var(--text-color);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-align: center;
  width: 100%;
  margin: 0;
  position: relative;
  white-space: nowrap;
  z-index: 3;
  flex: 1;
}

.video-serv button:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.video-serv button.selected {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  font-weight: 600;
}

/* Reload Button */
button.Reload {
  z-index: 100;
  background: var(--primary-color);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  margin-top: 5px;
  padding: 8px 9px;
  border-radius: 10px;
  outline: none;
}

button.Reload:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

button.Reload:active {
  transform: translateY(0);
}

/* Live Container */
.live-contener {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow, 0 1px 3px rgba(0, 0, 0, 0.1));
}

/*================= Themes ===================*/
/* Server Bar Carousel Improvement */
.video-serv::-webkit-scrollbar {
  height: 4px;
}
.video-serv::-webkit-scrollbar-track {
  background: #111;
}
.video-serv::-webkit-scrollbar-thumb {
  background: var(--minColor);
  border-radius: 10px;
}

/* Ad Pop-up Overlay */
.anub-ad-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.anub-ad-overlay.show {
    opacity: 1;
    visibility: visible;
}

.anub-ad-content {
    background: #fff;
    padding: 30px 20px 20px;
    border-radius: 12px;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.anub-ad-overlay.show .anub-ad-content {
    transform: scale(1);
}

.anub-ad-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.anub-ad-close:hover {
    background: #ff6b81;
}

.anub-ad-body {
    overflow: auto;
    max-height: 70vh;
}
