.notif-toast {
  background: #1b8354 !important;
  color: #fff !important;
  border-radius: 10px !important;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1) !important;
}

.notif-toast [data-button] {
  background: #ffffff !important;
  color: #1b8354 !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 2px !important;
  padding: 8px 12px !important;
  font-weight: 700 !important;
}

.notif-toast [data-button]:hover {
  background: rgba(255, 255, 255, 0.9) !important;
}

.home-report {
  padding-bottom: 84px;

  .reports-sec-cont {
    width: 100%;
    border-radius: 16px;
    background: linear-gradient(87deg, #1b8354 0.91%, #0e3930 99.83%);
    position: relative;
    overflow: hidden;

    .bg-cont {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      gap: 2px;
      max-height: 500px;

      @media screen and (max-width: 1200px) {
        flex-direction: column;
        overflow: hidden;

        img {
          transform: rotate(90deg);
          height: 100%;
          flex-direction: 0;
        }
      }
    }

    .overlay {
      position: absolute;
      padding: 0 70px;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;

      @media screen and (max-width: 992px) {
        flex-direction: column;
        padding: 20px;
        align-items: center;
        justify-content: center;
      }

      .r-side {
        @media screen and (max-width: 992px) {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
        }

        h2 {
          font-size: 48px;
          font-weight: 600;
          color: #fff;

          @media screen and (max-width: 992px) {
            font-size: 24px;
            text-align: center;
          }
        }

        p {
          font-size: 16px;
          font-weight: 400;
          color: #ced4da;
          margin-bottom: 30px;

          @media screen and (max-width: 992px) {
            margin-bottom: 12px;
            text-align: center;
          }
        }

        .files-cont {
          display: flex;
          align-items: center;
          gap: 17px;

          @media screen and (max-width: 992px) {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
          }

          .file-cont {
            background-color: $white;
            border-radius: 16px;
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 12px;

            img {
              width: 70px;
              height: auto;
              object-fit: contain;

              @media screen and (max-width: 992px) {
                width: 40px;
                height: 40px;
                object-fit: contain;
              }
            }

            h3 {
              font-size: 18px;
              font-weight: 700;
              color: #0b0b0b;
              margin-bottom: 8px;
            }

            p {
              font-size: 14px;
              font-weight: 400;
              color: #6d6d6d;
              margin-bottom: 8px;
              // 1 line
              overflow: hidden;
              text-overflow: ellipsis;
              display: -webkit-box;
              -webkit-line-clamp: 1;
              -webkit-box-orient: vertical;
            }

            .btn-cont {
              display: flex;
              align-items: flex-end;
              justify-content: flex-end;

              .btn-main {
                padding: 8px 16px;
                font-size: 16px;
                font-weight: 500;
                color: $white;
                background-color: $main;
                border-radius: 4px;
              }
            }
          }
        }
      }

      .l-side {
        height: 100%;

        @media screen and (max-width: 1200px) {
          display: none;
        }

        img {
          // max-width: 500px;
        }
      }
    }
  }
}

.home-championship {
  .championship-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 380px;

    @media screen and (max-width: 1200px) {
      min-height: 320px;
      gap: 16px;
    }

    @media screen and (max-width: 992px) {
      flex-direction: column;
      min-height: 0;
    }
  }

  .reports-sec-cont {
    .bg-cont {
      position: absolute;
      inset: 0;
      max-height: none;
      height: 100%;

      img {
        height: 100%;
        width: 100%;
        object-fit: cover;
      }
    }
  }

  .championship-content {
    position: relative;
    z-index: 1;
    padding-block: 48px;
    padding-inline-start: 64px;
    padding-inline-end: 48px;
    max-width: 58%;
    flex: 1;
    min-width: 0;

    @media screen and (max-width: 1200px) {
      padding-block: 40px;
      padding-inline-start: 40px;
      padding-inline-end: 32px;
      max-width: 55%;
    }

    @media screen and (max-width: 992px) {
      padding: 24px 24px 32px;
      max-width: 100%;
      text-align: center;
    }

    h2 {
      font-size: 40px;
      font-weight: 700;
      color: #fff;
      line-height: 1.25;
      margin: 0 0 16px;

      @media screen and (max-width: 992px) {
        font-size: 24px;
      }
    }

    p {
      font-size: 16px;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.88);
      line-height: 1.8;
      margin: 0 0 28px;
      max-width: 58ch;

      @media screen and (max-width: 992px) {
        margin-bottom: 20px;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.7;
      }
    }
  }

  .championship-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;

    @media screen and (max-width: 992px) {
      justify-content: center;
    }
  }

  .championship-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    background: #fff;
    color: #1b8354;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;

    &:hover {
      background: #f3faf6;
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
    }

    &:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 3px;
    }

    &--pdf {
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
      border-color: rgba(255, 255, 255, 0.45);
      backdrop-filter: blur(6px);
      box-shadow: none;

      &:hover {
        background: #fff;
        color: #1b8354;
        border-color: #fff;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
      }
    }
  }

  .championship-pdf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);

    img {
      width: 18px;
      height: 18px;
      object-fit: contain;
    }
  }

  .championship-logo {
    position: relative;
    z-index: 1;
    flex: 0 1 42%;
    width: 42%;
    max-width: 520px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 24px;
    padding-inline-start: 16px;
    padding-inline-end: 40px;
    align-self: stretch;

    @media screen and (max-width: 1200px) {
      width: 40%;
      max-width: 400px;
      padding-inline-end: 28px;
      padding-inline-start: 12px;
    }

    @media screen and (max-width: 992px) {
      order: -1;
      flex: none;
      width: auto;
      max-width: 100%;
      align-self: center;
      padding: 28px 24px 0;
    }

    img {
      width: 100%;
      height: auto;
      max-width: 480px;
      max-height: 420px;
      object-fit: contain;

      @media screen and (max-width: 1200px) {
        max-width: 360px;
        max-height: 320px;
      }

      @media screen and (max-width: 992px) {
        width: min(240px, 55vw);
        max-width: 240px;
        max-height: 220px;
      }

      @media screen and (max-width: 576px) {
        width: min(180px, 50vw);
        max-width: 180px;
        max-height: 160px;
      }
    }
  }
}

