/* =========================
   HERO
========================= */

.hero{
position:relative;
padding:90px 0 170px;
background:linear-gradient(90deg,#5b3fd6,#0a2c6b);
color:#fff;
text-align:center;
}

.title-domain{
color:#fff;
}

/* =========================
   SEARCH BOX OVERLAP
========================= */

.search-box{
position:relative;
margin-top:-90px;
z-index:10;

max-width:1320px; /* menm lajè container Bootstrap */
margin-left:auto;
margin-right:auto;
/*padding:0 12px;*/
}

/* SEARCH BAR */

.domain-search-bar{
display:flex;
align-items:center;
justify-content:center;
gap:0 !important;
width:100%;
margin:auto;
}

/* input + tld container */
.search-box-inner{
display:flex;
flex:1;
background:#f5f5f5;
border:2px solid #dcdcdc;
border-right:0;          /* retire border bò dwat */
border-radius:10px 0 0 10px;
overflow:visible;        /* pa kouvri bouton an */
}

/* focus orange */
.search-box-inner:focus-within{
border-color:#ff8a00;
box-shadow:0 0 0 2px rgba(255,122,0,.15);
}

/* input */
.domain-input{
flex:1;
border:none !important;
background:transparent;
padding:16px 18px;
font-size:18px;
outline:none;
box-shadow:none !important;
height:60px;
}

.domain-search-bar .domain-btn{
height:60px;
font-size:17px;
padding:0 32px;
border:2px solid #dcdcdc;
}

.domain-search-bar .domain-btn:hover{
transition:none !important;
animation:none !important;
}

form.domain-search-bar button.domain-btn{
all:unset;
background:#ff7a00;
color:#fff;
height:68px;
padding:0 34px;
border-radius:0 10px 10px 0;
font-weight:600;
font-size:18px;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 0 0 2px rgba(255,122,0,.15);
margin-left:-2px;
}

.domain-input,
.domain-input{
height:64px;
font-size:18px;
padding:0 24px;
}

.domain-input{
height:64px;
}

.domain-search-bar .domain-btn{
height:65px;
min-width:140px;   /* fè li pi long */
}

#domainResults {
background: #fff;
border-radius: 10px;
padding: 15px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}


#mainResult{
margin-bottom:15px;
background:#f8f9fa;
border:2px solid #0d6efd;
border-radius:10px;
}

#mainResult h4{
margin-bottom:5px;
font-weight:600;
}

#mainResult{
background:#f8f9fa;
border:2px solid #0d6efd;
border-radius:12px;
padding:20px;
}

#mainResult h4{
font-size:22px;
margin-bottom:8px;
}

#suggestionsList{
margin-top:10px;
}

.suggestion-item{
display:flex;
justify-content:space-between;
align-items:center;
padding:12px;
border-bottom:1px solid #eee;
}

.suggestion-item:last-child{
border-bottom:none;
}

.suggestion-name{
font-weight:600;
}

.suggestion-price{
color:#666;
font-size:14px;
}

#suggestionsWrapper h6{
font-weight:600;
color:#333;
border-bottom:1px solid #eee;
padding-bottom:8px;
}

#mainResult{
box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.suggestion-item:hover{
background:#f8f9fa;
transition:0.2s;
}

#pricingTable {
transition: all 0.3s ease;
}

#mainResult button{
margin-top:10px;
min-width:180px;
}

.suggestion-item button{
min-width:90px;
}

#suggestionsWrapper{
margin-top:10px;
}

/* =========================
   TLD SECTION
========================= */

.tld-section{
background:#eef2f7;
padding:64px 0 80px;
margin-top:-144px;
position:relative;
z-index:1;
}

/* dropdown */
.domain-tld{
border:none !important;
border-left:1px solid #dcdcdc;
border-right:0;
border-radius:0;
background:transparent;
padding:0 18px;
min-width:140px;   /* fè li pi long */
height:64px;
appearance:none;
-webkit-appearance:none;
-moz-appearance:none;
}

/* hover */
.domain-tld:hover{
background:#0d6efd;
color:#fff;
border-radius:10px 0 0 10px; /* sèlman bò gòch */
}

#previewDomain{
font-weight:600;
color:#0d6efd;
}

#previewDomain{
font-weight:600;
font-size:18px;
}

#domainStatus{
font-size:14px;
}

.status-check{
color:#999;
}

.status-available{
color:#28a745;
font-weight:600;
}

.status-taken{
color:#dc3545;
font-weight:600;
}

