﻿.whois-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    margin-top:100px;
}

.whois-header {
    text-align: center;
    margin-bottom: 30px;
}

.whois-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.whois-result {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.whois-result-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.domain-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.domain-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.domain-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.status-available {
    background: #d4edda;
    color: #155724;
}

.status-unavailable {
    background: #f8d7da;
    color: #721c24;
}

.info-section {
    margin-bottom: 25px;
}

    .info-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #333;
        border-bottom: 1px solid #eee;
        padding-bottom: 8px;
    }

.info-row {
    display: flex;
    margin-bottom: 10px;
}

.info-label {
    width: 200px;
    font-weight: bold;
    color: #666;
}

.info-value {
    flex: 1;
    color: #333;
}

.raw-data {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    font-family: monospace;
    white-space: pre-wrap;
    font-size: 14px;
    max-height: 300px;
    overflow-y: auto;
}

.related-domains {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.related-domain {
    text-align: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
}

    .related-domain:hover {
        border-color: #fa8c16;
        box-shadow: 0 2px 8px rgba(250,140,22,0.1);
    }

    .related-domain .price {
        font-weight: bold;
        color: #fa8c16;
    }

.search-history {
    margin-top: 30px;
}

.history-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

    .history-item:hover {
        background: #f8f9fa;
    }
/* Tools link section */
.tools-link-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
}

    .tools-link-section a {
        color: #fa8c16;
        font-weight: bold;
        text-decoration: none;
    }

        .tools-link-section a:hover {
            text-decoration: underline;
        }

.delete-icon {
    color: #999;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.badge:hover .delete-icon {
    opacity: 1;
    visibility: visible;
}

.delete-icon:hover {
    color: #ff4d4f;
}

.clear-all-btn {
    color: #999;
    border-color: #999;
    transition: all 0.3s ease;
}

    .clear-all-btn:hover {
        color: #ff4d4f;
        border-color: #ff4d4f;
        background-color: transparent;
    }
        