.directors-section {
  padding-bottom: 80px;
}

.jour-img-rtl {
  transform: rotateY(180deg);
}

.home-partners {
  padding-bottom: 80px;

  .section-header {
    display: flex;

    .r-side {
      text-align: start;

      h2 {
        font-size: 28px;
        font-weight: 700;
        color: #111827;
        margin: 0 0 8px;
      }

      p {
        margin: 0;
        font-size: 15px;
        line-height: 1.8;
        color: #6b7280;
      }
    }
  }

  .partners-content {
    margin-top: 32px;
  }

  /* Marquee wrapper (MagicUI takes care of the movement) */
  .partners-marquee {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 20px;
    /* gives some breathing room between logos */
  }

  .partner-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
  }

  @media screen and (max-width: 768px) {
    .partner-img {
      width: 110px;
      height: 110px;
    }
  }
}

.players-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 15px;

  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.pagination-info {
  font-size: 14px;
  color: #6b7280;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-arrow,
.pagination-number {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: #6b7280;
  transition: all 0.3s;

  &:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #059669;
    color: #059669;
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  &.active {
    background: #059669;
    color: white;
    border-color: #059669;
  }
}

.pagination-dots {
  color: #6b7280;
  padding: 0 4px;
}

.pagination-info {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
  text-align: center;

  @media (max-width: 768px) {
    margin-bottom: 15px;
  }
}

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.pagination-arrow,
.pagination-number {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: #6b7280;
  transition: all 0.3s;

  &:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #059669;
    color: #059669;
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  &.active {
    background: #059669;
    color: white;
    border-color: #059669;
  }
}

.pagination-dots {
  color: #6b7280;
  padding: 0 4px;
  font-size: 14px;
}

.pagination-input {
  width: 50px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  transition: border-color 0.3s;

  &:focus {
    outline: none;
    border-color: #059669;
  }

  &::-webkit-inner-spin-button,
  &::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
}

// Wallet Component Styles
.wallet-page {
  padding-bottom: 84px;

  .wallet-card {
    width: 100%;
    border-radius: 24px;
    background: $main;
    position: relative;
    overflow: hidden;
    padding: 90px 50px;
    margin-top: 40px;

    @media screen and (max-width: 992px) {
      padding: 40px 30px;
    }

    @media screen and (max-width: 768px) {
      padding: 30px 20px;
    }

    // Background images
    .report-bg1 {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0.85;
      z-index: 0;
      pointer-events: none;
      width: 300px;
      height: auto;

      @media screen and (max-width: 768px) {
        width: 200px;
      }
    }

    .report-bg2 {
      position: absolute;
      bottom: 0;
      right: 0;
      opacity: 0.85;
      z-index: 0;
      pointer-events: none;
      width: 300px;
      height: auto;

      @media screen and (max-width: 768px) {
        width: 200px;
      }
    }

    // Header content
    h3 {
      font-size: 32px;
      font-weight: 600;
      color: $white;
      margin-bottom: 8px;
      position: relative;
      z-index: 1;

      @media screen and (max-width: 768px) {
        font-size: 24px;
      }
    }

    > p {
      font-size: 16px;
      font-weight: 400;
      color: #f7f7f8;
      margin-bottom: 40px;
      position: relative;
      z-index: 1;

      @media screen and (max-width: 768px) {
        font-size: 14px;
        margin-bottom: 30px;
      }
    }

    // Main content container
    .wallet-det-cont {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
      position: relative;
      z-index: 1;
      background-color: #ffffff2d;
      border-radius: 20px;
      padding: 50px;

      @media screen and (max-width: 992px) {
        flex-direction: column-reverse;
        gap: 30px;
        padding: 30px;
      }

      @media screen and (max-width: 768px) {
        padding: 20px;
      }

      // Right side - Charge wallet section
      .r-side {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: fit-content;

        @media screen and (max-width: 992px) {
          width: 100%;
        }

        h2 {
          font-size: 24px;
          font-weight: 600;
          color: #fbfbfb;
          text-align: center;
          margin: 0 0 24px;

          @media screen and (max-width: 768px) {
            font-size: 18px;
            margin-bottom: 20px;
          }
        }

        img {
          width: 82px;
          height: auto;
          margin-bottom: 30px;

          @media screen and (max-width: 768px) {
            width: 62px;
            margin-bottom: 24px;
          }
        }

        .wallet-btn {
          background-color: #f8f8f8;
          color: #1e1e1e;
          font-size: 18px;
          font-weight: 600;
          height: 60px;
          @include flexCenter;
          border-radius: 12px;
          transition: all 0.3s ease;
          width: 100%;
          padding: 0 20px;

          &:hover {
            background-color: #f8f9fa;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
          }

          @media screen and (max-width: 768px) {
            font-size: 16px;
            padding: 12px 32px;
          }

          &.loading {
            background-color: $main;
            cursor: not-allowed;
            opacity: 0.7;
          }
        }
      }

      // Left side - Balance card
      .l-side {
        flex: 0 0 auto;

        @media screen and (max-width: 992px) {
          width: 100%;
          display: flex;
          justify-content: center;
        }

        .vid-container {
          background: rgba(255, 255, 255, 0.12);
          backdrop-filter: blur(10px);
          border-radius: 20px;
          padding: 30px;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          min-width: 280px;
          border: 1px solid rgba(255, 255, 255, 0.15);

          @media screen and (max-width: 768px) {
            min-width: 240px;
            padding: 24px;
          }

          .wallet-balance {
            font-size: 32px;
            font-weight: 700;
            color: #ffffff;
            margin: 0;
            text-align: center;
            direction: ltr;

            @media screen and (max-width: 768px) {
              font-size: 28px;
            }
          }

          .wallet-icon {
            width: 80px;
            height: 80px;
            object-fit: contain;
            margin-bottom: 16px;
            border-radius: 50%;

            @media screen and (max-width: 768px) {
              width: 70px;
              height: 70px;
            }
          }

          .wallet-sar-icon {
            width: 50px;
            height: 50px;
            object-fit: contain;
          }

          span {
            font-size: 14px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 8px;
            text-align: center;

            @media screen and (max-width: 768px) {
              font-size: 13px;
            }
          }

          h4 {
            font-size: 32px;
            font-weight: 700;
            color: #ffffff;
            margin: 0;
            text-align: center;
            direction: ltr;

            @media screen and (max-width: 768px) {
              font-size: 28px;
            }
          }
        }
      }
    }
  }
}

// Wallet Modal Styles
.wallet-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.118);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  // backdrop-filter: blur(2px);
  padding: 10px;
}

