/* Keyword Rich Domain Suggestion Plugin Styles */
.keyword-domain-suggestion-tool {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.domain-search-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    border: 1px solid #e1e5e9;
}

.search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.domain-icon {
    font-size: 2.5rem;
    color: #4f46e5;
    margin-bottom: 1rem;
}

.search-header h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.search-header p {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

.search-form {
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.domain-keyword-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.domain-keyword-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.domain-keyword-input::placeholder {
    color: #9ca3af;
}

.domain-search-btn {
    padding: 0.875rem 1.5rem;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.domain-search-btn:hover {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.domain-search-btn:active {
    transform: translateY(0);
}

.search-loading {
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #4f46e5;
    font-weight: 500;
}

.loading-spinner .fa-spinner {
    font-size: 1.25rem;
}

.search-results {
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.results-header h4 {
    margin: 0;
    color: #1f2937;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-count {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.domains-list {
    padding: 1rem;
}

.domain-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.domain-card:last-child {
    margin-bottom: 0;
}

.domain-name {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.domain-status {
    margin: 0 1rem;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.status-badge.available {
    background: #dcfce7;
    color: #166534;
}

.status-badge.taken {
    background: #fef2f2;
    color: #dc2626;
}

.domain-actions {
    display: flex;
    gap: 0.5rem;
}

.register-btn, .suggest-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.register-btn {
    background: #10b981;
    color: white;
}

.register-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.suggest-btn {
    background: #f3f4f6;
    color: #374151;
}

.suggest-btn:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .domain-search-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .domain-search-btn {
        justify-content: center;
    }
    
    .domain-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .domain-status {
        margin: 0;
    }
    
    .domain-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .results-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .domain-search-container {
        padding: 1rem;
    }
    
    .search-header h3 {
        font-size: 1.25rem;
    }
    
    .domain-icon {
        font-size: 2rem;
    }
    
    .domain-name {
        font-size: 1rem;
    }
}

/* Animation for smooth transitions */
.domain-search-container,
.domain-card,
.domain-search-btn,
.register-btn,
.suggest-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus states for accessibility */
.domain-search-btn:focus,
.register-btn:focus,
.suggest-btn:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}