

.ai-generator-panel {
    background: var(--sf-background-white, #ffffff);
    border-radius: 24px;
    padding: 0;
    border: 1px solid rgba(var(--theme-color-1-rgb, 37,99,235), 0.08);
    overflow: hidden;
    max-width: var(--CoreV2-container-width);
    margin: 0 auto;
    transition: box-shadow 0.3s ease;
}

.ai-gen-header {
    text-align: left;
    padding: 48px 56px 40px;
    background: linear-gradient(135deg,
        rgba(var(--theme-color-1-rgb, 37,99,235), 0.05) 0%,
        rgba(var(--theme-color-1-rgb, 37,99,235), 0.01) 100%);
    border-bottom: 1px solid rgba(0,0,0, 0.04);
    position: relative;
    overflow: hidden;
}
.ai-gen-header::before {
    content: '';
    position: absolute;
    top: -80px; right: -50px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--theme-color-1-rgb,37,99,235),0.06) 0%, transparent 70%);
    pointer-events: none;
}
.ai-gen-header::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 20%;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.ai-gen-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(var(--theme-color-1-rgb,37,99,235),0.08);
    color: var(--theme-color-1);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(var(--theme-color-1-rgb,37,99,235),0.15);
}
.ai-gen-badge i { font-size: 14px; }