.wallet-modal-content {
  background: #f8f8f8;
  border-radius: 24px;
  padding: 40px 50px;
  max-width: 600px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

  @media screen and (max-width: 768px) {
    padding: 30px 24px;
    border-radius: 20px;
  }
}

.wallet-modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: $main;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;

  &:hover {
    background-color: #1b835440;
    transform: rotate(90deg);
  }

  svg {
    width: 20px;
    height: 20px;
  }
}

.wallet-modal-icon {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;

  @media screen and (max-width: 768px) {
    margin-bottom: 24px;

    img {
      width: 100px !important;
      height: 100px !important;
    }
  }
}

.wallet-modal-title {
  font-size: 24px;
  font-weight: 600;
  color: #1e1e1e;
  margin: 0 0 30px;
  text-align: center;

  @media screen and (max-width: 768px) {
    font-size: 20px;
    margin-bottom: 24px;
  }
}

.wallet-modal-input-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 30px;

  @media screen and (max-width: 768px) {
    margin-bottom: 24px;
  }
}

.wallet-modal-input {
  width: 100%;
  height: 64px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background-color: #f0f0f0;
  padding: 0 60px 0 24px;
  font-size: 16px;
  color: #1e1e1e;
  transition: all 0.3s ease;

  &::placeholder {
    color: #9ca3af;
  }

  &:focus {
    outline: none;
    border-color: $main;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 131, 84, 0.1);
  }

  // Remove number input arrows
  &::-webkit-outer-spin-button,
  &::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  -moz-appearance: textfield;
  appearance: textfield;

  @media screen and (max-width: 768px) {
    height: 56px;
    font-size: 15px;
    padding: 0 50px 0 20px;
  }
}

