.ai-domain-search-container {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #1E73BE 0%, #5390D9 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.ai-domain-search-header {
    text-align: center;
    margin-bottom: 20px;
}

.ai-domain-search-header h2 {
    color: white;
    font-size: 32px;
    margin: 0 0 10px;
    font-weight: 700;
}

.ai-domain-search-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin: 0;
}

.ai-domain-search-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.ai-domain-search-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    transition: all 0.3s ease;
}

.ai-domain-search-input:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.ai-domain-search-button {
    padding: 18px;
    background: linear-gradient(135deg, #1E73BE 0%, #1557A0 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(30, 115, 190, 0.4), 
                0 2px 8px rgba(0, 0, 0, 0.15),
                inset 0 -2px 4px rgba(0, 0, 0, 0.1),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
    position: relative;
}

.ai-domain-search-button .search-icon {
    width: 28px;
    height: 28px;
    color: white;
}

.ai-domain-search-button .ai-sparkle {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.ai-domain-search-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(30, 115, 190, 0.6), 
                0 4px 12px rgba(0, 0, 0, 0.2),
                inset 0 -2px 4px rgba(0, 0, 0, 0.15),
                inset 0 2px 4px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #1557A0 0%, #0F4580 100%);
}

.ai-domain-search-button:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 16px rgba(30, 115, 190, 0.5), 
                0 2px 6px rgba(0, 0, 0, 0.15),
                inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ai-domain-search-button:hover .ai-sparkle {
    animation: sparkle 0.8s ease-in-out infinite;
}

.ai-domain-search-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ai-domain-search-button.loading .search-icon {
    animation: zoomInOut 1s ease-in-out infinite;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.ai-domain-search-loading {
    text-align: center;
    padding: 16px 24px;
    background: rgba(30, 115, 190, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 2px solid rgba(30, 115, 190, 0.2);
    box-shadow: 0 2px 8px rgba(30, 115, 190, 0.15);
    margin-top: 15px;
}

.ai-loader {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-right: 12px;
    vertical-align: middle;
}

.ai-loader span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1a3a52;
    box-shadow: 0 0 4px rgba(26, 58, 82, 0.5);
    animation: bounce 1.4s ease-in-out infinite;
}

.ai-loader span:nth-child(1) {
    animation-delay: 0s;
}

.ai-loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.8) translateY(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2) translateY(-8px);
        opacity: 1;
    }
}

.ai-domain-search-loading p {
    display: inline-block;
    font-size: 15px;
    color: #1E73BE;
    font-weight: 600;
    margin: 0;
    vertical-align: middle;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.ai-domain-search-results {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 30px;
}

.ai-domain-search-results h3 {
    margin: 0 0 20px;
    color: #333;
    font-size: 24px;
}

.ai-domain-results-list {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.ai-domain-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ai-domain-result-item:hover {
    border-color: #1E73BE;
    box-shadow: 0 4px 12px rgba(30, 115, 190, 0.15);
}

.ai-domain-result-item.selected {
    border-color: #1E73BE;
    background: linear-gradient(135deg, rgba(30, 115, 190, 0.1) 0%, rgba(83, 144, 217, 0.1) 100%);
}

.ai-domain-info {
    flex: 1;
}

.ai-domain-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.ai-domain-status {
    font-size: 14px;
    font-weight: 500;
}

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

.ai-domain-status.unavailable {
    color: #ef4444;
}

.ai-domain-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 20px;
}

.ai-domain-price {
    font-size: 24px;
    font-weight: 700;
    color: #1E73BE;
}

.ai-domain-list-price {
    font-size: 16px;
    color: #9ca3af;
    text-decoration: line-through;
}

.ai-domain-select-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #1E73BE 0%, #5390D9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-domain-select-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 115, 190, 0.4);
}

.ai-domain-select-button.selected {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.ai-domain-buy-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ai-domain-buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    color: white !important;
    text-decoration: none;
}

.ai-domain-cart-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

.ai-domain-continue-button {
    padding: 15px 40px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-domain-continue-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.ai-domain-load-more-button {
    width: 100%;
    padding: 15px;
    background: white;
    border: 2px dashed #1E73BE;
    border-radius: 12px;
    color: #1E73BE;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-domain-load-more-button:hover {
    background: #1E73BE;
    color: white;
    border-style: solid;
}

.ai-domain-search-error {
    padding: 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    border-radius: 12px;
    color: #dc2626;
    text-align: center;
    font-weight: 500;
}

/* Modal Styles */
.ai-domain-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-domain-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.ai-domain-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-domain-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s;
}

