﻿body.ic-invite {
  background: #fff;
}

.ic-inv {
  min-height: calc(100dvh - 12px);
  padding-bottom: 24px;
  background: #fff;
}

.ic-inv-body[hidden],
.ic-inv-loading[hidden],
.ic-inv-error[hidden] {
  display: none !important;
}

.ic-inv-body {
  padding: 5px 24px 24px;
  text-align: center;
}

.ic-inv-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 700;
  color: #2d3a4a;
}

.ic-inv-title .is-green {
  color: #1ebd59;
}

.ic-inv-desc {
  margin: 8px auto 0;
  max-width: 320px;
  font-size: 13px;
  line-height: 25px;
  color: #919aaf;
}

.ic-inv-progress {
  margin-top: 30px;
}

.ic-inv-ring {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
}

.ic-inv-ring svg {
  display: block;
  width: 140px;
  height: 140px;
}

.ic-inv-ring-bg {
  stroke: #e9ecef;
}

.ic-inv-ring-fill {
  stroke: #4e91e6;
  transition: stroke-dashoffset 1s ease;
}

.ic-inv-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  font-family: "IRANYekanFa", "IRANYekan", sans-serif;
  color: #68c5f9;
}

.ic-inv-ring-center small {
  margin-top: -6px;
  font-size: 10px;
  font-weight: 400;
  color: #919aaf;
}

.ic-inv-ring-center .is-green {
  color: #1ebd59;
  font-size: 30px;
}

.ic-inv-progress-copy {
  margin: 0;
  font-size: 12px;
  line-height: 22px;
  color: #919aaf;
}

.ic-inv-progress-copy strong {
  color: #4e91e6;
  font-weight: 700;
}

.ic-inv-stats {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.ic-inv-stat {
  flex: 1;
  min-width: 0;
  padding: 8px;
}

.ic-inv-stat-val {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
  font-family: "IRANYekanFa", "IRANYekan", sans-serif;
  color: #3c4b68;
}

.ic-inv-stat-val span {
  font-size: 12px;
  font-weight: 400;
  color: #919aaf;
}

.ic-inv-stat-label {
  margin: 0;
  font-size: 10.5px;
  color: #384350;
}

.ic-inv-claims {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.ic-inv-claim {
  flex: 1;
  padding: 18px 20px;
  border: 0;
  border-radius: 16px;
  background: #55c37d;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.ic-inv-claim.is-disabled,
.ic-inv-claim:disabled {
  background: #f3f3f3;
  color: #bcbbbb;
  cursor: default;
}

.ic-inv-code-wrap {
  margin-top: 32px;
}

.ic-inv-code {
  direction: ltr;
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px dashed #d5e8ff;
  border-radius: 16px;
  background: #f3f8ff;
  font-family: inherit;
  cursor: pointer;
}

.ic-inv-copy-icon {
  flex-shrink: 0;
  margin-left: 12px;
  color: #4e91e6;
}

.ic-inv-code-val {
  flex: 1;
  font-size: 16px;
  color: #4e91e6;
  text-align: left;
}

.ic-inv-code-label {
  flex-shrink: 0;
  margin-right: 8px;
  font-size: 12px;
  color: #919aaf;
}

.ic-inv-share {
  width: 100%;
  padding: 16px 32px;
  border: 0;
  border-radius: 16px;
  background: #4e91e6;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.ic-inv-toast {
  position: fixed;
  left: 50%;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  z-index: 140;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(45, 58, 74, 0.92);
  color: #fff;
  font-size: 12px;
  text-align: center;
}

.ic-inv-toast[hidden] {
  display: none !important;
}

@media (max-width: 800px), (min-width: 801px) {
  .ic-inv {
    min-height: calc(100dvh - 60px - env(safe-area-inset-bottom, 0px));
  }
}

