/******** COIN WIDGET SCSS ************/
.cwp-coin-widget-container {
    display: inline-block;
    position: relative;
    cursor: pointer;
  }
  .cwp-coin-widget-container .cwp-coin-widget-wrapper {
    position: relative;
    transition: color 0.3s ease-out, background-color 0.3s ease-out, border-color 0.3s ease-out;
    display: inline-block;
  }
  .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
  }
  .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder.highlight {
    background: #F1EFF6;    
    border-radius: 3px;
  }
  .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder .cwp-coin-name {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder .cwp-coin-name .cwp-coin-icon {
    display: none;
  }
  .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder .cwp-coin-name .cwp-coin-icon.show {
    display: inline-block;
  }
  .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder .cwp-coin-name .cwp-coin-icon img {
    width: 16px;
    height: auto;
    margin-right: 5px;
    transform: translateY(-2px);
    margin-left: 3px;
    margin-bottom: 0;
  }
  .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder .cwp-coin-name .cwp-coin-label {
    font-weight: 600;
    color: #211B2E;
  }
  .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder .cwp-coin-name .cwp-coin-symbol {
    font-weight: 600;
    font-size: 16px;
    color: #211B2E;
  }
  .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder .cwp-coin-trend-holder {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
  }
  .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder .cwp-coin-trend-holder .cwp-coin-trend {
    padding-left: 8px;
    display: inline-block;
  }
  .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder .cwp-coin-trend-holder .cwp-coin-trend.positive {
    color: green;
    position: relative;
  }
  /* .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder .cwp-coin-trend-holder .cwp-coin-trend.positive::before {
    border-bottom: 3px solid #139a18;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    content: "";
    height: 0;
    position: absolute;
    top: calc(50% - 2px);
    width: 0;
    left: 7px;
  } */
  .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder .cwp-coin-trend-holder .cwp-coin-trend.negative {
    color: red;
    position: relative;
  }
  /* .cwp-coin-widget-container .cwp-coin-widget-wrapper .cwp-coin-widget-holder .cwp-coin-trend-holder .cwp-coin-trend.negative::before {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 3px solid #dd1c36;
    bottom: calc(50% - 3px);
    content: "";
    height: 0;
    position: absolute;
    width: 0;
    left: 7px;
  } */
  .cwp-coin-widget-container .cwp-coin-popup-wrapper {
    position: absolute;
    background-color: #fff;
    /* border: 1px solid #ebebeb; */    
    padding: 25px;
    -webkit-box-shadow: 8px 8px 10px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 8px 8px 10px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 8px 8px 10px 0px rgba(0, 0, 0, 0.15);
    /* border-radius: 6px; */
    display: none;
    z-index: 10;
    top: 25px;
    left: -2px;
    min-width: 320px;
    z-index: 1;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-popup-holder {
    position: relative;
  }

  .cwp-coin-widget-container .cwp-coin-popup-wrapper.highlight {
    /* background: #F1EFF6;
    border-right: 4px solid #DC5992;
    border-bottom: 4px solid #A72E83; */
  }

  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-popup-holder .cwp-coin-popup-close {
    position: absolute;
    right: -2px;
    top: -3px;
    z-index: 10;
    display: none;
  }
  @media all and (max-width: 1200px) {
    .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-popup-holder .cwp-coin-popup-close {
      display: inline-block;
    }
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-popup-holder .cwp-coin-popup-close svg {
    width: 20px;
    height: auto;
    width: 13px;
    height: auto;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-popup-holder .cwp-coin-section-title {
    font-size: 18px;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-name {
    display: flex;
    gap: 5px;
    /* border-bottom: 1px solid #ebebeb; */
    padding-bottom: 5px;
    margin-bottom: 10px;
    align-items: center;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-name .cwp-coin-icon img {
    width: 25px;
    height: auto;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-popup-name {
    font-weight: 600;
    color: #211B2E;
    font-size: 16px;
    line-height: 24px;
  }

  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-popup-symbol {
    font-weight: 400;
    color: #737373;
    font-size: 16px;
    line-height: 24px;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-price {
    /* display: flex;
    gap: 6px; */
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-price .cwp-coin-price-title {
    padding-top: 3px;
    font-size: 12px;
    display: block;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-price .cwp-coin-price-value {
    font-weight: 700;
    color: #211B2E;
    font-size: 18px;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-price .cwp-coin-trend-icon svg {
    width: 18px;
    height: auto;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-price .cwp-coin-trend-holder {
    /* padding-top: 4px; */
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-trend-holder {
    display: inline-block;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-trend-holder .cwp-coin-trend {
    padding-left: 20px;
    margin-left: 5px;
    font-size: 12px;
    padding: 2px 3px 3px 18px;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-trend-holder .cwp-coin-trend.positive {
    color: green;
    position: relative;
    background: #D2F9D3;

  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-trend-holder .cwp-coin-trend.positive::before {
    border-bottom: 3px solid #139a18;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    content: "";
    height: 0;
    position: absolute;
    top: calc(50% - 2px);
    width: 0;
    left: 7px;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-trend-holder .cwp-coin-trend.negative {
    color: red;
    position: relative;
    background: #EEBFC6;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-trend-holder .cwp-coin-trend.negative::before {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 3px solid #dd1c36;
    bottom: calc(50% - 3px);
    content: "";
    height: 0;
    position: absolute;
    width: 0;
    left: 7px;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-trend-holder .cwp-coin-trend-title {
    white-space: nowrap;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-trend-holder .cwp-coin-trend-label {
    font-size: 12px;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-volume {
    display: block;
    padding-top: 12px;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-volume .cwp-coin-volume-title {
    white-space: nowrap;
    display: block;
    font-size: 12px;
  }
  .cwp-coin-volume .cwp-coin-price-holder {
    padding-top: 3px;
  }


  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-volume .cwp-coin-volume-value {
    font-weight: 700;
    color: #211B2E;
    font-size: 18px;
  }
  .cwp-coin-price-holder {
    display: flex;
    justify-content: space-between;

  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-mc {
    display: block;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-mc .cwp-coin-mc-title {
    white-space: nowrap;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-mc .cwp-coin-mc-value {
    font-weight: 600;
    color: #211B2E;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-chart {
    display: flex;
    position: relative;
    flex-direction: column;
    padding-top: 8px;
    margin-bottom: 18px;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-chart .cwp-graph-title {
    font-weight: 500;
    display: flex;
    justify-content: start;
    padding-top: 4px;
    padding-bottom: 10px;
    font-size: 12px;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-chart .cwp-graph-container {
    height: 58px;
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-chart .cwp-graph-container svg {
    height: 45px;
    transform: scale(1.5) translate(31px, 10px);
  }
  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-chart .cwp-graph-open-close {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
  }

  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-link {
 
  }

  .cwp-coin-widget-container .cwp-coin-popup-wrapper .cwp-coin-link a {
    border: 1px solid #E5C0DA;
    padding: 7px 20px;
    display: block;
    width: 100%;
    text-align: center;
    color: #A72E83;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
  }

  @media all and (max-width: 768px) {
    .cwp-coin-widget-container .cwp-coin-popup-wrapper {
      width: 80%;
      height: auto;
      position: fixed;
      top: 50% !important;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }


.cwp-coin-widget-container {
  position: relative;
  display: inline-block;
}

.cwp-coin-popup-wrapper {
  display: none;
  position: absolute;
  white-space: nowrap; 
}

.cwp-coin-widget-wrapper:hover .cwp-coin-popup-wrapper {
  display: block;
  top: 0;
  left: 0; 
}

.cwp-coin-popup-wrapper.right-adjust {
  left: auto;
  right: 20px;
}
