.create-project-btn{
    margin-left: 24px !important;
    margin-right: 24px !important;
}

.pr-0{
    padding-right: 0px !important;
}

.pr-24{
    padding-right: 24px !important;
}

.mt-20{
    margin-top: 20px !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mt-50 {
  margin-top: 50px !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.pa-24{
    padding: 24px !important;
}
.star-ratings {
  display: inline-block;
  font-size: 24px; /* سایز ستاره‌ها */
  line-height: 1;
  color: #ccc; /* رنگ ستاره‌های خالی */
}

  .star-ratings .filled {
    color: #ffc107; /* رنگ ستاره‌های پر */
  }


.task-completed {
  color: #ffffff;
  border: 1px solid #565a77;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

  .task-completed h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: bold;
    color: #ffcc00;
  }

  .task-completed .task-score {
    font-size: 20px;
    font-weight: bold;
    color: #7ae582;
  }
.text-ellipsis {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.description-content {
  min-height: 100px;
  max-height: 100px;
  overflow-y: auto;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  border: none;
  padding: 5px;
}

.placeholder-text {
  color: #9e9e9e;
  font-style: italic;
}
.canban-col {
  flex: 0 0 20%;
  padding: 10px;
  box-sizing: border-box;
  overflow-y: auto;
  max-height: 100vh;
}

.canban-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.scroll-x {
  overflow-x: auto !important;
}

.custom-kanban-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
}
.trophy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.large-cup {
  font-size: 50px;
  color: #ffd700;
  margin-bottom: 20px;
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.title-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.title-text {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-top: 5px;
}

.small-cups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.cup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

img[src*="/UserAvatars/"] {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: inline-block;
}

.cup-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.user-info {
  text-align: center;
}

.user-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.user-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 5px;
}

.user-score {
  font-size: 14px;
  color: #777;
}

.github-chat-widget {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1050;
  font-family: inherit;
}

.github-chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
  font-size: 14px;
  cursor: pointer;
}

.github-chat-toggle i {
  font-size: 18px;
}

.github-chat-panel {
  margin-top: 12px;
  width: 320px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.github-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #111827;
  color: #ffffff;
}

.github-chat-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.github-chat-collapse {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #ffffff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.github-chat-collapse i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.github-chat-widget.is-collapsed .github-chat-collapse i {
  transform: rotate(0deg);
}

.github-chat-widget:not(.is-collapsed) .github-chat-collapse i {
  transform: rotate(180deg);
}

.github-chat-title {
  font-size: 14px;
  font-weight: 600;
}

.github-chat-close {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}

.github-chat-header-config {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.github-chat-config-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #475569;
}

.github-chat-clear {
  border: 1px solid #cbd5f5;
  background: #ffffff;
  color: #1e293b;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;
}

.github-chat-clear:hover {
  background: #f8fafc;
}

.github-chat-toggle-input {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
}

.github-chat-config-item.github-chat-config-features {
  grid-column: 1 / -1;
}

.github-chat-feature-list {
  margin: 0;
  padding-left: 16px;
  color: #1e293b;
  font-size: 11px;
  line-height: 1.5;
}

.github-chat-feature-list li {
  margin-bottom: 4px;
}

.github-chat-body {
  padding: 12px 16px 0;
  flex: 1;
  overflow: hidden;
}

.github-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
}

.github-chat-message {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.github-chat-message-content {
  white-space: pre-wrap;
}

.github-chat-timestamp {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  opacity: 0.7;
}

.github-chat-message.user .github-chat-timestamp {
  text-align: left;
  color: rgba(255, 255, 255, 0.8);
}

.github-chat-message.assistant .github-chat-timestamp {
  text-align: right;
  color: #64748b;
}

.github-chat-message.user {
  align-self: flex-end;
  background: #2563eb;
  color: #ffffff;
}

.github-chat-message.assistant {
  align-self: flex-start;
  background: #f1f5f9;
  color: #0f172a;
}

.github-chat-message.system {
  align-self: center;
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  text-align: center;
}

.github-chat-message.system .github-chat-timestamp {
  text-align: center;
  color: #94a3b8;
}

.github-chat-think {
  font-size: 12px;
  color: #64748b;
  font-style: italic;
  margin-bottom: 6px;
  white-space: pre-wrap;
}

.github-chat-response {
  white-space: pre-wrap;
}

.github-chat-message.is-results {
  background: #eef2ff;
}

.github-chat-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.github-chat-result-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.github-chat-result-item a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
}

