/* Mega Domain Search Styles - BKNS Premium */

.mega-search-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    font-family: 'Inter', Arial, sans-serif;
    color: #333;
}

/* Header & Search Bar */
.mega-search-form-container {
    background: linear-gradient(90deg, #0072ff 0%, #00c6ff 100%);
    padding: 60px 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mega-search-form-container h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
}

.mega-search-box {
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.mega-search-box input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 18px;
    outline: none;
    border-radius: 8px 0 0 8px;
}

.mega-search-box .btn-search {
    background: #ffc107;
    color: #333;
    border: none;
    padding: 0 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
}

.mega-search-box .btn-search:hover {
    background: #ffb300;
}

.btn-ai-suggest {
    background: #343a40;
    color: #fff;
    border: none;
    padding: 15px 20px;
    margin-left: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-ai-suggest i {
    color: #ffd700;
}

/* Results Container */
.mega-search-results {
    margin-top: 40px;
    display: none;
}

.result-card {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    overflow: hidden;
}

/* Case 1: Available */
.domain-main-result {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}

.domain-info h3 {
    font-size: 32px;
    margin: 0;
    color: #333;
}

.domain-status-msg {
    color: #28a745;
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.domain-pricing {
    text-align: right;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.price-current {
    color: #d9534f;
    font-size: 24px;
    font-weight: 700;
    margin-left: 10px;
}

.btn-register-now {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

/* Case 2: Taken / WHOIS */
.whois-container {
    padding: 30px;
    display: flex;
    gap: 30px;
}

.whois-table-wrapper {
    flex: 2;
}

.whois-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.whois-header h4 {
    font-size: 22px;
    margin: 0;
}

.btn-lifecycle {
    border: 1px solid #007bff;
    color: #007bff;
    background: transparent;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.whois-table {
    width: 100%;
    border-collapse: collapse;
}

.whois-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.whois-table td:first-child {
    background: #f9f9f9;
    font-weight: 600;
    width: 30%;
}

.whois-actions {
    flex: 1;
}

.whois-actions .status-taken {
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-action-vertical {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.btn-transfer {
    background: #007bff;
    color: #fff;
}

/* Suggestions Section */
.suggestions-box {
    background: #fff;
}

.suggestions-header {
    background: #f8f9fa;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.suggestion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #f5f5f5;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggest-domain-name {
    font-size: 18px;
    font-weight: 600;
}

.suggest-domain-status {
    color: #28a745;
    font-size: 12px;
    margin-top: 3px;
}

.suggest-btn-reg {
    background: #007bff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

/* Multi-whois button */
.btn-multi-whois {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto;
    padding: 15px;
    border: 1px solid #007bff;
    color: #007bff;
    background: #fff;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

/* Loading Overlay */
.mega-loader {
    display: none;
    padding: 40px;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .mega-search-box {
        flex-direction: column;
    }
    .mega-search-box input {
        border-radius: 8px 8px 0 0;
    }
    .mega-search-box .btn-search {
        padding: 15px;
        border-radius: 0 0 8px 8px;
    }
    .domain-main-result {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .whois-container {
        flex-direction: column;
    }
}
