
/* Tool Specific Styles for WHOIS Lookup */
.d-none {
    display: none;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.table th,
.table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
    font-size: 0.88rem;
}

.table th {
    background: #f8fafc;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.table tbody tr:hover {
    background: #f1f5f9;
}

.def-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.def-item {
    display: flex;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
}

.def-badge {
    background: #dbeafe;
    color: #2563eb;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    height: fit-content;
    text-transform: uppercase;
}

.def-text strong {
    display: block;
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 2px;
}

.def-text span {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
}

body.dark-mode .table {
    background: #1e2a45;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

body.dark-mode .table th {
    background: #2e3f6e;
    color: #94a3b8;
}

body.dark-mode .table td {
    color: #e2e8f0;
    border-bottom-color: #2e3f6e;
}

body.dark-mode .table tbody tr:hover {
    background: #2a3b5c;
}

body.dark-mode .def-item {
    background: #162038;
    border-color: #1e3a5c;
}

body.dark-mode .def-text strong {
    color: #e2e8f0;
}

body.dark-mode .def-badge {
    background: #1e3a5c;
    color: #93c5fd;
}
