.ip-result-section {
    display: none;
    margin-top: 1.25rem;
}

.ip-result-section.show {
    display: block;
}

.ip-result-table {
    width: 100%;
    border-collapse: collapse;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.ip-result-table th,
.ip-result-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.875rem;
    border-bottom: 1px solid #e5e7eb;
}

.ip-result-table th {
    width: 8rem;
    font-weight: 600;
    color: #374151;
    background: #f3f4f6;
    white-space: nowrap;
}

.ip-result-table td {
    color: #111827;
    word-break: break-all;
}

.ip-result-table tbody tr:last-child td,
.ip-result-table tbody tr:last-child th {
    border-bottom: none;
}

.ip-result-value {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    font-size: 0.875rem;
}

.ip-copy-btn {
    flex-shrink: 0;
    margin-left: 0.75rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.ip-copy-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.ip-result-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.ip-hint {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.ip-error {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
}

.ip-error.show {
    display: block;
}
