.ck-fear-greed.wrap .intro {
  color: #646970;
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 1.6;
}

.ck-fear-greed.wrap .layouts-grid {
  margin-top: 30px;
}

.ck-fear-greed.wrap .layout-card {
  border: 1px solid #dcdcde;
  border-radius: 8px;
  overflow: hidden;
}

.ck-fear-greed.wrap .layout-header {
  background: #f6f7f7;
  padding: 20px;
  border-bottom: 1px solid #dcdcde;
}

.ck-fear-greed.wrap .layout-title {
  font-size: 18px;
  font-weight: 600;
  color: #1d2327;
  margin-bottom: 8px;
}

.ck-fear-greed.wrap .layout-description {
  font-size: 13px;
  color: #646970;
  margin-bottom: 15px;
}

.shortcode-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 10px;
  border: 1px solid #dcdcde;
  border-radius: 4px;
}

.shortcode-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: monospace;
  font-size: 13px;
  color: #2271b1;
  outline: none;
}

.layout-preview {
  padding: 40px;
  background: #f5f5f5;
  align-items: center;
  justify-content: center;
}

/* Fear & Greed Widget */
.fear-greed-widget {
  display: flex;
  gap: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 889px;
  width: 100%;
}
.dark-mode .fear-greed-widget{
  background: #000;
}

.widget-left {
  flex: 0 0 44%;
  padding: 20px;
  background: white;
}
.dark-mode .widget-left{
  background: #000;
}


.widget-divider {
  width: 3px;
  background: linear-gradient(to bottom, #ff6b6b 0%, #ffd93d 50%, #6bcf7f 100%);
}

.widget-right {
  flex: 1;
  padding: 30px 25px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.dark-mode .widget-right{
  background: #000;
}

.marker-center {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.value-main {
  font-size: 32px;
  font-weight: 600;
  color: #a94442;
  margin-bottom: 5px;
}
.value-number {
  font-size: 20px;
  color: #a94442;
  font-weight: 500;
}
.value-date {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
}
.widget-footer {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  font-size: 11px;
  color: #666;
  text-align: center;
  line-height: 1.5;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: #ebebeb 1px solid;
  margin-bottom: 5px;
  padding-bottom: 7px;
}
.timeline-item:last-child {
  margin: 0;
}
.timeline-label {
  flex: 0 0 120px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.timeline-bar-container {
  flex: 1;
}

.timeline-bar {
  position: relative;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 5px;
}

.bar-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #ff6b6b 0%, #ffd93d 50%, #6bcf7f 100%);
}

.bar-indicator {
  position: absolute;
  top: -8px;
  transform: translateX(-50%);
  font-size: 15px;
  color: #333;
}

.bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #666;
  padding: 0 5px;
}

.timeline-value {
  flex: 0 0 100px;
  text-align: right;
}

.value-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2px;
  padding: 2px 5px;
  color: #fff;
  text-align: center;
}

.value-num {
  display: block;
  font-size: 16px;
  color: #333;
  font-weight: 700;
}
#fearGreedCombinedFull {
  width: 100%;
  max-width: 500px;
  height: 100%;
}
.cw-fear-greed-block.combined{
  position: relative;
}
.cw-fear-greed-block.combined .custom-labels {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cw-fear-greed-block.combined .label {
  position: absolute;
  font-size: 14px;
  color: #666;
}

.cw-fear-greed-block.combined .chart-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
}
.cw-fear-greed-block.combined .arc-labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cw-fear-greed-block.combined .arc-label {
  position: absolute;
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}
.cw-fear-greed-block.combined .arc-label.bold {
  font-weight: 600;
  color: #333;
}
.dark-mode .cw-fear-greed-block.combined .arc-label.bold{
  color: #FFFFFF;
}
.dark-mode .cw-fear-greed-block.combined .arc-label{
 color: #b3b3b3;
}
/* Label positions */
.arc-label.label-0 {
  left: 30%;
  bottom: 14%;
  transform: translateY(50%);
}

.is-backend.arc-labels .arc-label.label-0 {
  left: 32%;
  bottom: 0%;
}

.arc-label.label-fear {
  left: -5%;
  top: 50%;
  transform: translateY(-50%);
}
.is-backend.arc-labels .arc-label.label-fear {
  left: 6%;
}

.arc-label.label-25 {
  left: 25%;
  top: 36%;
}
.is-backend.arc-labels .arc-label.label-25 {
  left: 27%;
  top: 42%;
}

.arc-label.label-neutral {
  left: 50%;
  top: 2%;
  transform: translateX(-50%);
}

.arc-label.label-50 {
  left: 50%;
  top: 22%;
  transform: translateX(-50%);
}
.is-backend.arc-labels .arc-label.label-50 {
  top: 24%;
}
.arc-label.label-75 {
  right: 27%;
  top: 42%;
}
.is-backend.arc-labels .arc-label.label-75 {
  right: 28%;
  top: 40%;
}

.arc-label.label-greed {
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
}
.is-backend.arc-labels .arc-label.label-greed {
  right: 4%;
}

.arc-label.label-100 {
  right: 30%;
  bottom: 14%;
  transform: translateY(50%);
}
.is-backend.arc-labels .arc-label.label-100 {
  right: 32%;
  bottom: 0%;
}
.dark-mode .fear-greed-widget * {
  color: #FFF;
}

@media (max-width: 992px) {
  .fear-greed-widget {
    flex-direction: column;
  }

  .widget-left {
    flex: 1;
  }

  .widget-divider {
    width: 100%;
    height: 3px;
  }

  .cw-fear-greed-block.combined .chart-wrapper {
    height: 300px;
    display: flex;
    justify-content: center;
  }
  .cw-fear-greed-block.combined .arc-labels {
    left: 95px;
    width: 70%;
  }
  .arc-label.label-0 {
    left: 35%;
    bottom: 15%;
  }
  .arc-label.label-25 {
    left: 29%;
  }
  .arc-label.label-75 {
    right: 29%;
  }
  .arc-label.label-100 {
    right: 35%;
    bottom: 15%;
  }
}
@media (max-width: 768px) {
  .cw-fear-greed-block.combined .arc-labels {
    left: 95px;
    width: 70%;
  }
}
@media (max-width: 767px) {
  .cw-fear-greed-block.combined .arc-labels {
    left: 0;
    width: 100%;
    height: 100%;
  }
  .timeline-item {
    gap: 12px;
  }

  .value-num {
    font-size: 14px;
    font-weight: 500;
  }
  .timeline-label {
    font-weight: 600;
  }
}
@media (max-width: 480px) {
  .timeline-item {
    display: grid;
    text-align: center;
  }
  .timeline-value {
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
  text.apexcharts-text.apexcharts-datalabel-label {
    font-size: 16px;
  }
  text.apexcharts-text.apexcharts-datalabel-value {
    font-size: 14px;
  }
  .cw-fear-greed-block.combined .chart-wrapper {
    height: auto;
  }
  .arc-label.label-0 {
    left: 29%;
    bottom: 11%;
  }
  .arc-label.label-25 {
    left: 24%;
    top: 46%;
  }
  .arc-label.label-75 {
    right: 24%;
    top: 45%;
  }
  .arc-label.label-100 {
    right: 29%;
    bottom: 11%;
  }
  .arc-label.label-fear {
    left: -4%;
  }
  .arc-label.label-greed {
    right: -4%;
  }
}
