/* ============================================
   DOMAIN SEARCH MODERN - Orange & White Theme
   Developer Hosting Theme
============================================ */

.domain-search-section-modern {
    padding: 60px 0 0;
    margin-top: -120px;
    position: relative;
    z-index: 5;
}

.domain-search-modern {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.domain-search-modern-inner {
    padding: 50px 60px;
    position: relative;
}

.domain-search-modern-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.domain-search-modern-inner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Content Header */
.domain-search-content {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.domain-search-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.domain-search-content p {
    font-size: 17px;
    color: #64748b;
}

/* Search Form */
.domain-search-modern-form {
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
}

.domain-input-group {
    display: flex;
    align-items: stretch;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.domain-input-group:focus-within {
    border-color: #ff7a00;
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.domain-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: #94a3b8;
}

.domain-input-icon svg {
    width: 24px;
    height: 24px;
}

.domain-input-group input {
    flex: 1;
    padding: 20px 16px;
    font-size: 17px;
    font-weight: 500;
    border: none;
    background: transparent;
    color: #0f172a;
    min-width: 0;
}

.domain-input-group input:focus {
    outline: none;
}

.domain-input-group input::placeholder {
    color: #94a3b8;
}

.domain-ext-select {
    padding: 20px 16px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    background: #f1f5f9;
    border: none;
    border-left: 2px solid #e2e8f0;
    cursor: pointer;
    min-width: 110px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.domain-ext-select:focus {
    outline: none;
}

.domain-search-submit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 36px;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9500 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.domain-search-submit:hover {
    background: linear-gradient(135deg, #e86e00 0%, #ff8800 100%);
    transform: translateX(4px);
}

.domain-search-submit svg {
    width: 20px;
    height: 20px;
}

/* Price Tags */
.domain-price-tags {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.domain-price-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.domain-price-tag:hover {
    border-color: #ff7a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.15);
}

.domain-price-tag.featured {
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.08) 0%, rgba(255, 149, 0, 0.05) 100%);
    border-color: #ff7a00;
}

.tag-badge {
    position: absolute;
    top: -10px;
    right: -8px;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9500 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.tag-ext {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.domain-price-tag.featured .tag-ext {
    color: #ff7a00;
}

.tag-old-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

.tag-price {
    font-size: 18px;
    font-weight: 800;
    color: #ff7a00;
}

.tag-price small {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

/* Results */
.domain-results-modern {
    margin-top: 24px;
    display: none;
    position: relative;
    z-index: 1;
}

.domain-results-modern.show {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.domain-result-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    padding: 20px 24px;
    border-radius: 14px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.domain-result-modern.available {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.domain-result-modern.taken {
    border-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.02) 100%);
}

.domain-result-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.domain-result-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.domain-result-modern.available .domain-result-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.domain-result-modern.taken .domain-result-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.domain-result-icon svg {
    width: 22px;
    height: 22px;
}

.domain-result-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.domain-result-status {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.domain-result-modern.available .domain-result-status {
    color: #10b981;
}

.domain-result-modern.taken .domain-result-status {
    color: #ef4444;
}

.domain-result-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.domain-result-price {
    font-size: 22px;
    font-weight: 800;
    color: #ff7a00;
}

.domain-result-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9500 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.domain-result-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

.domain-result-btn.disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.domain-result-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 992px) {
    .domain-search-modern-inner {
        padding: 40px 30px;
    }

    .domain-input-group {
        flex-wrap: wrap;
    }

    .domain-input-icon {
        display: none;
    }

    .domain-input-group input {
        width: 100%;
        border-bottom: 2px solid #e2e8f0;
    }

    .domain-ext-select {
        flex: 1;
        border-left: none;
        border-right: 2px solid #e2e8f0;
    }

    .domain-search-submit {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .domain-search-section-modern {
        margin-top: -20px;
        padding: 0 15px;
    }

    .domain-search-modern-inner {
        padding: 30px 20px;
    }

    .domain-search-content h2 {
        font-size: 24px;
    }

    .domain-input-group {
        flex-direction: column;
        border-radius: 14px;
    }

    .domain-input-group input {
        padding: 18px 20px;
        border-radius: 14px 14px 0 0;
        border-bottom: 2px solid #e2e8f0;
    }

    .domain-ext-select {
        border-left: none;
        border-right: none;
        border-bottom: 2px solid #e2e8f0;
    }

    .domain-search-submit {
        justify-content: center;
        border-radius: 0 0 14px 14px;
    }

    .domain-price-tags {
        gap: 10px;
    }

    .domain-price-tag {
        padding: 10px 14px;
    }

    .tag-ext {
        font-size: 14px;
    }

    .tag-price {
        font-size: 15px;
    }

    .domain-result-modern {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .domain-result-info {
        flex-direction: column;
    }

    .domain-result-actions {
        width: 100%;
        justify-content: center;
    }

    .domain-result-btn {
        width: 100%;
    }
}