/*
 * Custom stylesheet for the DomainX clone.
 * The goal of this CSS is to mimic the look and feel of the original
 * template while keeping things lightweight and easy to maintain. Only
 * essential rules are included here. Colours are hard‑coded to match
 * the red/green accents from the sample page.
 */

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #4c4d4d;
}

.for-sale-label {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #dc3545; /* red */
  border-radius: 0.3rem;
  padding: 0.25rem 1rem;
  display: inline-block;
}

.domain-name {
  /*font-size: 3rem; */
  font-weight: 700;
  color: #252b33;
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 5vw, 3rem);
}

.estimated-value {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #4c4d4d;
}
.estimated-value .price-badge {
  background-color: #28a745; /* green */
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 0.5rem;
  padding: 0.1rem 0.6rem;
  border-radius: 0.25rem;
}

.contact-info i {
  margin-right: 0.5rem;
}

/* Input icons inside form controls */
.icon-group {
  position: relative;
}
.icon-group .icon-inside {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
}
.icon-group input {
  padding-left: 2.5rem;
}

/* Preloader animation */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader .lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.preloader .lds-ellipsis div {
  position: absolute;
  top: 27px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #000;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.preloader .lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite;
}
.preloader .lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}
.preloader .lds-ellipsis div:nth-child(3) {
  left: 26px;
  animation: lds-ellipsis2 0.6s infinite;
}
.preloader .lds-ellipsis div:nth-child(4) {
  left: 45px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
@keyframes lds-ellipsis3 {
  0% { transform: scale(1); }
  100% { transform: scale(0); }
}
@keyframes lds-ellipsis2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(19px, 0); }
}

/* List style for modal domain list */
.list-style-2 {
  list-style: none;
  padding-left: 0;
}
.list-style-2 li {
  margin-bottom: 0.5rem;
}
.list-style-2 li a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.2s ease;
}
.list-style-2 li a:hover {
  text-decoration: underline;
  color: #0a58ca;
}