
.feature-card-icon.text2img-icon {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
}
.feature-card-btn.text2img-btn {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}
.feature-card-btn.text2img-btn:hover {
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}
.text2img-form-area { margin-top: 4px; }
.text2img-row { margin-bottom: 10px; }
.text2img-textarea {
    width: 100%;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    line-height: 1.6;
}
.text2img-controls {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.t2i-control-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}
.t2i-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-gray);
    padding-top: 8px;
    flex-shrink: 0;
}
.t2i-style-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.t2i-style-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    position: relative;
}
.t2i-style-btn:hover {
    transform: scale(1.1);
}
.t2i-style-btn.active {
    border-color: #1e293b;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #a855f7;
}
.t2i-size-select {
    flex: 1;
    min-width: 160px;
    cursor: pointer;
}
.text2img-preview {
    margin-top: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}
.text2img-preview-wrapper {
    text-align: center;
}
#t2i-canvas {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.text2img-preview-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.text2img-preview-actions .feature-card-btn {
    padding: 10px 18px;
    font-size: 0.88rem;
}

