:root {
  --color-primary: #007cfc;
  --color-primary-light: #1684f3;
  --color-primary-lighter: #daebff;

  --black: #2e2e2e;
  --grey: #9e9e9e;
  --fa6: "Font Awesome 6 Free";
  --regular: "Inter-Regular", sans-serif;
  --medium: "Inter-Medium", sans-serif;
  --semi: "Inter-SemiBold", sans-serif;
  --bold: "Inter-Bold", sans-serif;
  --noto: "NotoSans-Regular", sans-serif;
  --notoBold: "NotoSans-Bold", sans-serif;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border: 0;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: unset;
  background-color: #fff;
}

::-webkit-scrollbar {
  height: 4px;
  border-radius: 99px;
}

/* Font website */
@font-face {
  font-family: "Inter-SemiBold";
  src:
    url("./fonts/Inter-SemiBold.woff2") format("woff2"),
    url("./fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter-Bold";
  src:
    url("./fonts/Inter-Bold.woff2") format("woff2"),
    url("./fonts/Inter-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter-Medium";
  src:
    url("./fonts/Inter-Medium.woff2") format("woff2"),
    url("./fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter-Regular";
  src:
    url("./fonts/Inter-Regular.woff2") format("woff2"),
    url("./fonts/Inter-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NotoSans-Regular";
  src:
    url("./fonts/NotoSans-Regular.woff2") format("woff2"),
    url("./fonts/NotoSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NotoSans-Bold";
  src:
    url("./fonts/NotoSans-Bold.woff2") format("woff2"),
    url("./fonts/NotoSans-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/*-----------------------------*/

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-weight: normal;
  font-family: var(--bold);
}

html,
.absolute-footer {
  background-color: transparent !important;
}

.progress-wrap {
  position: fixed;
  right: 20px;
  bottom: 50px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-wrap::after {
  position: absolute;
  content: "\f061";
  font-family: var(--fa6);
  text-align: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  cursor: pointer;
  display: block;
  z-index: 1;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  font-size: 18px;
  color: var(--theme-color);
}

.progress-wrap::before {
  position: absolute;
  content: "";
  text-align: center;
  line-height: 40px;
  font-size: 24px;
  opacity: 0;
  background-image: linear-gradient(298deg, #47be7a, #0084b5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  left: 0;
  top: 0;
  height: 40px;
  width: 40px;
  cursor: pointer;
  display: block;
  z-index: 2;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.progress-wrap:hover::before {
  opacity: 1;
}

.progress-wrap svg path {
  fill: none;
}

.progress-wrap svg.progress-circle path {
  stroke: var(--theme-color);
  stroke-width: 4px;
  box-sizing: border-box;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

/* ==========================================================================
   DOMAIN SEARCH COMPONENT - PREMIUM MODERN STYLE
   ========================================================================== */

.page-domain h1 {
  font-size: 42px !important;
  font-weight: 900 !important;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -1px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.irc-domain-search-comp {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--regular);
}

/* 1. Toggle Buttons */
.irc-domain-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px;
  border-radius: 100px;
  margin-bottom: 40px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.irc-toggle-btn {
  padding: 12px 32px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.irc-toggle-btn.active {
  background: #ffffff;
  color: #007cfc;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.irc-toggle-btn:not(.active):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* 2. Search Input Container */
.irc-search-wrapper {
  max-width: 800px;
  margin: 0 auto 60px;
}

.irc-search-form {
  background: #ffffff;
  padding: 6px;
  border-radius: 100px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.irc-search-form:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.irc-input-group {
  display: flex;
  align-items: center;
  flex: 1;
  padding-left: 25px;
}

.irc-search-icon {
  color: #94a3b8;
  display: flex;
}

.irc-domain-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 16px !important;
  font-size: 18px !important;
  outline: none !important;
  color: #1e293b;
  box-shadow: none !important;
  font-family: var(--regular);
}

.irc-domain-input::placeholder {
  color: #94a3b8;
}

.irc-filter-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 0 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.irc-filter-btn:hover {
  color: #007cfc;
  transform: rotate(90deg);
}

.irc-check-btn {
  background: linear-gradient(135deg, #ff9d00 0%, #ff6b00 100%);
  color: #ffffff;
  border: none;
  border-radius: 100px;
  padding: 16px 50px;
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

.irc-check-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(255, 107, 0, 0.4);
}

.irc-bulk-search {
  display: inline-block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.irc-bulk-search:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* 3. TLD Grid & Cards */
.irc-tld-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.irc-tld-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.irc-tld-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.irc-tld-name {
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.irc-tld-old {
  font-size: 11px;
  text-decoration: line-through;
  opacity: 0.5;
  margin-bottom: 2px;
}

.irc-tld-curr {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 50px;
}

@media (max-width: 1100px) {
  .irc-tld-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .page-domain h1 {
    font-size: 32px !important;
  }
  .irc-tld-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .irc-search-form {
    border-radius: 30px;
    padding: 10px;
    flex-direction: column;
  }
  .irc-input-group {
    width: 100%;
    margin-bottom: 12px;
    padding-left: 15px;
  }
  .irc-check-btn {
    width: 100%;
    padding: 14px;
  }
}
