/* 도메인 정보 조회 스타일 - json-csv-converter / base64 디자인 언어 차용 (blue/indigo 테마) */
.dominfo-tool {
    --tool-primary: #2563eb;
    --tool-bg: #eff6ff;
    --tool-gradient: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
}

/* 히어로 */
.dominfo-hero {
    background: var(--tool-gradient);
    border-radius: 16px;
    padding: 36px 32px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
}
.dominfo-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}
.dominfo-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -60px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}
.dominfo-hero h1 {
    font-size: 28px;
    font-weight: 800;
    position: relative;
    z-index: 1;
    margin: 10px 0 6px;
}
.dominfo-hero p {
    opacity: 0.85;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* 에디터 카드 */
.editor-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
}
.editor-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f5;
}
.editor-title {
    font-weight: 700;
    font-size: 14px;
    color: #343a40;
}
.editor-title i {
    color: var(--tool-primary);
}
.editor-body {
    padding: 16px;
}

/* 도메인 입력 */
.dominfo-tool .form-control:focus {
    border-color: var(--tool-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* 액션 버튼 */
.btn-action {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.btn-action:hover {
    border-color: var(--tool-primary);
    color: var(--tool-primary);
    background: var(--tool-bg);
}
.btn-action-sm {
    padding: 6px 13px;
    font-size: 12.5px;
    border-radius: 8px;
}
.btn-action-primary {
    background: var(--tool-gradient);
    border: none;
    color: #fff;
}
.btn-action-primary:hover {
    background: var(--tool-gradient);
    border: none;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}
/* 조회 버튼은 입력 높이에 맞춰 키움 */
.btn-action.btn-lg-search {
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 12px;
}

/* 결과 탭 (nav-pills) */
.dominfo-tool .nav-pills .nav-link {
    color: #495057;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 10px;
    margin: 0 4px;
    transition: all 0.2s;
}
.dominfo-tool .nav-pills .nav-link.active {
    background: var(--tool-gradient);
    border-color: transparent;
    color: #fff;
}
.dominfo-tool .nav-pills .nav-link:not(.active):hover {
    border-color: var(--tool-primary);
    color: var(--tool-primary);
    background: var(--tool-bg);
}

/* 결과 테이블 */
.result-table th {
    color: #343a40;
    font-weight: 600;
    background: #f8f9fb;
    vertical-align: middle;
    white-space: nowrap;
}
.result-table th i {
    color: var(--tool-primary);
}
.result-table td {
    vertical-align: middle;
    color: #212529;
}
.result-table code {
    color: var(--tool-primary);
}

/* DNS 타입 배지 */
.badge-dns {
    min-width: 56px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
}

/* WHOIS 원본 (다크) */
.raw-whois {
    background-color: #1e1e2e;
    color: #cdd6f4;
    margin: 0;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    line-height: 1.6;
}

/* 서포트 카드 */
.support-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
}
.support-card .card-hd {
    padding: 14px 18px;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid #f1f3f5;
}
.support-card .card-bd {
    padding: 18px;
}
.support-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #343a40;
    margin: 18px 0 10px;
}

/* 아코디언 */
.dominfo-tool .accordion-button:not(.collapsed) {
    background-color: var(--tool-bg);
    color: var(--tool-primary);
    box-shadow: none;
}
.dominfo-tool .accordion-button:focus {
    box-shadow: none;
}

/* 반응형 */
@media (max-width: 768px) {
    .dominfo-hero { padding: 28px 20px; border-radius: 12px; }
    .dominfo-hero h1 { font-size: 22px; }
    .btn-action.btn-lg-search { width: 100%; justify-content: center; margin-top: 8px; }
}