.wallet-modal-currency {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 500;
  color: #6b7280;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;

  &::before {
    content: "💰";
    font-size: 20px;
  }

  @media screen and (max-width: 768px) {
    right: 20px;
    font-size: 15px;
  }
}

.wallet-modal-confirm-btn {
  width: 100%;
  height: 60px;
  background-color: $main;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;

  &:hover:not(:disabled) {
    background-color: #1b835440;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 131, 84, 0.3);
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  @media screen and (max-width: 768px) {
    height: 56px;
    font-size: 16px;
  }
}

.payment-modal-content {
  max-width: 700px;
  width: 90%;
  padding: 40px;

  .payment-modal-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #1c1c1c;
  }

  .payment-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;

    .payment-tab {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 16px;
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      background: #f9fafb;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 18px;
      font-weight: 500;
      color: #6b7280;

      &.active {
        background: #1b8354;
        color: white;
        border-color: #1b8354;

        .tab-icon {
          color: white;
        }
      }

      &:not(.active):hover {
        background: #f3f4f6;
        border-color: #d1d5db;
      }
    }
  }

  .payment-form-groups {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;

    .payment-form-group {
      .payment-label {
        font-size: 16px;
        font-weight: 500;
        color: #1c1c1c;
        margin-bottom: 15px;
        display: flex;
      }

      .input-with-icon {
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
        font-size: 24px;
        font-weight: 600;
        color: #1c1c1c;

        .payment-input {
          height: 60px;
          border: 1px solid #e5e7eb;
          border-radius: 12px;
          padding: 0 54px 0 20px;
          font-size: 18px;
          width: 100%;

          &::placeholder {
            color: #9ca3af;
          }
        }

        .input-icon {
          position: absolute;
          right: 20px;
          color: #9ca3af;
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }
    }
  }

  .payment-submit-btn {
    width: 100%;
    height: 60px;
    background: #1b8354;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;

    &:hover:not(:disabled) {
      background: darken(#1b8354, 5%);
    }

    &:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }
  }
}

