:root.tools-registrar-check {
    --primary: #0077BE;
    --primary-dark: #005a8d;
    --primary-light: #00CED1;
    --accent: linear-gradient(135deg, #0077BE 0%, #00CED1 100%);
    --accent-hover: #005a8d;
    --gradient-main: linear-gradient(135deg, #0077BE 0%, #00CED1 100%);
    --gradient-2: linear-gradient(135deg, #00CED1 0%, #0077BE 100%);
    --text-primary: #1a2e35;
    --text-secondary: #6b7280;
    --text-dark: #1f2937;
    --bg-light: #f9fafb;
    --border-light: #e5e7eb;
    --primary-bg-1: rgba(0, 119, 190, 0.03);
    --primary-bg-2: rgba(0, 206, 209, 0.03);
    --hero-filter: drop-shadow(0 4px 20px rgba(0, 119, 190, 0.2));
    --focus-shadow: 0 25px 50px rgba(0, 119, 190, 0.12), inset 0 0 0 2px rgba(0, 119, 190, 0.08);
}

.results-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}

.results-count {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.info-notice {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.info-notice.warning {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    color: #92400e;
}

.info-notice p {
    margin: 0;
}

.registrar-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.registrar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 190, 0.1);
}

.registrar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.registrar-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.registrar-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-accredited {
    background: #d1fae5;
    color: #065f46;
}

.badge-suspended {
    background: #fee2e2;
    color: #991b1b;
}

.badge-terminated {
    background: #fecaca;
    color: #7f1d1d;
}

.badge-reserved {
    background: #e0e7ff;
    color: #3730a3;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.info-value {
    font-size: 1rem;
    color: var(--text-primary);
    word-break: break-all;
}

.info-value.highlight {
    font-weight: 700;
    color: var(--primary);
    background: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

.info-value a {
    color: var(--primary);
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.relationship-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.relationship-label {
    font-weight: 600;
    color: #92400e;
    min-width: 200px;
}

.relationship-value {
    color: #78350f;
}

.relationship-value strong {
    color: #451a03;
}

.iana-link {
    color: #92400e;
    text-decoration: none;
    font-size: 0.9rem;
}

.iana-link:hover {
    text-decoration: underline;
}

.contact-section {
    margin-bottom: 20px;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: background 0.2s, box-shadow 0.2s;
}

.contact-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 119, 190, 0.1);
}

.contact-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-content {
    flex: 1;
    min-width: 0;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    word-break: break-word;
}

.contact-value a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-value a:hover {
    text-decoration: underline;
}

.official-links {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.official-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.official-link:hover {
    background: var(--gradient-main);
    color: #fff;
    border-color: transparent;
}

.data-notice {
    margin-top: 30px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.error-message {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    font-size: 1.1rem;
}

.error-message a {
    color: var(--primary);
}

@media (max-width: 768px) {
    .results-container {
        padding: 0 12px 30px;
    }

    .registrar-card {
        padding: 16px;
        border-radius: 12px;
    }

    .registrar-header {
        flex-direction: column;
    }

    .registrar-name {
        font-size: 1.2rem;
        min-width: auto;
    }

    .info-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .relationship-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .relationship-label {
        min-width: auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .official-link {
        width: 100%;
        justify-content: center;
    }
}