.ai-gen-title {
    font-size: 34px;
    color: var(--sf-text-dark, #0f172a);
    margin: 0 0 14px 0;
    line-height: 1.2;
    letter-spacing: -0.03em;
}
.ai-gen-subtitle {
    font-size: 16px;
    color: var(--sf-text-light, #64748b);
    margin: 0;
    line-height: 1.6;
    max-width: 650px;
}

.ai-gen-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px 40px;
    background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.ai-gen-field { display: flex; flex-direction: column; gap: 10px; }
.ai-gen-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--sf-text-dark, #334155);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.ai-gen-label i { color: var(--theme-color-1); font-size: 15px; opacity: 0.9; }
.ai-gen-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.ai-gen-textarea,
.ai-gen-input,
.ai-gen-select {
    width: 100%;
    padding: 13px 18px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--sf-text-dark, #0f172a);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    box-sizing: border-box;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.ai-gen-textarea:hover,
.ai-gen-input:hover,
.ai-gen-select:hover { 
    border-color: rgba(var(--theme-color-1-rgb,37,99,235),0.4); 
    background: #ffffff;
}
.ai-gen-textarea:focus,
.ai-gen-input:focus,
.ai-gen-select:focus {
    border-color: var(--theme-color-1);
    background: #ffffff;
}
.ai-gen-textarea { resize: vertical; min-height: 72px; line-height: 1.6; }
.ai-gen-textarea::placeholder,
.ai-gen-input::placeholder { color: #94a3b8; }
.ai-gen-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 42px;
}

.ai-gen-keywords-wrap { display: flex; gap: 10px; }
.ai-gen-keywords-wrap .ai-gen-input { flex: 1; }
.ai-gen-keyword-btn {
    width: 48px; height: 48px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--theme-color-1);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s;
    flex-shrink: 0;
    font-size: 18px;
}
.ai-gen-keyword-btn:hover {
    background: var(--theme-color-1);
    border-color: var(--theme-color-1);
    color: #fff;
    transform: translateY(-2px);
}
.ai-gen-keywords-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ai-gen-keyword-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px 6px 14px;
    background: #ffffff;
    color: var(--theme-color-1);
    border-radius: 20px;
    font-size: 13px; font-weight: 600;
    border: 1px solid rgba(var(--theme-color-1-rgb,37,99,235),0.2);
}
.ai-gen-keyword-remove {
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    background: rgba(var(--theme-color-1-rgb,37,99,235),0.1); 
    border: 1px solid rgba(0, 0, 0, 0.04); color: inherit;
    padding: 0; font-size: 14px; 
    transition: all 0.2s; width: 20px; height: 20px; border-radius: 50%;
}
.ai-gen-keyword-remove:hover { 
    background: var(--theme-color-1); 
    color: #fff; 
}

.ai-gen-tlds { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0; }
.ai-gen-tld { display: flex; align-items: center; cursor: pointer; margin: 0; }
.ai-gen-tld input[type="checkbox"] { display: none; }
.ai-gen-tld span {
    padding: 8px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 13px; font-weight: 600;
    color: var(--sf-text-light, #64748b);
    background: #ffffff;
    transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
    user-select: none;
}
.ai-gen-tld input:checked + span {
    background: rgba(var(--theme-color-1-rgb,37,99,235),0.05);
    border-color: var(--theme-color-1);
    color: var(--theme-color-1);
}
.ai-gen-tld:hover span { 
    border-color: rgba(var(--theme-color-1-rgb,37,99,235),0.4); 
    color: var(--theme-color-1); 
    transform: translateY(-1px);
}

.ai-gen-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: auto;
    align-self: center;
    padding: 13px 40px;
    background: var(--theme-color-1);
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    font-size: 15px; font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    margin-top: 4px;
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}
.ai-gen-submit::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.3s;
}
.ai-gen-submit:hover:not(:disabled)::before { opacity: 1; }
.ai-gen-submit:hover:not(:disabled) {
    transform: translateY(-2px);
}
.ai-gen-submit:active:not(:disabled) { 
    transform: translateY(0); 
}
.ai-gen-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.ai-gen-submit.loading { pointer-events: none; opacity: 0.9; }
.ai-gen-submit.loading span { display: none; }
.ai-gen-submit.loading i { animation: aiSpin 1s linear infinite; font-size: 20px; }
.ai-btn-icon { flex-shrink: 0; font-size: 18px; }
.ai-spin { animation: aiSpin 1s linear infinite; }
@keyframes aiSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.ai-gen-progress { text-align: center; padding: 32px 0 16px; }
.ai-gen-progress-bar {
    height: 6px; background: #f1f5f9;
    border-radius: 6px; overflow: hidden; margin-bottom: 16px;
}
.ai-gen-progress-fill {
    height: 100%;
    background: var(--theme-color-1);
    border-radius: 6px; width: 0;
    animation: aiProgressAnim 2.5s ease-in-out infinite;
}
@keyframes aiProgressAnim { 0% { width: 5%; } 50% { width: 75%; } 100% { width: 95%; } }
.ai-gen-progress-text {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 15px; color: var(--sf-text-light, #64748b); font-weight: 600;
}
.ai-gen-progress-text i { font-size: 20px; color: var(--theme-color-1); animation: aiSpin 1.5s linear infinite; }

.ai-gen-results {
    margin-top: 0;
    padding: 16px 56px 48px;
    border-top: none;
    scroll-margin-top: 80px;
    background: transparent;
}
.ai-gen-results-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 16px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 16px 24px;
}
.ai-gen-results-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; font-weight: 700; color: var(--sf-text-dark, #0f172a);
}
.ai-gen-results-title i { color: #10b981; font-size: 18px; }
.ai-gen-results-title span {
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(var(--theme-color-1-rgb,37,99,235),0.1); 
    color: var(--theme-color-1);
    font-size: 12px; 
    min-width: 24px; height: 24px; border-radius: 8px; padding: 0 8px;
}
.ai-gen-results-actions { display: flex; gap: 10px; }
.ai-gen-action-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    background: #ffffff;
    color: var(--sf-text-dark, #334155);
    font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all 0.2s;
}
.ai-gen-action-btn i { font-size: 15px; }
.ai-gen-action-btn:hover { 
    border-color: rgba(var(--theme-color-1-rgb,37,99,235),0.5); 
    color: var(--theme-color-1); 
    background: rgba(var(--theme-color-1-rgb,37,99,235),0.02); 
    transform: translateY(-1px);
}
.ai-gen-action-btn.ai-gen-action-primary {
    background: var(--theme-color-1);
    border-color: var(--theme-color-1); 
    color: #fff;
}
.ai-gen-action-btn.ai-gen-action-primary:hover { 
    transform: translateY(-1px); 
}
.ai-gen-action-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.ai-gen-domains-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: stretch;
}

.ai-gen-domain-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 18px 14px 0;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden; 
    position: relative;
}

.ai-gen-domain-card::before {
    content: '';
    position: absolute; 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%);
    width: 0; 
    height: 4px;
    background: var(--theme-color-1);
    border-radius: 0 0 6px 6px;
    opacity: 0; 
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
}
.ai-gen-domain-card:hover::before { 
    opacity: 1; 
    width: 35%; 
}
.ai-gen-domain-card.selected::before { 
    opacity: 1; 
    width: 50%;
}
.ai-gen-domain-card:hover {
    border-color: rgba(var(--theme-color-1-rgb,37,99,235),0.3);
    transform: translateY(-4px);
}
.ai-gen-domain-card,
.ai-gen-domain-card:hover,
.ai-gen-domain-card *,
.ai-gen-domain-card *:hover { text-decoration: none !important; }
.ai-gen-domain-card.selected {
    border-color: var(--theme-color-1);
    background: rgba(var(--theme-color-1-rgb,37,99,235),0.01);
}