// Complaint Modal Styles
.complaint-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
  padding: 10px;
}

.complaint-modal-content {
  background: #ffffff;
  border-radius: 24px;
  max-width: 1000px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;

  @media screen and (max-width: 992px) {
    border-radius: 20px;
  }
}

.complaint-modal-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: $main;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  z-index: 10;

  &:hover {
    background-color: #1b835440;
    transform: rotate(90deg);
  }

  svg {
    width: 20px;
    height: 20px;
  }
}

.complaint-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 600px;
  align-items: center;
  justify-content: center;
  padding: 30px;
  max-height: 100vh;
  overflow-y: auto;

  @media screen and (max-width: 992px) {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.complaint-modal-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 540/470;

  @media screen and (max-width: 992px) {
    border-radius: 20px;
    height: 250px;
  }

  .complaint-image {
    object-fit: cover;
  }
}

.complaint-modal-form {
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  @media screen and (max-width: 992px) {
    padding: 40px 30px;
  }

  @media screen and (max-width: 768px) {
    padding: 30px 24px;
  }
}

.complaint-modal-title {
  font-size: 28px;
  font-weight: 700;
  color: #1e1e1e;
  margin: 0 0 32px;

  @media screen and (max-width: 768px) {
    font-size: 24px;
    margin-bottom: 24px;
  }
}

.complaint-form-group {
  margin-bottom: 24px;

  &:last-of-type {
    margin-bottom: 32px;
  }
}

.complaint-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 10px;

  @media screen and (max-width: 768px) {
    font-size: 15px;
  }
}

.complaint-input {
  width: 100%;
  height: 56px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background-color: #f8f8f8;
  padding: 0 20px;
  font-size: 15px;
  color: #1e1e1e;
  transition: all 0.3s ease;

  &::placeholder {
    color: #9ca3af;
  }

  &:focus {
    outline: none;
    border-color: $main;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 131, 84, 0.1);
  }

  @media screen and (max-width: 768px) {
    height: 52px;
    font-size: 14px;
  }
}

.complaint-textarea {
  width: 100%;
  min-height: 120px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background-color: #f8f8f8;
  padding: 16px 20px;
  font-size: 15px;
  color: #1e1e1e;
  transition: all 0.3s ease;

  resize: vertical;
  font-family: inherit;

  &::placeholder {
    color: #9ca3af;
  }

  &:focus {
    outline: none;
    border-color: $main;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 131, 84, 0.1);
  }

  @media screen and (max-width: 768px) {
    min-height: 100px;
    font-size: 14px;
  }
}

.complaint-upload-wrapper {
  position: relative;
}

.complaint-file-input {
  display: none;
}

.complaint-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 120px;
  border-radius: 12px;
  border: 2px dashed #d1d5db;
  background-color: #f9fafb;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 20px;

  svg {
    width: 28px;
    height: 28px;
    color: $main;
    transition: transform 0.3s ease;
  }

  span {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
  }

  &:hover {
    border-color: $main;
    background-color: rgba(27, 131, 84, 0.05);

    svg {
      transform: translateY(-3px);
    }
  }

  @media screen and (max-width: 768px) {
    min-height: 100px;

    svg {
      width: 24px;
      height: 24px;
    }

    span {
      font-size: 13px;
    }
  }
}

