| 1 |
/* ── Currency Converter Block ────────────────────────────────────────── */ |
| 2 |
.bkbg-cc-app { |
| 3 |
font-family: inherit; |
| 4 |
box-sizing: border-box; |
| 5 |
width: 100%; |
| 6 |
} |
| 7 |
|
| 8 |
.bkbg-cc-loading { |
| 9 |
text-align: center; |
| 10 |
color: #9ca3af; |
| 11 |
padding: 32px 0; |
| 12 |
margin: 0; |
| 13 |
} |
| 14 |
|
| 15 |
.bkbg-cc-card { |
| 16 |
background: #fff; |
| 17 |
border-radius: 16px; |
| 18 |
padding: 32px; |
| 19 |
box-shadow: 0 4px 24px rgba(0,0,0,0.08); |
| 20 |
max-width: 580px; |
| 21 |
margin: 0 auto; |
| 22 |
box-sizing: border-box; |
| 23 |
} |
| 24 |
|
| 25 |
/* ── Title / Subtitle ─────────────────────────────────────────────────── */ |
| 26 |
.bkbg-cc-card .bkbg-cc-title { |
| 27 |
text-align: center; |
| 28 |
margin-top: 0; |
| 29 |
margin-bottom: 8px; |
| 30 |
font-family: var(--bkbg-cc-ttl-font-family, inherit); |
| 31 |
font-size: var(--bkbg-cc-ttl-font-size-d, var(--bkbg-cc-ttl-fs, 26px)); |
| 32 |
font-weight: var(--bkbg-cc-ttl-font-weight, 700); |
| 33 |
font-style: var(--bkbg-cc-ttl-font-style, normal); |
| 34 |
text-transform: var(--bkbg-cc-ttl-text-transform, none); |
| 35 |
text-decoration: var(--bkbg-cc-ttl-text-decoration, none); |
| 36 |
letter-spacing: var(--bkbg-cc-ttl-letter-spacing-d, normal); |
| 37 |
line-height: var(--bkbg-cc-ttl-line-height-d, 1.2); |
| 38 |
word-spacing: var(--bkbg-cc-ttl-word-spacing-d, normal); |
| 39 |
} |
| 40 |
|
| 41 |
.bkbg-cc-subtitle { |
| 42 |
text-align: center; |
| 43 |
margin-top: 0; |
| 44 |
margin-bottom: 24px; |
| 45 |
} |
| 46 |
|
| 47 |
/* ── Quick pair buttons ────────────────────────────────────────────────── */ |
| 48 |
.bkbg-cc-pairs { |
| 49 |
display: flex; |
| 50 |
flex-wrap: wrap; |
| 51 |
gap: 6px; |
| 52 |
margin-bottom: 20px; |
| 53 |
justify-content: center; |
| 54 |
} |
| 55 |
|
| 56 |
.bkbg-cc-pair-btn { |
| 57 |
padding: 5px 14px; |
| 58 |
border-radius: 99px; |
| 59 |
border: none; |
| 60 |
background: #f3f4f6; |
| 61 |
color: #374151; |
| 62 |
font-size: 12px; |
| 63 |
font-weight: 600; |
| 64 |
cursor: pointer; |
| 65 |
transition: background 0.15s, color 0.15s; |
| 66 |
} |
| 67 |
|
| 68 |
.bkbg-cc-pair-btn.active, |
| 69 |
.bkbg-cc-pair-btn:hover { |
| 70 |
background: #6c3fb5; |
| 71 |
color: #fff; |
| 72 |
} |
| 73 |
|
| 74 |
/* ── Amount / selects row ──────────────────────────────────────────────── */ |
| 75 |
.bkbg-cc-convert-row { |
| 76 |
display: grid; |
| 77 |
grid-template-columns: 1fr auto 1fr; |
| 78 |
gap: 12px; |
| 79 |
align-items: end; |
| 80 |
margin-bottom: 16px; |
| 81 |
} |
| 82 |
|
| 83 |
.bkbg-cc-field-group { |
| 84 |
display: flex; |
| 85 |
flex-direction: column; |
| 86 |
gap: 4px; |
| 87 |
} |
| 88 |
|
| 89 |
.bkbg-cc-field-group label { |
| 90 |
font-size: 12px; |
| 91 |
font-weight: 600; |
| 92 |
} |
| 93 |
|
| 94 |
.bkbg-cc-amount-input, |
| 95 |
.bkbg-cc-select { |
| 96 |
padding: 10px 12px; |
| 97 |
border: 1.5px solid #e5e7eb; |
| 98 |
border-radius: 8px; |
| 99 |
font-size: 15px; |
| 100 |
background: #fff; |
| 101 |
width: 100%; |
| 102 |
box-sizing: border-box; |
| 103 |
outline: none; |
| 104 |
transition: border-color 0.15s; |
| 105 |
} |
| 106 |
|
| 107 |
.bkbg-cc-amount-input:focus, |
| 108 |
.bkbg-cc-select:focus { |
| 109 |
border-color: #6c3fb5; |
| 110 |
} |
| 111 |
|
| 112 |
/* Hide number input spinner arrows */ |
| 113 |
.bkbg-cc-amount-input::-webkit-outer-spin-button, |
| 114 |
.bkbg-cc-amount-input::-webkit-inner-spin-button { |
| 115 |
-webkit-appearance: none; |
| 116 |
margin: 0; |
| 117 |
} |
| 118 |
.bkbg-cc-amount-input[type=number] { |
| 119 |
-moz-appearance: textfield; |
| 120 |
appearance: textfield; |
| 121 |
} |
| 122 |
|
| 123 |
.bkbg-cc-swap { |
| 124 |
background: none; |
| 125 |
border: 1.5px solid #6c3fb5; |
| 126 |
border-radius: 8px; |
| 127 |
padding: 10px 13px; |
| 128 |
cursor: pointer; |
| 129 |
color: #6c3fb5; |
| 130 |
font-size: 20px; |
| 131 |
font-weight: 700; |
| 132 |
line-height: 1; |
| 133 |
transition: background 0.15s, color 0.15s; |
| 134 |
align-self: flex-end; |
| 135 |
} |
| 136 |
|
| 137 |
.bkbg-cc-swap:hover { |
| 138 |
background: #6c3fb5; |
| 139 |
color: #fff; |
| 140 |
} |
| 141 |
|
| 142 |
/* ── From select — full width row ─────────────────────────────────────── */ |
| 143 |
.bkbg-cc-from-row { |
| 144 |
margin-bottom: 20px; |
| 145 |
display: flex; |
| 146 |
flex-direction: column; |
| 147 |
gap: 4px; |
| 148 |
} |
| 149 |
|
| 150 |
.bkbg-cc-from-row label { |
| 151 |
font-size: 12px; |
| 152 |
font-weight: 600; |
| 153 |
} |
| 154 |
|
| 155 |
/* ── Result box ───────────────────────────────────────────────────────── */ |
| 156 |
.bkbg-cc-result { |
| 157 |
border-radius: 16px; |
| 158 |
padding: 24px; |
| 159 |
text-align: center; |
| 160 |
margin-bottom: 12px; |
| 161 |
} |
| 162 |
|
| 163 |
.bkbg-cc-result-label { |
| 164 |
font-size: 13px; |
| 165 |
color: #9ca3af; |
| 166 |
margin-bottom: 6px; |
| 167 |
} |
| 168 |
|
| 169 |
.bkbg-cc-result-num { |
| 170 |
font-family: var(--bkbg-cc-res-font-family, inherit); |
| 171 |
font-size: var(--bkbg-cc-res-font-size-d, var(--bkbg-cc-res-fs, 40px)); |
| 172 |
font-weight: var(--bkbg-cc-res-font-weight, 800); |
| 173 |
font-style: var(--bkbg-cc-res-font-style, normal); |
| 174 |
text-transform: var(--bkbg-cc-res-text-transform, none); |
| 175 |
text-decoration: var(--bkbg-cc-res-text-decoration, none); |
| 176 |
letter-spacing: var(--bkbg-cc-res-letter-spacing-d, normal); |
| 177 |
line-height: var(--bkbg-cc-res-line-height-d, 1.1); |
| 178 |
word-spacing: var(--bkbg-cc-res-word-spacing-d, normal); |
| 179 |
} |
| 180 |
|
| 181 |
.bkbg-cc-result-rate { |
| 182 |
font-size: 13px; |
| 183 |
color: #9ca3af; |
| 184 |
margin-top: 8px; |
| 185 |
} |
| 186 |
|
| 187 |
/* ── Disclaimer ───────────────────────────────────────────────────────── */ |
| 188 |
.bkbg-cc-disclaimer { |
| 189 |
margin: 0; |
| 190 |
font-size: 12px; |
| 191 |
text-align: center; |
| 192 |
color: #9ca3af; |
| 193 |
} |
| 194 |
|
| 195 |
/* ── Mobile ───────────────────────────────────────────────────────────── */@media (max-width: 1024px) { |
| 196 |
.bkbg-cc-card .bkbg-cc-title { |
| 197 |
font-size: var(--bkbg-cc-ttl-font-size-t, var(--bkbg-cc-ttl-font-size-d, var(--bkbg-cc-ttl-fs, 26px))); |
| 198 |
letter-spacing: var(--bkbg-cc-ttl-letter-spacing-t, var(--bkbg-cc-ttl-letter-spacing-d, normal)); |
| 199 |
line-height: var(--bkbg-cc-ttl-line-height-t, var(--bkbg-cc-ttl-line-height-d, 1.2)); |
| 200 |
word-spacing: var(--bkbg-cc-ttl-word-spacing-t, var(--bkbg-cc-ttl-word-spacing-d, normal)); |
| 201 |
} |
| 202 |
.bkbg-cc-result-num { |
| 203 |
font-size: var(--bkbg-cc-res-font-size-t, var(--bkbg-cc-res-font-size-d, var(--bkbg-cc-res-fs, 40px))); |
| 204 |
letter-spacing: var(--bkbg-cc-res-letter-spacing-t, var(--bkbg-cc-res-letter-spacing-d, normal)); |
| 205 |
line-height: var(--bkbg-cc-res-line-height-t, var(--bkbg-cc-res-line-height-d, 1.1)); |
| 206 |
word-spacing: var(--bkbg-cc-res-word-spacing-t, var(--bkbg-cc-res-word-spacing-d, normal)); |
| 207 |
} |
| 208 |
} |
| 209 |
@media (max-width: 767px) { |
| 210 |
.bkbg-cc-card .bkbg-cc-title { |
| 211 |
font-size: var(--bkbg-cc-ttl-font-size-m, var(--bkbg-cc-ttl-font-size-t, var(--bkbg-cc-ttl-font-size-d, var(--bkbg-cc-ttl-fs, 26px)))); |
| 212 |
letter-spacing: var(--bkbg-cc-ttl-letter-spacing-m, var(--bkbg-cc-ttl-letter-spacing-t, var(--bkbg-cc-ttl-letter-spacing-d, normal))); |
| 213 |
line-height: var(--bkbg-cc-ttl-line-height-m, var(--bkbg-cc-ttl-line-height-t, var(--bkbg-cc-ttl-line-height-d, 1.2))); |
| 214 |
word-spacing: var(--bkbg-cc-ttl-word-spacing-m, var(--bkbg-cc-ttl-word-spacing-t, var(--bkbg-cc-ttl-word-spacing-d, normal))); |
| 215 |
} |
| 216 |
.bkbg-cc-result-num { |
| 217 |
font-size: var(--bkbg-cc-res-font-size-m, var(--bkbg-cc-res-font-size-t, var(--bkbg-cc-res-font-size-d, var(--bkbg-cc-res-fs, 40px)))); |
| 218 |
letter-spacing: var(--bkbg-cc-res-letter-spacing-m, var(--bkbg-cc-res-letter-spacing-t, var(--bkbg-cc-res-letter-spacing-d, normal))); |
| 219 |
line-height: var(--bkbg-cc-res-line-height-m, var(--bkbg-cc-res-line-height-t, var(--bkbg-cc-res-line-height-d, 1.1))); |
| 220 |
word-spacing: var(--bkbg-cc-res-word-spacing-m, var(--bkbg-cc-res-word-spacing-t, var(--bkbg-cc-res-word-spacing-d, normal))); |
| 221 |
} |
| 222 |
}@media (max-width: 480px) { |
| 223 |
.bkbg-cc-card { |
| 224 |
padding: 20px; |
| 225 |
} |
| 226 |
|
| 227 |
.bkbg-cc-convert-row { |
| 228 |
grid-template-columns: 1fr; |
| 229 |
} |
| 230 |
|
| 231 |
.bkbg-cc-swap { |
| 232 |
width: 100%; |
| 233 |
text-align: center; |
| 234 |
} |
| 235 |
|
| 236 |
.bkbg-cc-result-num { |
| 237 |
font-size: var(--bkbg-cc-res-font-size-m, var(--bkbg-cc-res-font-size-t, var(--bkbg-cc-res-font-size-d, var(--bkbg-cc-res-fs, 32px)))); |
| 238 |
line-height: var(--bkbg-cc-res-line-height-m, var(--bkbg-cc-res-line-height-t, var(--bkbg-cc-res-line-height-d, 1.1))); |
| 239 |
letter-spacing: var(--bkbg-cc-res-letter-spacing-m, var(--bkbg-cc-res-letter-spacing-t, var(--bkbg-cc-res-letter-spacing-d, normal))); |
| 240 |
word-spacing: var(--bkbg-cc-res-word-spacing-m, var(--bkbg-cc-res-word-spacing-t, var(--bkbg-cc-res-word-spacing-d, normal))); |
| 241 |
} |
| 242 |
} |
| 243 |
|