.result-box.loading {
opacity:0.6;
pointer-events:none;
}
/* =========================
   SPINNER
========================= */

#spinner{
transition:opacity .3s ease;
}

/* =========================
   TABLE DOMAINS
========================= */
.table-responsive{
background:#fff; 
padding:50px;
border-radius:10px
 }
 
.table{
width:100%;
table-layout:fixed;
margin-bottom:0;
background:#fff;
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.table th,
.table td{
padding:0 10px !important;
height:40px;
line-height:40px;
white-space:nowrap;
font-size:14px;
vertical-align:middle;
}

.table th:first-child,
.table td:first-child{
width:30%;
text-align:left;
}

.table th:nth-child(2),
.table td:nth-child(2),
.table th:nth-child(3),
.table td:nth-child(3),
.table th:nth-child(4),
.table td:nth-child(4){
width:17%;
text-align:center;
}

.table th:last-child,
.table td:last-child{
width:15%;
text-align:center;
}

.restricted-row{
opacity:.8;
}

.table td{
font-weight:500;
}

.table tr:hover{
background:#f8f9fa;
}
/* =========================
   FAQ ACCORDION
========================= */

.faq-accordion .accordion-item{
overflow:hidden;
}

.faq-accordion .accordion-button{
background:#fff;
border-radius:12px !important;
font-size:15px;
box-shadow:none;
}

.faq-accordion .accordion-button:not(.collapsed){
background:#f5f7ff;
color:#0d6efd;
}

/* =========================
   SERVICE PILLS
========================= */

.service-pills{
display:grid;
grid-template-columns:repeat(4,1fr);
max-width:820px;
margin:30px auto;
gap:18px;
}

.service-pill{
display:flex;
align-items:center;
justify-content:center;
text-align:center;
gap:8px;
padding:10px 18px;
min-height:50px;
background:linear-gradient(135deg,#ff8a00,#ff5e00);
border-radius:50px;
text-decoration:none;
font-size:14px;
font-weight:500;
color:#333;
transition:all .25s ease;
box-shadow:0 2px 6px rgba(0,0,0,0.05);
}

.service-pill:nth-child(1){grid-column:2;}
.service-pill:nth-child(2){grid-column:3;}
.service-pill:nth-child(3){grid-column:1;}
.service-pill:nth-child(7){grid-column:2;}
.service-pill:nth-child(8){grid-column:3;}

.service-pill.default-hover,
.service-pill:hover{
background:#0d6efd;
color:#fff;
transform:translateY(-3px);
box-shadow:0 8px 20px rgba(13,110,253,0.35);
}

.service-pill:hover .icon{
transform:scale(1.2);
}

.service-pill .icon{
font-size:16px;
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

.service-pills{
grid-template-columns:repeat(2,1fr);
}

.service-pill:nth-child(1),
.service-pill:nth-child(2),
.service-pill:nth-child(3),
.service-pill:nth-child(7),
.service-pill:nth-child(8){
grid-column:auto;
}

}

/* RESULT STYLE LIKE GODADDY */

.result-box{
background:#f5f6fa;
border:1px solid #ddd;
border-radius:12px;
padding:20px;
margin-bottom:15px;
}

.result-alert{
background:#eef1f7;
border:1px solid #d6dbe6;
padding:15px;
border-radius:10px;
margin-bottom:15px;
font-size:14px;
}

.result-main{
display:flex;
justify-content:space-between;
align-items:center;
}

.result-domain{
font-weight:600;
font-size:18px;
}

.result-price{
font-size:18px;
font-weight:700;
}

.result-old-price{
text-decoration:line-through;
color:#999;
font-size:14px;
margin-right:8px;
}

.btn-purple{
background:#6c4cff;
color:#fff;
border:none;
padding:10px 18px;
border-radius:8px;
font-weight:600;
}

.btn-purple:hover{
background:#5a3ee6;
}

.badge-green{
background:#00a86b;
color:#fff;
padding:4px 8px;
border-radius:6px;
font-size:12px;
margin-right:8px;
}

.suggestion-row{
display:flex;
justify-content:space-between;
align-items:center;
padding:12px 0;
border-bottom:1px solid #eee;
}

.suggestion-row:last-child{
border-bottom:none;
}

.suggestion-item{
display:flex;
justify-content:space-between;
align-items:center;
padding:12px 10px;
border-bottom:1px solid #eee;
}

.suggestion-item:hover{
background:#f8f9fa;
}

.suggestion-name{
font-weight:600;
font-size:15px;
}

.suggestion-price{
font-size:13px;
color:#666;
}