* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.6;
}

.card {
    border: 1px solid #ddd;
    background: #fff;
    padding: 24px;
    margin-bottom: 24px;
}

.section-header,
.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.section-header h2,
.results-header h2,
.faq-card h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.section-header p,
.results-header p {
    font-size: 13px;
    color: #666;
}

.search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.search-bar input {
    flex: 1;
    min-width: 220px;
    border: 1px solid #ccc;
    padding: 12px 14px;
    font-size: 15px;
}

.feedback {
    min-height: 20px;
    font-size: 13px;
    color: #b42323;
    margin-top: 10px;
}

.feedback.success {
    color: #1a7f37;
}

.examples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    font-size: 13px;
    color: #666;
}

.example-tag {
    border: 1px solid #ccc;
    padding: 6px 12px;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.example-tag:hover {
    border-color: #000;
}

.results-card {
    position: relative;
}

.loading {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-group {
    border: 1px solid #eee;
}

.result-group h3 {
    font-size: 15px;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.domain-list {
    list-style: none;
}

.domain-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
}

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

.domain-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 220px;
}

.domain-number {
    width: 28px;
    height: 28px;
    border: 1px solid #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.domain-text {
    font-size: 15px;
    font-weight: 500;
}

.domain-text .register-part {
    color: #666;
    font-weight: 400;
}

.domain-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.domain-actions .btn {
    height: 34px;
    font-size: 13px;
    padding: 0 12px;
}

.empty-state {
    text-align: center;
    font-size: 14px;
    color: #999;
    padding: 30px 0;
}

.faq-item {
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
}

.faq-item:first-of-type {
    border-top: none;
}

.faq-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.faq-item p {
    font-size: 14px;
    color: #555;
}

@media (max-width: 640px) {
    .card {
        padding: 20px;
    }

    .section-header,
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .domain-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .domain-actions {
        width: 100%;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-bar input {
        width: 100%;
    }
}
