.page-item:last-child .page-link {
    border-top-left-radius: var(--bs-pagination-border-radius);
    border-bottom-left-radius: var(--bs-pagination-border-radius);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.page-item:first-child .page-link {
    border-top-right-radius: var(--bs-pagination-border-radius);
    border-bottom-right-radius: var(--bs-pagination-border-radius);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.pagination .page-item.active .page-link {
    background-color: #5f9394;
    border-color: #5f9394;
    color: #fff;
}

.pagination .page-link {
    font-weight: bold;
    color: #292424;
}

.pagination .page-link:hover {
    background-color: #4c7f80;
    border-color: #4c7f80;
    color: #fff;
}

.pagination {
    background-color: #eef4f5;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
}

@media (max-width: 1000px) {
    .pagination {
        padding-bottom: 25px;
    }
}

/* قسمت ویدیوی مدال در راهنما */
@media (max-width: 1000px) {
    .iframe-wrapper iframe {
        height: 232px;
        object-fit: cover;
        overflow: hidden;
    }
}

@media (min-width: 1001px) {
    .iframe-wrapper iframe {
        height: 330px;
        object-fit: cover;
        overflow: hidden;
    }
}

.modal-body .role-image::before {
    content: "";
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8px;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    background-color: #606265;
    border-radius: 4px;
    margin-left: 10px;
    display: block;
    margin: 7px 7px;
}

.modal-body {
    font-size: calc(13px + 0.2vw);
}

#banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 7px 0px;
    text-align: center;
    z-index: 1000;
    text-decoration: none;

    background:
    linear-gradient(to bottom, #033434, #184849, #255b5ce0);
    color: white;

    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  }

  .banner-text h1 {
    margin: 0;
    font-size: 21px;
    font-weight: bold;
  }

  .banner-text p {
      margin: 9px 0 7px;
      font-size: 15px;
      color: #e7b242;
      font-weight: 700;
  }

  .countdown {
    font-size: 20px;
    margin-top: 10px;
  }


  .row-line {
      display: flex;
      align-items: center;
      justify-content: space-evenly;

    }
    .row-line p,
    .row-line span {
      margin: 0;
      padding: 0 5px;
    }

    .text-gold {
      color : red !important;
      font-weight: bold;
      font-size: 1.3em;
    }

    .countdown {
      margin-top: 15px;
      display: flex;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .time-box {
      background: linear-gradient(to bottom, #ffcc00, #ff6600);
      padding: 0px 6px;
      border-radius: 7px;
      min-width: 60px;
      text-align: center;
      font-weight: bold;
    }

    .time-box span {
      display: block;
      font-size: 0.8em;
      margin-top: 2px;
    }
    .distance {
      font-size: 20px !important;
      font-weight: bold !important;;
        color:red !important;
    }
