/* Start Tool CSS */
.whois-tool {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}



.whois-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}


.domain-status-badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9em;
}

.whois-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.whois-section {
    background: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.whois-section h5 {
    color: #34495e;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.detail-item {
    margin-bottom: 10px;
}

.detail-label {
    font-weight: 600;
    color: #7f8c8d;
    display: inline-block;
    min-width: 120px;
}

.detail-value {
    word-break: break-word;
}

.status-list, .ns-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-item {
    padding: 5px 8px;
    background: #f1f1f1;
    border-radius: 4px;
    font-size: 0.85em;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.contact-item {
    margin-bottom: 8px;
}

.full-width {
    grid-column: 1 / -1;
}

.raw-whois {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
}

.raw-whois pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 0.85em;
}

/* Status colors */
.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-expired {
    background-color: #f8d7da;
    color: #721c24;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

@media (max-width: 768px) {
    .whois-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .domain-status-badge {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .input-group {
        flex-direction: column;
    }
    
    #lookupBtn {
        width: 100%;
        margin-top: 10px;
    }
}
/* End Tool CSS */