.titleAccModal {
  font-family: "SF Pro Display";
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.03em;
  text-align: center;
  color: #bebaba;
  cursor: pointer;
}
.titleAccModalActive {
  color: #89aaff;
  text-shadow: 0 3px 12px 0 #050068;
  font-family: "SF Pro Display";
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.03em;
  text-align: center;
  cursor: pointer;
}
.titleBlockAccModal {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 2px;
}

.inputAccModal {
  padding-left: 29px;
  background: #212121;
  border: 1.75px solid #8e8e8e;
  border-radius: 6px;
  width: 198px;
  padding-block: 6px 5px;
  z-index: 1;
  margin-left: -26px;
  font-family: "SF Pro Display";
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.03em;
  color: #bebaba;
}
.inputAccModal:focus {
  font-family: "SF Pro Display";
  font-weight: 400;
  font-size: 15px;
  letter-spacing: -0.03em;
  color: #bebaba;
}

.inputAccModal::placeholder {
  font-family: "SF Pro Display";
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.03em;
  color: #8f8f8f;
}
.inputBlockAccModal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-left: 13px;
}
.historyBlockAccModal {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.fileAccModal {
  font-family: "SF Pro Display";
  font-weight: 400;
  font-size: 15px;
  letter-spacing: -0.03em;
  text-align: center;
  color: #bebaba;
  margin-bottom: 8px;
}
.fileLineAccModal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;

  &.activeTicket {
    .fileAccModal {
      color: #89aaff;
      font-weight: 500;
    }
  }
}
.containerFileAccModal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 279px;
  width: 100%;
  max-height: 45vh;
}
.containerScrollFileAccModal {
  overflow-y: scroll;
  height: 100%;
  margin-left: 15px;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 4px;

  &::-webkit-scrollbar {
    width: 5px; /* Ширина скроллбара */
  }

  &::-webkit-scrollbar-thumb {
    background-color: #bcbcbc56; /* Цвет ползунка */
    border-radius: 4px;
    height: 18px; /* Закругление углов */
  }

  &::-webkit-scrollbar-track {
    background-color: rgba(123, 122, 122, 0.231); /* Цвет трека */
  }
}
.accModal {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-left: 50px;
  margin-top: 54px;
  width: 301px;
  transform: translateY(-60px);
  opacity: 0;
  transition: transform 0.55s ease, opacity 0.55s ease;
  position: relative;
  z-index: 10;
}

.accModal.animate {
  transform: translateY(0);
  opacity: 1;
}

.ticketHistory {
  margin-top: 20px;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 8px;

  h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
  }

  .ticketsList {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .ticketItem {
    padding: 12px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

    .ticketInfo {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .ticketDate {
        color: #666;
        font-size: 14px;
      }

      .ticketStatus {
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        background: #e3f2fd;
        color: #1976d2;
      }
    }
  }

  .error {
    color: #d32f2f;
    text-align: center;
    padding: 10px;
  }
}

// Контекстное меню
.fileLineAccModal {
  position: relative;

  .contextMenu {
    position: absolute !important;
    top: 10px !important;
    right: -100px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    background: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 150px;
    padding: 4px 0;
    z-index: 9999 !important;

    .contextMenuItem {
      padding: 8px 16px;
      color: #ffffff;
      cursor: pointer;
      font-size: 14px;
      transition: background-color 0.2s ease;
      display: flex;
      justify-content: start;
      align-items: center;
      gap: 8px;
      &:hover {
        background-color: #404040;
      }
    }
  }
}

.fileLineAccModal svg {
  transition: stroke 0.2s ease;

  &:hover {
    stroke: #89aaff !important;
  }
}
