.domain-checker-container {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.domain-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.domain-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.domain-input-group input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.domain-input-group button {
    padding: 12px 25px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.domain-input-group button:hover {
    background: #005a87;
}

.domain-result {
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
}

.domain-available {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.domain-taken {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.domain-error {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.domain-status {
    font-size: 18px;
    margin-bottom: 10px;
}

.domain-message {
    margin-bottom: 15px;
    font-size: 14px;
}

.domain-price {
    background: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.price-label {
    font-weight: 600;
}

.price-amount {
    color: #28a745;
    font-weight: 600;
}

.renew-price {
    color: #6c757d;
    font-size: 14px;
}

.action-badge {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
}

.whois-btn, .whois-back-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.whois-btn:hover, .whois-back-btn:hover {
    background: #218838;
}

.whois-back-btn {
    background: #6c757d;
}

.whois-back-btn:hover {
    background: #5a6268;
}

.domain-checker-whois {
    margin-top: 20px;
}

.whois-data-container {
    margin-bottom: 15px;
}

.whois-data {
    background: white;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
    text-align: left;
}

.whois-loading, .domain-loading {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.whois-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .domain-input-group {
        flex-direction: column;
    }
    
    .domain-input-group input,
    .domain-input-group button {
        width: 100%;
    }
}