File size: 5,075 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
/* ===== Form Controls ===== */
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block; font-size: 0.8rem; font-weight: 600;
    color: var(--text-secondary); margin-bottom: 5px;
    text-transform: uppercase; letter-spacing: 0.3px;
}

.form-select {
    width: 100%; padding: 8px 12px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text-primary);
    font-size: 0.9rem; outline: none; cursor: pointer;
    transition: border-color var(--transition); appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7394' d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
}
.form-select:focus { border-color: var(--border-focus); box-shadow: 0 0 0 2px var(--accent-glow); }

.form-textarea {
    width: 100%; padding: 8px 12px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text-primary);
    font-size: 0.9rem; font-family: inherit; outline: none;
    resize: none; min-height: 40px;
    line-height: 1.5; overflow-y: scroll;
    transition: border-color var(--transition);
}
.form-textarea:focus { border-color: var(--border-focus); box-shadow: 0 0 0 2px var(--accent-glow); }

.form-input {
    width: 100%; padding: 8px 12px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text-primary);
    font-size: 0.9rem; outline: none;
    transition: border-color var(--transition);
}
.form-input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 2px var(--accent-glow); }

/* ===== Slider ===== */
.slider-group { display: flex; align-items: center; gap: 10px; }

.slider-group input[type="range"] {
    flex: 1; -webkit-appearance: none; appearance: none;
    height: 4px; background: var(--border); border-radius: 2px; outline: none;
}
.slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--accent); cursor: pointer;
    transition: transform var(--transition);
}
.slider-group input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.slider-group input[type="range"]::-moz-range-thumb {
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--accent); cursor: pointer; border: none;
}

.slider-value {
    min-width: 42px; text-align: center; font-size: 0.85rem;
    color: var(--text-primary); background: var(--bg-input);
    padding: 4px 6px; border-radius: 4px;
    border: 1px solid var(--border); font-variant-numeric: tabular-nums;
}

/* Dynamic slider (smaller) */
.dyn-slider-group { margin-bottom: 6px !important; }
.dyn-slider-group label { font-size: 0.7rem !important; margin-bottom: 3px !important; }
.dyn-slider-group .slider-value { min-width: 38px; font-size: 0.8rem; padding: 2px 4px; }

/* ===== Seed Row ===== */
.seed-row { display: flex; gap: 6px; align-items: center; }
.seed-row .form-input { flex: 1; }

/* ===== Buttons ===== */
.btn-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text-primary);
    font-size: 1.1rem; cursor: pointer;
    transition: all var(--transition); flex-shrink: 0;
}
.btn-icon:hover { background: var(--bg-hover); border-color: var(--accent); }

.btn-generate {
    width: 100%; padding: 12px;
    background: var(--accent); color: #ffffff; border: none;
    border-radius: var(--radius); font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: all var(--transition);
    letter-spacing: 0.5px; margin-top: 8px;
}
.btn-generate:hover { background: var(--accent-hover); box-shadow: 0 4px 16px var(--accent-glow); }
.btn-generate:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }
.btn-generate.generating { animation: pulse 1.5s ease-in-out infinite; }

/* ===== Mode Switch ===== */
.mode-switch {
    display: flex; gap: 0; border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
}
.mode-option {
    flex: 1; display: flex; align-items: center; justify-content: center;
    cursor: pointer; margin: 0;
}
.mode-option input[type="radio"] {
    position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.mode-label {
    display: block; width: 100%; text-align: center;
    padding: 8px 12px; font-size: 0.85rem;
    color: var(--text-secondary); background: var(--bg-input);
    transition: all var(--transition); user-select: none;
}
.mode-option input[type="radio"]:checked + .mode-label {
    background: var(--accent); color: #ffffff; font-weight: 600;
}
.mode-option:hover .mode-label { background: var(--bg-hover); }
.mode-option input[type="radio"]:checked + .mode-label:hover { background: var(--accent-hover); }