/* IP Lookup Page Specific Styles */

.search-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-container {
    display: flex;
    align-items: stretch;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-right: 2px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-icon:hover {
    background-color: var(--primary-color);
}

.search-icon svg {
    width: 20px;
    height: 20px;
    color: #666;
    transition: color 0.2s ease;
}

.search-icon:hover svg {
    color: white;
}

.search-container input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    outline: none;
}

.search-container button {
    display: none;
}

.lookup-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.lookup-table thead {
    display: none;
}

.lookup-table th {
    display: none;
}

.lookup-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.15s ease;
}

.lookup-table tbody tr:hover {
    background-color: #f9fafb;
}

.lookup-table tbody tr:last-child {
    border-bottom: none;
}

.lookup-table td {
    padding: 12px 16px;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
}

.lookup-table td:first-child {
    font-weight: 600;
    color: #374151;
    width: 35%;
    white-space: nowrap;
}

.lookup-table td:last-child {
    color: #6b7280;
    font-weight: 400;
    word-break: break-word;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    padding: 6px 12px;
    background-color: transparent;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85em;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.back-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
    border-color: transparent;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}
