:root {
  --bg-light: #002554;
  --bg-dark: #002554;
  --body-bg-light: #f0f2f5;
  --text-primary-light: #000;
  --text-primary-dark: #181616  ;
  --text-secondary-light: #002A77;
  --text-secondary-dark: #9ca3af;
  --border-light: #e5e7eb;
  --border-dark: #374151;
  --black: #000;
  --white: #fff;

  /* State Colors */
  --positive-color: #22c55e;
  --positive-bg-light: #dcfce7;
  --positive-bg-dark: rgba(34, 197, 94, 0.2);
  --negative-color: #ef4444;
  --negative-bg-light: #fee2e2;
  --negative-bg-dark: rgba(239, 68, 68, 0.2);
  --neutral-color: #6b7280;
  --neutral-bg-light: #f3f4f6;
  --neutral-bg-dark: rgba(107, 114, 128, 0.2);

  --brand-color: #000;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --shadow-hover-color: rgba(228, 225, 225, 0.2);
}

.container {
  display: flex;
  gap: 15px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  max-width: 1024px;
}

#share-price-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    justify-items: center;
    font-family: "Inter", sans-serif;
    color: var(--primary);
    /* padding: 40px 65px; */
    height: fit-content;
    border-radius: 32px;
    width: fit-content;
    font-size: 18px;
    /* width: 1024px; */
    line-height: 150%;
  }

  .currency {
    color: var(--primary);
    text-align: center;
    margin-bottom: 5px;
    font-weight: 400;
  }

  .company-details {
    font-family: "Inter", sans-serif;
    color: var(--primary);
    text-align: center;
    line-height: 150%;
    margin-top: 8px;
    max-width: 1024px;
    font-size: 23px;
  }

  .company-details p {
    font-size: 23px;
  }

  .share-price-row {
    display: flex;
    column-gap: 10px;
    justify-content: center; 
  }

  .current-price {
    color: var(--secondary);
  }
  
  #share-price-container img {
    height: auto;
    width: 20px;
  }

  p {
    font-size: 20px;
    margin: 0;
    line-height: 150%;
  }

  #share-price-container .status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    align-self: center;
  }
  #share-price-container .status-indicator {
    position: relative;
    display: flex;
    height: 0.75rem;
    width: 0.75rem;
  }
  #share-price-container .status-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    opacity: 0.75;
  }
  #share-price-container .status-dot {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    height: 0.75rem;
    width: 0.75rem;
  }
  #share-price-container .status-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 300;
    color: var(--primary);
  }

  @keyframes ping {
    75%, 100% {
      transform: scale(2);
      opacity: 0;
    }
  }
  .card-header .status-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    opacity: 0.75;
  }

   /* Market Status Styles */
   .status .status-word.open {
    color: var(--positive-color);
  }
  .status .status-ping,
  .status .status-dot {
    background-color: var(--positive-color);
  }

  .status-text, .last-trade, .delay {
    margin: 0;
  }


  .status.closed .status-word.closed {
    color: var(--negative-color);
  }
  .status.closed .status-ping {
    display: none;
  } /* Hide ping animation when closed */
  .status.closed .status-dot {
    background-color: var(--negative-color);
  }

  .current-price {
    font-size: 58px;
    font-weight: 600;
    margin: 0px 0 0 0;
    line-height: 115%;
  }

   .price-change {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-top: 1rem;
    width: 190px;
    align-self: center;
    justify-content: center;
  }
  .price-change svg {
    height: 1.5rem;
    width: 1.5rem;
    stroke-width: 3;
  }
  
  /* DYNAMIC STATE STYLES */
  .price-change.positive {
    color: var(--positive-color);
    background-color: var(--positive-bg-light);
  }
  .price-change.negative {
    color: var(--negative-color);
    background-color: var(--negative-bg-light);
  }
  .price-change.neutral {
    color: var(--neutral-color);
    background-color: var(--neutral-bg-light);
  }
  
  #share-price-container .share-price-heading, .delay, .date, .share-price-row, .share-price-move, .market-status {
    text-align: center;
    font-size: 20px;
    margin-bottom: 5px;
    /* color:#002554; */
  }
  
  .share-price-heading, .market-status {
    font-size: 16px;
    margin: 0;
    line-height: 150%;
  }
  
  .share-price-move {
    margin-right: 10px;
  }
  
  
  .share-price {
    font-size: 45px;
    font-weight: 600;
    color: #fff;
    margin: 15px 0 0 0;
  }
  
  /* .delay {
    margin-bottom: 15px;
  } */
  
  #share-price-container .share-price-row {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: flex-end;
    column-gap: 10px;
  }
  
  #share-price-container .arrows {
  margin-right: 10px;
  text-align: center;
  }

  @media screen and (max-width: 768px) {
    #share-price-container 
    .share-price-heading,
    .currency {
      font-size: 16px;
    }

    .company-details p {
      font-size: 16px;
    }

    .current-price {
      font-size: 44px;
      font-weight: 600;
    }
    
  }