.github-chat-result-meta {
  font-size: 11px;
  color: #64748b;
}

.github-chat-config-note {
  padding: 8px 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #475569;
}

.github-chat-select,
.github-chat-config input {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5f5;
  font-size: 12px;
  background: #ffffff;
}

.github-chat-select[multiple] {
  min-height: 80px;
}

.github-chat-widget.is-embedded {
  position: static;
  left: auto;
  bottom: auto;
  width: 100%;
}

.github-chat-widget.is-embedded .github-chat-panel {
  margin-top: 0;
  width: 100%;
  max-height: none;
  box-shadow: none;
}

.github-chat-widget.is-embedded .github-chat-body {
  padding: 12px 0 0;
}

.github-chat-widget.is-embedded .github-chat-messages {
  max-height: none;
}

.github-chat-widget.is-embedded .github-chat-header-config {
  padding: 12px 0;
}

.github-chat-widget.is-embedded .github-chat-form {
  padding: 12px 0 0;
  border-top: 1px solid #e2e8f0;
}

.github-chat-widget.is-collapsed .github-chat-header-config {
  display: none;
}

.github-chat-widget.is-collapsed .github-chat-body {
  padding-top: 12px;
}

.github-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid #e2e8f0;
}

.github-chat-input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5f5;
  font-size: 12px;
  resize: none;
  min-height: 36px;
  max-height: 140px;
  overflow-y: auto;
}

.github-chat-form button {
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
}

.github-chat-submit {
  position: relative;
  min-width: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.github-chat-submit.is-loading {
  background: #f97316;
  color: transparent;
}

.github-chat-submit.is-loading .github-chat-submit-label {
  opacity: 0;
}

.github-chat-submit.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-top-color: transparent;
  border-radius: 50%;
  animation: github-chat-spin 0.8s linear infinite;
  position: absolute;
}

@keyframes github-chat-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.trophy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.large-cup {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  font-size: 60px;
  color: #ffd700;
}

.small-cups {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

  .small-cups .cup {
    flex: 1 1 calc(14% - 15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 120px;
    min-width: 80px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

    .small-cups .cup i {
      font-size: 40px;
      color: #ffd700;
      margin-bottom: 10px;
    }

  .small-cups .user-info {
    margin-top: 10px;
  }

    .small-cups .user-info .user-name {
      font-weight: bold;
      margin-bottom: 5px;
    }

    .small-cups .user-info .user-score {
      font-size: 14px;
      color: #555;
    }

    .small-cups .user-info img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      margin-top: 5px;
    }

@media (max-width: 768px) {
  .small-cups .cup {
    flex: 1 1 calc(30% - 15px);
  }
}

@media (max-width: 480px) {
  .small-cups .cup {
    flex: 1 1 calc(45% - 15px);
  }
}

#task-comment-thread .comment-item {
  position: relative;
}

#task-comment-thread .comment-like-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-inline-end: 0.5rem;
  flex-shrink: 0;
}

#task-comment-thread .comment-like-button {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: none;
  background-color: #f1f2f6;
  color: #667085;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: none;
}

#task-comment-thread .comment-like-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

#task-comment-thread .comment-like-button.is-liked {
  background-color: #ffe8cc;
  color: #f97316;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

#task-comment-thread .comment-like-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9397ad;
  display: none;
}

#task-comment-thread .comment-like-count.is-visible {
  display: inline-flex;
}

#task-comment-thread .comment-like-emoji-holder {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
  display: none;
}
