File size: 3,869 Bytes
774fe36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/* ===== Vibe Item Lists ===== */
.vibe-item-list { margin-top: 10px; }

/* -- Reference Image Item -- */
.vibe-ref-item {
    display: flex; gap: 10px; padding: 10px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 8px;
    align-items: flex-start;
}

.vibe-ref-thumb-wrap {
    position: relative; flex-shrink: 0;
    width: 72px; height: 72px;
}
.vibe-ref-thumb {
    width: 72px; height: 72px; object-fit: cover;
    border-radius: 6px; border: 1px solid var(--border);
}

.vibe-ref-remove {
    position: absolute; top: -6px; right: -6px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--error); color: #fff; border: none;
    font-size: 0.65rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; opacity: 0;
    transition: opacity var(--transition); z-index: 2;
}
.vibe-ref-item:hover .vibe-ref-remove,
.vibe-file-item:hover .vibe-ref-remove { opacity: 1; }

.vibe-ref-sliders { flex: 1; min-width: 0; }
.vibe-ref-sliders .form-group { margin-bottom: 8px; }
.vibe-ref-sliders .form-group:last-child { margin-bottom: 0; }
.vibe-ref-sliders label { font-size: 0.7rem; margin-bottom: 3px; }

/* -- Vibe File Item -- */
.vibe-file-item {
    display: flex; gap: 10px; padding: 10px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 8px;
    align-items: flex-start;
}

.vibe-file-thumb-wrap {
    position: relative; flex-shrink: 0;
    width: 72px; height: 72px;
}
.vibe-file-thumb {
    width: 72px; height: 72px; object-fit: cover;
    border-radius: 6px; border: 1px solid var(--border);
}
.vibe-file-thumb-placeholder {
    width: 72px; height: 72px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; background: var(--bg-input);
    border-radius: 6px; border: 1px solid var(--border);
    color: var(--text-muted);
}

.vibe-file-download {
    position: absolute; bottom: -6px; right: -6px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent); color: #fff; border: none;
    font-size: 0.6rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; opacity: 0;
    transition: opacity var(--transition); z-index: 2;
}
.vibe-file-item:hover .vibe-file-download { opacity: 1; }

.vibe-file-info { flex: 1; min-width: 0; }
.vibe-file-name {
    font-size: 0.75rem; color: var(--text-muted); margin-bottom: 6px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* -- Convert Button -- */
.btn-vibe-convert {
    width: 100%; padding: 8px 12px;
    background: var(--bg-tertiary); color: var(--text-primary);
    border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 0.85rem; cursor: pointer;
    transition: all var(--transition);
    margin-top: 8px; margin-bottom: 4px;
}
.btn-vibe-convert:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-vibe-convert:disabled { opacity: 0.5; cursor: not-allowed; }

.vibe-note {
    font-size: 0.72rem; color: var(--text-muted); line-height: 1.5;
    margin-top: 6px; padding: 6px 8px; background: var(--bg-input);
    border-radius: 4px; border-left: 3px solid var(--warning);
}

.vibe-checkbox-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 6px;
}

.vibe-checkbox-row input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--accent);
    cursor: pointer;
    margin: 0;
}

.vibe-checkbox-row label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
}