 

* {
  padding: 0;
  margin: 0;
  outline: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  
}
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  box-sizing: border-box;
  background-color: var(--bg-color);
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family:   'Cairo', sans-serif; !important;
  background-color: var(--match-bgcolor) !important;
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: calc(78px + 26px + 12px);

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.page-content {
  min-height: 100vh;
  padding-bottom: 120px;
}
.sidepanel {
  width: 0;
  position: fixed;
  z-index: 999;
  top: 0;
  height: 100%;
  right: 0;
  background-color: var(--link-color);
  overflow-x: hidden;
  transition: 0.5s;

  box-shadow: -8px 0 6px -6px rgba(0, 0, 0, 0.5);
}

.sidepanel a {
  padding: 20px;
  text-align: right;
  text-decoration: none;
  font-size: 18px;
  background-color: var(--link-color);
  display: flex;
  transition: 0.3s;
  flex-direction: row-reverse;
  align-items: center;
}

/* Live Filter Button */
.filter-container {
position: absolute;
 
    margin-left: 50px;
    left: 0;
 
    display: flex;
    justify-content: center;
    padding: 5px;
    border-radius: 8px;
}
 
.hide-match{ display:none !important; }


/* ===== Live Toggle (Settings style - SMALL) ===== */
.live-switch{
    width: 55px;
    height: 30px;
     border-radius: 9px;
    background: var(--match-bgcolor);
    padding: 0;
    margin: 5px;
    font-size: 17px;
    border: 1px solid;
    outline: none;
    text-align: center;
    color: var(--text-color);
    overflow: hidden;
    transition: background .18s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* النص افتراضيًا (OFF): ع 
.live-switch-text{
  position: absolute;
  left: 20px;               
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 800;
  color: rgba(255,255,255,.95);
  letter-spacing: .2px;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  transition: left .18s ease, right .18s ease;
}

 .live-switch.active .live-switch-text{
  left: 5px;
  right: auto;
}*/


/* الدائرة */
.live-switch-knob{
position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(0,0,0,.35);
  transition: left .18s ease;
}

/* ON */
.live-switch.active{
  background: #e53935;       /* ON red */
}
.live-switch.active .live-switch-knob{
  left: 36px;
}

/* Disabled */
.live-switch.disabled{
  opacity: .5;
  cursor: not-allowed;
}

 

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h2 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

.openbtn {
  position: absolute;
  margin-left: 0px;
  left: 0;
  border-top: 3px solid transparent;
  top: 0;
  border: none;
  padding: 18px;
  display: block;
  cursor: pointer;
}

.toggle {
  position: relative;
  margin-top: 10px;
  display: inline-block;
  width: 40px;
  height: 30px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: grey;
  transition: 0.4s;
  border-radius: 34px;
  height: 20px;
}

.toggle .slider:before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  right: 4px;
  bottom: 4px;
  background-color: #0a0a43;
  transition: 0.2s;
  border-radius: 6px;
}

.toggle input:checked + .slider {
  background-color: crimson !important;
}

.toggle input:checked + .slider:before {
  transform: translateX(-26px);
}
a {
  text-decoration: none;
}
a[disabled] {
  pointer-events: none;
  opacity: 0.5;
}
#settings-icon {
  position: absolute;
  margin-left: 50px;
  left: 0;
  top: 0;
  padding: 15px !important;
  border-top: 3px solid transparent;

  display: block;
  cursor: pointer;
  padding: 5px;
}



.padding {
  padding-top: 10px;
}
#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--match-bgcolor) !important;
  padding: 24px;
   border-radius: 8px;
  width: 80%;
  direction: rtl;
}

.modal-content h2 {
  margin-top: 0;
}
.modal-content p {
  display: flex;
}
#close-modal {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}
#close-bestmatchmodal {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
}
erm {
  font-size: x-small;
  margin: 5px;
}
#toggleFullscreen {
  position: absolute;
  border-top: 3px solid transparent;

  margin-left: 100px;
  left: 0;
  padding: 15px;
  top: 0;
  display: block;
  cursor: pointer;
}

 

/* Form container */

.no-matches {
  text-align: center;
  translate: 0px 100px;
  min-height: 50vh;
}

#selected-day {
  font-size: 1rem;
  margin: 20px;
  margin-bottom: 10px;
  background: linear-gradient(to right, #ff0000, #dc37b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