.complaint-image-preview {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e5e5;

  img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
  }
}

.complaint-submit-btn {
  width: 100%;
  height: 60px;
  background-color: $main;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;

  &:hover:not(:disabled) {
    background-color: #1b835440;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 131, 84, 0.3);
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  @media screen and (max-width: 768px) {
    height: 56px;
    font-size: 16px;
  }
}

// Complaint Modal Styles
.complaint-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
  padding: 20px;
}

.complaint-modal-content {
  background: #ffffff;
  border-radius: 24px;
  max-width: 1000px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;

  @media screen and (max-width: 992px) {
    border-radius: 20px;
  }
}

.complaint-modal-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: $main;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  z-index: 10;

  &:hover {
    background-color: #1b835440;
    transform: rotate(90deg);
  }

  svg {
    width: 20px;
    height: 20px;
  }
}

.complaint-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 600px;
  align-items: center;
  justify-content: center;
  padding: 30px;
  max-height: 100vh;
  overflow-y: auto;

  @media screen and (max-width: 992px) {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.complaint-modal-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 540/470;

  @media screen and (max-width: 992px) {
    border-radius: 20px;
    height: 250px;
  }

  .complaint-image {
    object-fit: cover;
  }
}

.complaint-modal-form {
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  @media screen and (max-width: 992px) {
    padding: 40px 30px;
  }

  @media screen and (max-width: 768px) {
    padding: 30px 24px;
  }
}

.complaint-modal-title {
  font-size: 28px;
  font-weight: 700;
  color: #1e1e1e;
  margin: 0 0 32px;

  @media screen and (max-width: 768px) {
    font-size: 24px;
    margin-bottom: 24px;
  }
}

.complaint-form-group {
  margin-bottom: 24px;

  &:last-of-type {
    margin-bottom: 32px;
  }
}

.complaint-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 10px;

  @media screen and (max-width: 768px) {
    font-size: 15px;
  }
}

.complaint-input {
  width: 100%;
  height: 56px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background-color: #f8f8f8;
  padding: 0 20px;
  font-size: 15px;
  color: #1e1e1e;
  transition: all 0.3s ease;

  &::placeholder {
    color: #9ca3af;
  }

  &:focus {
    outline: none;
    border-color: $main;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 131, 84, 0.1);
  }

  @media screen and (max-width: 768px) {
    height: 52px;
    font-size: 14px;
  }
}

.complaint-textarea {
  width: 100%;
  min-height: 120px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background-color: #f8f8f8;
  padding: 16px 20px;
  font-size: 15px;
  color: #1e1e1e;
  transition: all 0.3s ease;

  resize: vertical;
  font-family: inherit;

  &::placeholder {
    color: #9ca3af;
  }

  &:focus {
    outline: none;
    border-color: $main;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 131, 84, 0.1);
  }

  @media screen and (max-width: 768px) {
    min-height: 100px;
    font-size: 14px;
  }
}

.complaint-upload-wrapper {
  position: relative;
}

.complaint-file-input {
  display: none;
}

.complaint-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 120px;
  border-radius: 12px;
  border: 2px dashed #d1d5db;
  background-color: #f9fafb;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 20px;

  svg {
    width: 28px;
    height: 28px;
    color: $main;
    transition: transform 0.3s ease;
  }

  span {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
  }

  &:hover {
    border-color: $main;
    background-color: rgba(27, 131, 84, 0.05);

    svg {
      transform: translateY(-3px);
    }
  }

  @media screen and (max-width: 768px) {
    min-height: 100px;

    svg {
      width: 24px;
      height: 24px;
    }

    span {
      font-size: 13px;
    }
  }
}

.complaint-image-preview {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e5e5;

  img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
  }
}

.complaint-submit-btn {
  width: 100%;
  height: 60px;
  background-color: $main;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;

  &:hover:not(:disabled) {
    background-color: #1b835440;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 131, 84, 0.3);
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  @media screen and (max-width: 768px) {
    height: 56px;
    font-size: 16px;
  }
}
