   @font-face {
  font-family: "vazir";
  src: url("/fonts/Vazir-Black.woff") format("woff");
    }
   * {
    font-family: 'vazir';
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    
    body {
      background: #f2f2f2;
      direction: rtl;
    }

    
    .page {
      max-width: 420px;
      margin: 0 auto;
      background: #ffffff;
      min-height: 100vh;
    }

    /* هدر بالا */
    .top-bar {
      background: #1abc9c;
      border-bottom: 1px solid #e0e0e0;
      /* margin: 5px; */
      padding: 5px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      /* background:
        linear-gradient(to bottom, #f5f5f5, #1abc9c ),
        url() center/cover no-repeat; */
    }

    .top-left,
    .top-right {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .top-left{
      /* border: 1px solid red; */
      gap: 0;
    }
    .logo-ligabad{
      width: 50px;
    }

    .top-title {
      font-size: 13px;
      color: #fff;
      white-space: nowrap;
    }

    .app-badge {
      background: #f2f2f2;
      height: 4px;
      border-radius: 2px;
      overflow: hidden;
      display: flex;
      width: 56px;
    }

    .app-badge span {
      flex: 1;
    }

    .app-badge span:nth-child(1) { background: #f44336; }
    .app-badge span:nth-child(2) { background: #4caf50; }
    .app-badge span:nth-child(3) { background: #2196f3; }

    .logo {
      width: 80px;
      height: 24px;
      background: #ddd;
      border-radius: 4px;
      color: red;
      text-align: center;
      text-decoration: none;
    }

    .menu-icon {
      width: 20px;
      height: 16px;
      border-radius: 2px;
      border: 1px solid #aaa;
      position: relative;
    }

    .menu-icon::before,
    .menu-icon::after {
      content: "";
      position: absolute;
      left: 3px;
      right: 3px;
      height: 1px;
      background: #555;
    }
    .menu-icon::before { top: 4px; }
    .menu-icon::after { bottom: 4px; }

    /* کاور مسابقه */
    .match-header {
      position: relative;
      color: #ffffff;
      padding: 32px 16px 22px;
      /* margin: 5px 0; */
      /* background:
        linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.65)),
        url() center/cover no-repeat; */


        background:
        linear-gradient(to top, rgba(0,0,0,0.5)  , #1abc9c ),
        url() center/cover no-repeat;

    }

    .match-title {
      font-size: 15px;
      margin-bottom: 16px;
      text-align: center;
    }

    .match-row {
      display: flex;
      align-items: center;       /* همه در یک ارتفاع */
      justify-content: space-between;
      gap: 12px;
    }

    .team {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .team-logo {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: #eeeeee;
      border: 2px solid rgba(255,255,255,0.8);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .team-logo img{
      width: 50px;
      height: 50px;
      border-radius: 50%;
    }

    .team-name {
      margin-top: 8px;
      font-size: 16px;
    }

    .center-col {
      flex: 0 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .result-label {
      font-size: 12px;
      margin-bottom: 4px;
      position: absolute;
      top: 0;
      padding: 6px 18px;
      background: rgba(0,0,0,0.45);
      border-radius: 8px;
      /* font-size: 22px;
      font-weight: 600; */
    }

    .match-result-box {
      padding: 6px 18px;
      background: rgba(0,0,0,0.45);
      border-radius: 8px;
      font-size: 22px;
      font-weight: 600;
    }

    /* تب‌های پایین هدر */
    .tabs {
      background: #ffffff;
      box-shadow: 0 2px 4px rgba(0,0,0,0.08);
      display: flex;
      justify-content: space-around;
      padding: 10px 4px;
      font-size: 13px;
    }

    .tab {
      color: #666;
      padding: 4px 6px;
    }

    .tab.active {
      color: #070707;
      font-weight: 600;
      position: relative;
    }

    .tab.active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -6px;
      height: 2px;
      background: #05e7d4;
      border-radius: 2px;
    }

    /* دکمه خلاصه بازی */
    .summary-btn {
      margin: 16px auto 12px;
      width: calc(100% - 24px);
      background: #00aeb6;
      color: #ffffff;
      border-radius: 6px;
      padding: 10px 0;
      text-align: center;
      font-size: 14px;
    }

    /* باکس اطلاعات مسابقه */
    .match-info {
      margin: 0 12px 16px;
      background: #ffffff;
      border-radius: 8px;
      padding: 14px 3px;
      font-size: 13px;
      color: #444;
      /* box-shadow: 0 1px 2px rgba(0,0,0,0.04); */
    }

    .box-info{
     box-shadow: 0,4px , 6px, rgba(0,0,0,0.04);
     margin: 10px 0;
     /* background-color: #f5f5f5; */
    }

    .info-row {
      display: flex;
      align-items: center;
      margin-bottom: 8px;
    }

    .info-row:last-child {
      margin-bottom: 0;
    }

    .info-icon {
      width: 18px;
      height: 18px;
      margin-left: 8px;
      border-radius: 4px;
      background: #e0f2f1;
    }
    .info-icon{
      width: 18px;
      height: 18px;
    }

    .info-text-main {
      font-size: 13px;
    }


    
.events{max-width:600px;margin:auto;background:#fff;border-radius:12px;padding:16px 0;box-shadow:0 4px 12px rgba(0,0,0,.08)}
.title{font-size:20px;font-weight:bold;margin-bottom:12px;color:#0b3558}
.event{display:flex;align-items:center;justify-content:space-between;padding:10px 0}
.event{border-top:1px solid #eee}
.time{width:40px;color:#555;font-size:14px}
.info{flex:1;padding:0 10px}
.name{font-weight:100; font-size: 12px; color:#222}
.sub{font-size:11px;color:#777;margin-top:2px}
.icon{width:26px;text-align:center}
.ball{color:#1e88e5;font-size:18px}
.card-yellow{width:16px;height:22px;background:#f4d21f;border-radius:3px;margin:auto}
.half{margin:16px 0;text-align:center;color:#666;font-size:14px;position:relative}
.half:before,.half:after{content:"";position:absolute;top:50%;width:35%;height:1px;background:#ddd}
.half:before{right:0}
.half:after{left:0}
.subs{display:flex;align-items:center;gap:6px}
.arrow-in{color:#2e7d32;font-size:18px}
.arrow-out{color:#c62828;font-size:18px}


/* استایل تب‌ها */

/* 
.tabs {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    margin: 15px 0;
}

.tab {
    cursor: pointer;
    padding: 5px 10px;
    color: #666;
    transition: all 0.3s;
}

.tab.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    font-weight: bold;
} */

/* صفحات تب‌ها */
.box-page {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: fadeIn 0.5s;
}

.box-page.selected {
    display: block;
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.organi-event{
  display: flex;
  flex-direction: row;
}
.events-teama, .events-teamb{
  width: 50%;
 
}
.videoes{
  /* display: flex;
  justify-content: center; */
}

/* loader */
 .loader {
           margin: 100px auto;
            width: 50px;
            height: 50px;
            position: relative;
        }
        
        .loader .circle {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
        }
        
        .loader .circle:before {
            content: '';
            display: block;
            margin: 0 auto;
            width: 15%;
            height: 15%;
            background-color: #1abc9c;
            border-radius: 50%;
            animation: circleFade 1.2s infinite ease-in-out both;
        }
        
        .loader .circle-2 { transform: rotate(30deg); }
        .loader .circle-3 { transform: rotate(60deg); }
        .loader .circle-4 { transform: rotate(90deg); }
        .loader .circle-5 { transform: rotate(120deg); }
        .loader .circle-6 { transform: rotate(150deg); }
        .loader .circle-7 { transform: rotate(180deg); }
        .loader .circle-8 { transform: rotate(210deg); }
        .loader .circle-9 { transform: rotate(240deg); }
        .loader .circle-10 { transform: rotate(270deg); }
        .loader .circle-11 { transform: rotate(300deg); }
        .loader .circle-12 { transform: rotate(330deg); }
        
        .loader .circle-2:before { animation-delay: -1.1s; }
        .loader .circle-3:before { animation-delay: -1.0s; }
        .loader .circle-4:before { animation-delay: -0.9s; }
        .loader .circle-5:before { animation-delay: -0.8s; }
        .loader .circle-6:before { animation-delay: -0.7s; }
        .loader .circle-7:before { animation-delay: -0.6s; }
        .loader .circle-8:before { animation-delay: -0.5s; }
        .loader .circle-9:before { animation-delay: -0.4s; }
        .loader .circle-10:before { animation-delay: -0.3s; }
        .loader .circle-11:before { animation-delay: -0.2s; }
        .loader .circle-12:before { animation-delay: -0.1s; }
        
        @keyframes circleFade {
            0%, 39%, 100% { opacity: 0; }
            40% { opacity: 1; }
        }
        #mlod{
          display: flex;
          justify-content: center;
          margin-top: 20px;
        }
/* loader */
.title_referess{
  color: #000;
}


.referees-table-container {
    margin: 40px 0;
    overflow-x: auto;
}

.referees-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.referees-table thead {
    background-color: #2c3e50;
    color: white;
}

.referees-table th {
    padding: 16px 12px;
    text-align: right;
    font-weight: 600;
    font-size: 13px;
}

.referees-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.referees-table tbody tr:last-child {
    border-bottom: none;
}

.referees-table tbody tr:hover {
    background-color: #f8f9fa;
}

.referees-table td {
    padding: 14px 12px;
    text-align: right;
    font-size: 13px;
}

.referee-role {
    color: #2980b9;
    font-weight: 500;
    width: 40%;
}

.referee-name {
    color: #2c3e50;
    font-weight: 400;
}

/* برای حالت موبایل */
@media (max-width: 768px) {
    .referees-table {
        font-size: 14px;
    }
    
    .referees-table th,
    .referees-table td {
        padding: 10px 8px;
    }
}