.luminaseo-magic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-radius: 6px;
    cursor: pointer;
    margin-left: 8px;
    vertical-align: middle;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
    border: none;
    padding: 4px;
}

.luminaseo-magic-icon:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

.luminaseo-magic-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Modal Overlay */
.luminaseo-builder-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.luminaseo-builder-modal {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    font-family: 'Outfit', sans-serif;
}

.luminaseo-builder-modal h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.luminaseo-builder-modal p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
}

.luminaseo-builder-modal input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    outline: none;
    transition: border-color 0.2s ease, ring 0.2s ease;
}

.luminaseo-builder-modal input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.luminaseo-builder-modal button.generate-btn {
    width: 100%;
    padding: 14px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.luminaseo-builder-modal button.generate-btn:hover {
    background: #6366f1;
}

.luminaseo-builder-modal .loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: lumina-spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes lumina-spin {
    to { transform: rotate(360deg); }
}