.ai-domain-modal-close:hover {
    color: #ef4444;
    transform: rotate(90deg);
}

.ai-domain-modal-title {
    margin: 0 0 10px;
    font-size: 28px;
    color: #333;
}

.ai-domain-modal-subtitle {
    margin: 5px 0;
    color: #1E73BE;
    font-size: 16px;
}

.ai-domain-form-section {
    margin: 30px 0;
}

.ai-domain-form-section h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #333;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.ai-domain-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ai-domain-form-field {
    flex: 1;
}

.ai-domain-form-field.full-width {
    flex: 1 1 100%;
}

.ai-domain-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.ai-domain-form-field input,
.ai-domain-form-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.ai-domain-form-field input:focus,
.ai-domain-form-field select:focus {
    outline: none;
    border-color: #1E73BE;
    box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.1);
}

.ai-domain-form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.ai-domain-form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.ai-domain-form-checkbox label {
    cursor: pointer;
    color: #374151;
    font-size: 15px;
}

.ai-domain-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

.ai-domain-btn-cancel,
.ai-domain-btn-purchase,
.ai-domain-btn-primary,
.ai-domain-btn-secondary {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.ai-domain-btn-cancel,
.ai-domain-btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.ai-domain-btn-cancel:hover,
.ai-domain-btn-secondary:hover {
    background: #d1d5db;
}

.ai-domain-btn-purchase,
.ai-domain-btn-primary {
    background: linear-gradient(135deg, #1E73BE 0%, #5390D9 100%);
    color: white;
}

.ai-domain-btn-purchase:hover,
.ai-domain-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 115, 190, 0.4);
}

.ai-domain-btn-purchase:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button-loader {
    display: inline-block;
}

.ai-domain-purchase-result {
    text-align: center;
    padding: 40px 20px;
}

.ai-domain-success-icon,
.ai-domain-error-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 48px;
    font-weight: bold;
}

.ai-domain-success-icon {
    background: #d1fae5;
    color: #10b981;
}

.ai-domain-error-icon {
    background: #fee2e2;
    color: #ef4444;
}

.ai-domain-purchase-result h3 {
    margin: 0 0 15px;
    font-size: 24px;
    color: #333;
}

.ai-domain-purchase-result p {
    margin: 10px 0;
    color: #6b7280;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .ai-domain-search-container {
        padding: 20px;
    }

    .ai-domain-search-input-wrapper {
        flex-direction: column;
    }

    .ai-domain-result-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .ai-domain-pricing {
        align-items: center;
        margin-right: 0;
    }

    .ai-domain-select-button {
        width: 100%;
    }

    .ai-domain-modal-content {
        padding: 30px 20px;
        max-height: 95vh;
    }

    .ai-domain-form-row {
        flex-direction: column;
        gap: 15px;
    }

    .ai-domain-modal-actions {
        flex-direction: column;
    }

    .ai-domain-btn-cancel,
    .ai-domain-btn-purchase,
    .ai-domain-btn-primary,
    .ai-domain-btn-secondary {
        width: 100%;
    }
}
/* Premium Domain Styling */
.ai-domain-premium-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
    animation: premiumPulse 2s ease-in-out infinite;
}

.ai-domain-premium-premium {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.ai-domain-premium-ultra-premium {
    background: linear-gradient(135deg, #1E73BE 0%, #0F4580 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(30, 115, 190, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes premiumPulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(139, 92, 246, 0.5);
    }
}

.ai-domain-premium-ultra-premium {
    animation: ultraPremiumPulse 2s ease-in-out infinite;
}

@keyframes ultraPremiumPulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(30, 115, 190, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(30, 115, 190, 0.6);
        transform: scale(1.02);
    }
}

.ai-domain-premium {
    border-color: #8b5cf6 !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(167, 139, 250, 0.05) 100%);
}

.ai-domain-premium:hover {
    border-color: #7c3aed !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.ai-domain-price-premium {
    color: #8b5cf6;
    font-weight: 800;
}

/* Enhanced Loading Messages */
.ai-domain-search-loading p {
    font-size: 20px;
    color: white;
    font-weight: 600;
    min-height: 30px;
    transition: opacity 0.4s ease-in-out;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin: 0;
}

/* Price Warning for Ultra Premium */
.ai-domain-premium-ultra-premium::after {
    content: " - High Value Domain";
    font-size: 9px;
    font-weight: 500;
    opacity: 0.9;
}
