.gradient-preview {
    background: #2d3748;
    padding: 30px;
    border-radius: 8px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    overflow-x: auto;
    white-space: nowrap;
}
.sample-text {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.sample-text:hover {
    transform: scale(1.02);
    background: #5a6578;
}
.color-box {
    width: 80px;
    height: 80px;
    border: 2px solid #4a5568;
    border-radius: 8px;
    cursor: move;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.color-box:hover {
    transform: scale(1.05);
    border-color: #7ead49;
}
.color-box.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}
.color-box-inner {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    cursor: pointer;
}
.color-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}
.color-remove:hover {
    background: #dc2626;
}
.drag-over {
    border: 2px dashed #7ead49;
}
.mode-tab {
    padding: 12px 24px;
    background: #374151;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: all 0.3s;
    color: #9ca3af;
}
.mode-tab.active {
    background: #7ead49;
    color: white;
}