.domain-search-wrap { max-width: 1000px; margin: 20px auto; font-family: 'Pretendard', sans-serif; padding:15px 0 15px; }
.search-title { text-align: center; margin-bottom: 25px; font-size: 24px; font-weight: 800; color: #222; }

.search-box-inner { display: flex; background:#202020; padding: 8px 10px; border: 2px solid #515151; border-radius: 50px; box-shadow: 0 8px 15px rgba(43,89,255,0.1); margin-bottom: 20px; }
.search-box-inner input { flex: 1; padding: 6px 20px; border: none; font-size: 16px;color: #E4E4E4; font-weight: 500; background:#202020; width: 100%; outline: none !important; 
text-decoration: none !important;  /* 혹시 모를 텍스트 밑줄 제거 */
    -webkit-appearance: none;          /* 아이폰/사파리 스타일 초기화 */}
.search-box-inner input:focus { outline: none !important; box-shadow: none !important; border: none !important; }
.search-box-inner button {
    width: 100px;
    background: #B88D03;
    color: #fff;
    border: 2px solid #B88D03;
    border-radius: 40px;
    font-size: 1.15em;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: 0.2s;
	
	display: inline-flex;    /* 내부 정렬을 위해 flex 적용 */
    align-items: center;     /* 세로 중앙 정렬 */
    justify-content: center;  /* 가로 중앙 정렬 */
    
    padding: 0 15px;         /* 상하 패딩은 0으로 두고 좌우만 조절 */
	height: 34px;
    line-height: 34px; /* height와 동일하게 */
    padding-top: 0;    /* 상하 패딩 초기화 */
    padding-bottom: 0;
}

.search-box-inner button:hover { background: #2B2B2B; color: #B88D03; }
/* [추가] 비활성화된 버튼 스타일 */
.search-box-inner button:disabled { width: 124px !important; background: #857441 !important; color: #FBFBFB !important; cursor: not-allowed; opacity: 0.7; }

body.is-android .search-box-inner input {
    font-size: 14px;
}

body.is-android .search-box-inner button {
    padding-bottom: 2px;
}

.domain-selector { background: #202020; border: 1px solid #5D5D5D; border-radius: 12px; padding: 15px 15px 18px; margin-bottom: 25px; }
.selector-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; border-bottom: 1px solid #5D5D5D; padding-bottom: 8px; }
.all-check-label { font-size: 15px; font-weight:400; color: #E4E4E4; cursor: pointer; display: flex; align-items: center; margin: 0 0 0 7px; }
.grid-toggle-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 1.15em; color: #E4E4E4; cursor: pointer; font-weight: 400; user-select: none; transition: 0.2s; }
.grid-toggle-btn i { font-size: 1.65em; line-height: 1; display: inline-block; }

.checkbox-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; transition: 0.3s; }
.checkbox-grid.hidden { display: none !important; }
.check-item { display: flex; align-items: center; font-size:1.35em; color: #E4E4E4; font-weight: 400; cursor: pointer; padding: 6px; border-radius: 6px; background: #2B2B2B; border: 1px solid #5D5D5D; transition: 0.2s; }

input.tld-chk, #allCheck { 
    appearance: none !important; -webkit-appearance: none !important; width: 18px !important; height: 18px !important; border: 2.5px solid #5D5D5D !important; border-radius: 4.5px !important;
    background-color: #202020 !important; cursor: pointer !important; position: relative !important; margin: 0 8px 0 0 !important; outline: none !important; transition: all 0.2s ease; vertical-align: middle !important; display: inline-block !important; visibility: visible !important; opacity: 1 !important;
}
input.tld-chk:checked, #allCheck:checked { background-color: #808000 !important; border-color: #848460 !important; }
input.tld-chk:checked:hover, #allCheck:checked:hover { background-color: #585840 !important; border-color: #848460 !important; opacity: 0.85; }
input.tld-chk:checked::after, #allCheck:checked::after { content: '✓' !important; color: #fff !important; font-size: 13px !important; font-weight: 900 !important; position: absolute !important; top: 48% !important; left: 50% !important; transform: translate(-50%, -50%) !important; }

.result-container { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result-card { background: #202020; border: 1px solid #202020; border-radius: 12px; padding: 15px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.result-card.loading-card { opacity: 0.5; }
.domain-info .name { font-size: 16px; font-weight: 600; color: #B2B2B2; display: block; margin-bottom: 2px; }

.spinner {
    display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3);
    border-left-color: #B88D03; border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: middle; margin-right: 5px; margin-bottom: 2px;
}

.spinner2 {
    display: inline-block; 
    width: 14px; 
    height: 14px; 
    border: 2px solid rgba(255,255,255,0.3); /* 연한 테두리 */
    border-left-color: #FFFFFF; /* 회전하는 부분 색상 (흰색 추천) */
    border-radius: 50%; 
    animation: spin 0.8s linear infinite; 
    vertical-align: middle; 
    margin-right: 8px; /* 텍스트와의 간격 확보 */
}

@keyframes spin { to { transform: rotate(360deg); } }

.status-badge { padding:0 10px; height:31px; line-height:31px; border-radius: 6px; font-size: 13px; font-weight: 400; min-width: 65px; text-align: center; }
.status-badge.badge-wait { background: #fff; color: #000; border: 1px solid #5D5D5D; }
.badge-avail { background: #5F9022; color: #F5F8F2}
.badge-reg { background: #B03C62; color: #FCEAF0}
.badge-error { background: #2B2B2B; color: #BEBEBE; border: 1px solid #BEBEBE;}

.btn-whois-popup { color: #B88D03; font-size: 16px; cursor: pointer; margin-right: 10px; vertical-align: middle; display: none; border: 1.5px solid #B88D03; padding: 3px; border-radius: 3px; line-height: 1; }
.btn-whois-popup:hover { background-color: #B88D03; color: #fff; }

.bottom_div { height: 150px; transition: height 0.4s ease; overflow: hidden; }

@media (max-width: 820px) {
    .checkbox-grid { grid-template-columns: repeat(3, 1fr); }
    .result-container { grid-template-columns: 1fr; }
    input.tld-chk, #allCheck { width: 19px !important; height: 19px !important; margin-right: 8px !important; }
    .grid-toggle-btn i { margin-top:-3px }
    .bottom_div { height: 1px; }
}

/*@media (max-width: 380px) {
	.checkbox-grid { grid-template-columns: repeat(2, 1fr); }
	.check-item { padding: 12px 10px; font-weight: 600; font-size: 14px; }
	.search-title { font-size: 20px; }
}*/

.fa-search {padding:6px 8px}
.fa-angle-up {color: #CAAA42}
.fa-angle-down {color: #F6EAC0}