.homepage_searchbox_container .nav-pills .nav-link {
    border-radius: 10px;
    text-align: left;
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.homepage_searchbox_container .nav-pills .nav-link.active {
    background: linear-gradient(90deg, #ec8951, #f5d1bc);
    color: #fff;
}

.homepage_searchbox_container .form-control {
    border-radius: 8px;
    padding: 10px;
}

.homepage_searchbox_container .btn-primary {
    border-radius: 8px;
    font-weight: 600;
}

.searchbox-btn{
    background-color: #ec8951;
    color: white;
}

.number_card_boxes {
  width: 300px;
  font-family: 'Segoe UI', sans-serif;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0);
  z-index: 1;
}

.number_card_boxes:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  z-index: 2;
}

.number_card_boxes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(236, 137, 81, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.number_card_boxes:hover::before {
  opacity: 1;
}

.number_card_boxes .decor-circle {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  fill: #ec89511a;
  transition: all 0.4s ease;
  transform: translate(20%, -20%);
}

.number_card_boxes:hover .decor-circle {
  transform: translate(10%, -10%);
  fill: #ec895133;
}

.number_card_boxes .decor-square {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 60px;
  height: 60px;
  fill: #ec89511a;
  transition: all 0.4s ease;
  transform: translate(-20%, 20%);
}

.number_card_boxes:hover .decor-square {
  transform: translate(-10%, 10%);
  fill: #ec895133;
}

.number_card_boxes .card-content {
  padding: 20px;
  position: relative;
  z-index: 2;
}

.number_card_boxes .card-id {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.number_card_boxes:hover .card-id {
  color: #ec8951;
}

.number-group {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.number {
  font-size: 25px;
  font-weight: 700;
  color: #333;
  border-radius: 10px;
  background: #f8f9fa;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.number::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ec8951;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.number:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 5px 15px rgba(236, 137, 81, 0.2);
  color: #ec8951;
}

.number:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.sum-total-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px 0;
}

.number_card_boxes .sum-total {
  background: #ec8951;
  color: white;
  padding: 6px 15px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(236, 137, 81, 0.3);
}

.number_card_boxes:hover .sum-total {
  transform: scale(1.05);
  background: #e07d45;
  box-shadow: 0 6px 10px rgba(236, 137, 81, 0.4);
}

.number_card_boxes .details {
  font-size: 12px;
  color: #777;
  transition: color 0.3s ease;
}

.number_card_boxes:hover .details {
  color: #555;
}

.buy-button-container {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  margin-top: 10px;
}

.number_card_boxes .buy-button {
  background: #ec8951;
  color: white;
  border: none;
  padding: 5px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(236, 137, 81, 0.3);
}

.number_card_boxes .buy-button:hover {
  background: #e07d45;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(236, 137, 81, 0.4);
}

.buy-button-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.number_card_boxes:hover .buy-button-container::before {
  left: 100%;
}
.number.highlight {
  color: #ff6600; /* Orange highlight */
  text-shadow: 0 0 6px rgba(255, 102, 0, 0.5);
  transform: scale(1.1);
}

/* Optional hover animation for highlights */
.number.highlight:hover {
  transform: scale(1.3) translateY(-5px);
}

@media only screen and (max-width: 568px) {
.number_card_boxes{
    width: 100%;
}
}