.ai-gen-domain-card .card-checkbox {
    position: absolute; top: 12px; right: 12px;
    width: 22px; height: 22px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; font-size: 11px; color: transparent;
    background: #ffffff; z-index: 1;
}
.ai-gen-domain-card.selected .card-checkbox {
    background: var(--theme-color-1);
    border-color: var(--theme-color-1); color: #fff;
}

.ai-gen-domain-tld { display: none; }
.ai-gen-domain-info {
    flex: 1; min-width: 0; text-align: center;
    margin-bottom: auto; padding-bottom: 16px;
    display: flex; flex-direction: column; align-items: center;
    width: 100%;
}
.ai-gen-domain-name {
    font-size: 16px; 
    color: var(--sf-text-dark, #0f172a);
    word-break: break-all; letter-spacing: -0.01em;
    line-height: 1.3; margin-bottom: 6px;
}
.ai-gen-domain-name .ext { color: var(--theme-color-1); font-weight: 700; opacity: 0.9; }
.ai-gen-domain-reason {
    font-size: 12px; color: var(--sf-text-light, #64748b);
    line-height: 1.5; margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 4px;
}
.ai-gen-domain-meta {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; flex-wrap: wrap; margin-top: auto; width: 100%;
}

.ai-domain-status {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 8px;
    white-space: nowrap;
}
.ai-domain-status.available { color: #059669; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); }
.ai-domain-status.taken { color: #dc2626; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.15); }
.ai-domain-status i { font-size: 10px; }
.ai-gen-domain-card.ai-domain-taken { opacity: 0.6; filter: grayscale(20%); }

.ai-gen-domain-price {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px;  color: #059669;
    margin-top: 6px;
    background: rgba(16,185,129,0.08); padding: 4px 10px;
    border-radius: 8px; border: 1px solid rgba(16,185,129,0.15);
    white-space: nowrap;
}
.ai-gen-domain-price i { font-size: 10px; }

.ai-gen-domain-check {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: calc(100% + 32px); margin-left: -16px; margin-right: -16px;
    padding: 14px 16px;
    background: #f8fafc;
    color: var(--sf-text-dark, #475569);
    border: 1px solid rgba(0, 0, 0, 0.04); border-top: 1px solid rgba(0,0,0,0.05);
    border-radius: 0;
    font-size: 13px; font-weight: 700;
    cursor: pointer; transition: all 0.3s;
    white-space: nowrap; margin-top: auto;
}
.ai-gen-domain-check i { font-size: 14px; transition: transform 0.2s; }
.ai-gen-domain-card:hover .ai-gen-domain-check {
    background: var(--theme-color-1);
    color: #fff;
    border-top-color: var(--theme-color-1);
}
.ai-gen-domain-card:hover .ai-gen-domain-check i {
    transform: translateX(2px);
}

.ai-gen-retry-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 16px;
    margin-top: 24px;
    border: 2px dashed rgba(0,0,0,0.12);
    border-radius: 16px;
    background: #f8fafc;
    color: var(--sf-text-light, #64748b);
    font-size: 14px; font-weight: 700;
    cursor: pointer; transition: all 0.25s;
}
.ai-gen-retry-btn i { font-size: 18px; }
.ai-gen-retry-btn:hover {
    border-color: var(--theme-color-1); color: var(--theme-color-1);
    background: rgba(var(--theme-color-1-rgb,37,99,235),0.02);
    transform: translateY(-2px);
}
[data-theme="dark"] .ai-generator-panel {
    background: var(--musterihphedar-card-bg, #1e293b);
    border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .ai-gen-header {
    background: linear-gradient(135deg, rgba(var(--theme-color-1-rgb,37,99,235),0.1) 0%, rgba(0,0,0,0.2) 100%);
    border-color: rgba(255,255,255,0.04);
}[data-theme="dark"] .ai-gen-form { background: transparent; }
[data-theme="dark"] .ai-gen-badge { background: rgba(var(--theme-color-1-rgb,37,99,235),0.15); border-color: rgba(var(--theme-color-1-rgb,37,99,235),0.2); }
[data-theme="dark"] .ai-gen-title { color: #f8fafc; }
[data-theme="dark"] .ai-gen-subtitle { color: #94a3b8; }
[data-theme="dark"] .ai-gen-label { color: #cbd5e1; }
[data-theme="dark"] .ai-gen-textarea,
[data-theme="dark"] .ai-gen-input,[data-theme="dark"] .ai-gen-select {
    background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.08); color: #f1f5f9;
}
[data-theme="dark"] .ai-gen-textarea::placeholder,
[data-theme="dark"] .ai-gen-input::placeholder { color: #64748b; }
[data-theme="dark"] .ai-gen-textarea:focus,
[data-theme="dark"] .ai-gen-input:focus,[data-theme="dark"] .ai-gen-select:focus { background: rgba(0,0,0,0.3); border-color: var(--theme-color-1); }
[data-theme="dark"] .ai-gen-keyword-btn { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.08); }[data-theme="dark"] .ai-gen-keyword-tag { background: rgba(var(--theme-color-1-rgb,37,99,235),0.15); border-color: rgba(var(--theme-color-1-rgb,37,99,235),0.3); }[data-theme="dark"] .ai-gen-tld span { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.08); color: #94a3b8; }
[data-theme="dark"] .ai-gen-tld input:checked + span { background: rgba(var(--theme-color-1-rgb,37,99,235),0.15); border-color: var(--theme-color-1); color: var(--theme-color-1); }
[data-theme="dark"] .ai-gen-progress-bar { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .ai-gen-progress-text { color: #cbd5e1; }
[data-theme="dark"] .ai-gen-results-header {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.06);
}[data-theme="dark"] .ai-gen-results-title { color: #f8fafc; }
[data-theme="dark"] .ai-gen-domain-card { background: rgba(15,23,42,0.4); border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .ai-gen-domain-card:hover { border-color: rgba(var(--theme-color-1-rgb,37,99,235),0.4); }
[data-theme="dark"] .ai-gen-domain-card.selected { border-color: var(--theme-color-1); background: rgba(var(--theme-color-1-rgb,37,99,235),0.05); }
[data-theme="dark"] .ai-gen-domain-card .card-checkbox { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .ai-gen-domain-name { color: #f8fafc; }[data-theme="dark"] .ai-gen-domain-reason { color: #94a3b8; }[data-theme="dark"] .ai-domain-status.available { color: #34d399; background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.2); }
[data-theme="dark"] .ai-domain-status.taken { color: #f87171; background: rgba(248,113,113,0.1); border-color: rgba(248,113,113,0.2); }
[data-theme="dark"] .ai-gen-domain-price { color: #34d399; background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.2); }
[data-theme="dark"] .ai-gen-domain-check { background: rgba(0,0,0,0.2); border-top-color: rgba(255,255,255,0.04); color: #cbd5e1; }
[data-theme="dark"] .ai-gen-domain-card:hover .ai-gen-domain-check { background: var(--theme-color-1); color: #fff; border-top-color: var(--theme-color-1); }
[data-theme="dark"] .ai-gen-action-btn { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.08); color: #cbd5e1; }
[data-theme="dark"] .ai-gen-action-btn:hover { border-color: var(--theme-color-1); color: #fff; background: rgba(var(--theme-color-1-rgb,37,99,235),0.1); }
[data-theme="dark"] .ai-gen-retry-btn { border-color: rgba(255,255,255,0.1); color: #94a3b8; background: rgba(0,0,0,0.1); }
[data-theme="dark"] .ai-gen-retry-btn:hover { border-color: var(--theme-color-1); color: var(--theme-color-1); background: rgba(var(--theme-color-1-rgb,37,99,235),0.05); }

.tool-panel.tool-ai { overflow: hidden; }
.search-tabs-container {
    margin-bottom: 24px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.search-tabs {
    display: flex; gap: 8px;
    background: #f8fafc;
    padding: 6px; border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.05);
    width: 100%;
}
.search-tab {
    flex: 1; display: flex; align-items: center; gap: 12px;
    padding: 12px 20px;
    background: transparent; border: 1px solid rgba(0, 0, 0, 0.04); border-radius: 14px;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    position: relative; overflow: hidden;
    text-decoration: none; color: var(--sf-text-dark, #475569);
    min-width: 0;
}
.search-tab.active {
    background: #ffffff;
    color: var(--theme-color-1);
}
.tab-icon-wrapper {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: #ffffff;
    border-radius: 12px; color: var(--sf-text-light, #64748b);
    transition: all 0.3s ease; flex-shrink: 0;
}
.search-tab.active .tab-icon-wrapper { background: var(--theme-color-1); color: #fff; }
.tab-content { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; }
.tab-title { font-size: 14px; font-weight: 700; color: inherit; line-height: 1.3; white-space: nowrap; }
.tab-subtitle { font-size: 12px; color: var(--sf-text-light, #64748b); margin-top: 2px; white-space: nowrap; }
.search-tab.active .tab-subtitle { color: var(--theme-color-1); opacity: 0.8; }

.search-tab .ai-badge {
    position: absolute; top: 10px; right: 10px;
    font-size: 10px; 
    padding: 3px 10px; border-radius: 15px;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(var(--theme-color-1-rgb,37,99,235),0.1) !important;
    color: var(--theme-color-1) !important;
}
.search-tab.active .ai-badge {
    background: rgba(var(--theme-color-1-rgb,37,99,235),0.15) !important;
}
[data-theme="dark"] .search-tabs { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .search-tab { color: #94a3b8; }
[data-theme="dark"] .search-tab.active { background: var(--musterihphedar-card-bg, #1e293b); color: var(--theme-color-1); }
[data-theme="dark"] .tab-icon-wrapper { background: rgba(255,255,255,0.05); color: #94a3b8; }

.ai-bulk-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    animation: aiFadeIn 0.25s cubic-bezier(0.4,0,0.2,1);
}
@keyframes aiFadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
.ai-bulk-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15,23,42,0.6); backdrop-filter: blur(8px);
}
.ai-bulk-content {
    position: relative; width: 90%; max-width: 560px; max-height: 85vh;
    background: var(--sf-background-white, #ffffff);
    border-radius: 24px;
    display: flex; flex-direction: column; overflow: hidden;
}

.ai-bulk-header { padding: 24px 28px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.ai-bulk-title { font-size: 18px;  color: var(--sf-text-dark, #0f172a); }
.ai-bulk-list { padding: 16px 28px; display: flex; flex-direction: column; gap: 10px; }
.ai-bulk-item { padding: 14px 18px; border-radius: 14px; }
.ai-bulk-footer { padding: 20px 28px; border-top: 1px solid rgba(0,0,0,0.05); }

@media (max-width: 1200px) {
    .ai-gen-domains-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .ai-gen-header { padding: 40px 40px 32px; }
    .ai-gen-form { padding: 32px 40px; }
    .ai-gen-results { padding: 24px 40px 40px; }
    .ai-gen-domains-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 768px) {
    .ai-generator-panel { border-radius: 20px; }
    .ai-gen-header { padding: 32px 24px 24px; }
    .ai-gen-title { font-size: 26px; }
    .ai-gen-subtitle { font-size: 14px; }
    .ai-gen-form { padding: 24px 24px; gap: 20px; }
    .ai-gen-row { grid-template-columns: 1fr; gap: 16px; }
    .ai-gen-domains-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .ai-gen-results { padding: 24px 24px 32px; }
    .ai-gen-results-header { flex-direction: column; align-items: flex-start; }
    .ai-gen-results-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .ai-gen-action-btn { justify-content: center; padding: 12px; }
    .ai-gen-tlds { gap: 8px; }
    .ai-gen-tld span { padding: 8px 14px; font-size: 12px; }
    .ai-gen-domain-card { padding: 20px 14px 0; }
    .ai-gen-domain-check { width: calc(100% + 28px); margin-left: -14px; margin-right: -14px; padding: 12px 14px; }
    .ai-gen-submit { padding: 14px 32px; font-size: 15px; width: 100%; }
    .search-tabs-container { max-width: 100%; }
    .search-tabs { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
    .search-tab { flex-direction: column; padding: 16px 12px; text-align: center; gap: 8px; }
    .search-tab .ai-badge { font-size: 9px; padding: 3px 8px; top: 8px; right: 8px; }
}
@media (max-width: 480px) {
    .ai-gen-header { padding: 28px 20px 20px; }
    .ai-gen-title { font-size: 22px; }
    .ai-gen-form { padding: 20px; }
    .ai-gen-results { padding: 20px 20px 24px; }
    
    .ai-gen-domain-name { font-size: 18px; }
    .ai-gen-domain-card { padding: 24px 20px 0; }
    .ai-gen-domain-check { width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; padding: 16px; font-size: 14px; }
    .ai-gen-action-btn { font-size: 12px; }
    .ai-gen-results-actions { grid-template-columns: 1fr; }
}
