/* WP Domain Checker - WHOIS Page Styles */

.wdc-whois-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.wdc-whois-section {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.wdc-whois-section h3 {
    background-color: #f9fafb;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
}

.wdc-whois-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    padding: 10px 16px;
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-top: -1px;
}

.wdc-whois-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    padding: 16px;
}

.wdc-whois-grid.nested {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
}

.wdc-whois-grid-item {
    display: flex;
    flex-direction: column;
}

.wdc-whois-grid-item.full-width {
    grid-column: 1 / -1;
}

.nested .wdc-whois-grid-item {
    flex-direction: row;
    justify-content: space-between;
    padding: 8px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.nested .wdc-whois-grid-item:last-child {
    border-bottom: none;
}


.wdc-whois-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 500;
}

.wdc-whois-value {
    font-size: 14px;
    color: #111827;
    word-break: break-all;
}

.wdc-whois-nameservers {
    padding: 16px;
}

.wdc-whois-nameserver-header,
.wdc-whois-nameserver-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.wdc-whois-nameserver-header .wdc-whois-label {
    font-weight: 600;
    color: #111827;
}

.wdc-whois-nameserver-item:last-child {
    border-bottom: none;
}