/* kalkulatori/kursi-kembimit.html — page-specific styles (extracted from inline <style>) */
@layer page {
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.live-label { font-size: .75rem; color: var(--accent); font-weight: 600; }
.rate-time { font-size: .75rem; color: var(--text-3); }
.converter-card { background: var(--surface); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 24px; margin-bottom: 14px; }
.conv-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; margin-bottom: 16px; }
.conv-group { display: flex; flex-direction: column; gap: 6px; }
.conv-label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.conv-input-wrap { position: relative; }
.conv-input { width: 100%; height: 56px; background: var(--bg-1); border: 1px solid rgba(255,255,255,.10); border-radius: 10px; color: var(--text); font-size: 1.375rem; font-weight: 600; padding: 0 14px; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; }
.conv-input:focus { border-color: rgba(var(--accent-rgb),.5); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.1); }
.conv-input::placeholder { color: var(--text-4); font-weight: 400; }
.conv-input.result-input { color: var(--accent); }
.conv-select-wrap { position: relative; margin-top: 6px; }
.conv-select-wrap::after { content: ''; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235e6470'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E"); background-size: contain; pointer-events: none; }
.conv-select { width: 100%; height: 44px; background: var(--bg-1); border: 1px solid rgba(255,255,255,.10); border-radius: 8px; color: var(--text); font-size: .9375rem; font-weight: 600; padding: 0 32px 0 12px; outline: none; cursor: pointer; -webkit-appearance: none; appearance: none; transition: border-color .2s; }
.conv-select:focus { border-color: rgba(var(--accent-rgb),.4); }
.conv-select option { background: var(--bg-1); }
.swap-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 2px; gap: 6px; }
.swap-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-1); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--text-2); font-size: 1.1rem; transition: background .15s, border-color .15s, color .15s, transform .2s; }
.swap-btn:hover { background: rgba(var(--accent-rgb),.1); border-color: rgba(var(--accent-rgb),.3); color: var(--accent); }
.swap-btn:active { transform: rotate(180deg); }
.rate-display { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--bg-1); border-radius: 8px; font-size: .875rem; flex-wrap: wrap; gap: 8px; }
.rate-display__rate { color: var(--text); font-weight: 600; }
.rate-display__inv { color: var(--text-3); font-size: .8125rem; }
.rate-display.loading { opacity: .5; }
.rate-display__rate.error { color: #f87171; font-size: .8125rem; font-weight: 400; }
.rates-section { margin-bottom: 14px; }
.rates-section__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rates-section__title { font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.refresh-btn { display: flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600; color: var(--accent); background: none; border: none; padding: 4px 8px; border-radius: 6px; transition: background .15s; }
.refresh-btn:hover { background: rgba(var(--accent-rgb),.1); }
.refresh-btn svg { transition: transform .6s; }
.refresh-btn.spinning svg { transform: rotate(360deg); }
.rates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rate-card { background: var(--surface); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.rate-card:hover { border-color: rgba(255,255,255,.15); background: var(--surface-2); }
.rate-card.active { border-color: rgba(var(--accent-rgb),.35); background: rgba(var(--accent-rgb),.05); }
.rate-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.rate-card__flag { font-size: 1.25rem; line-height: 1; }
.rate-card__symbol { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.rate-card__name { font-size: .8125rem; color: var(--text-2); margin-bottom: 4px; }
.rate-card__rate { font-size: 1.125rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.rate-card__rate.loading { color: var(--text-4); }
.rate-card__base { font-size: .6875rem; color: var(--text-3); margin-top: 2px; }
.rates-cat-label { font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 16px 0 8px; }
.info-box { background: var(--surface); border: 1px solid rgba(255,255,255,.07); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 12px 16px; font-size: .8125rem; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }
.info-box strong { color: var(--text); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeUp .22s ease; }
@media (max-width: 680px) {
  .conv-row { grid-template-columns: 1fr; }
  .swap-col { flex-direction: row; justify-content: center; padding-bottom: 0; }
  .rates-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .rates-grid { grid-template-columns: repeat(2, 1fr); }
  .converter-card { padding: 16px; }
}
@keyframes sosPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
}
/* Monochrome icon set (Lucide, ISC licence) — replaces colour emoji */
@layer skin {
[class^="ei-"], [class*=" ei-"] { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.17em; flex-shrink: 0; font-style: normal;
  background-color: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
[class^="ei-dot-"], [class*=" ei-dot-"] { width: .62em; height: .62em; border-radius: 50%; vertical-align: .02em; -webkit-mask: none; mask: none; }
.ei-diamond { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z%22 /> </svg>"); }
.ei-dog { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M11.25 16.25h1.5L12 17z%22 /> <path d=%22M16 14v.5%22 /> <path d=%22M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309%22 /> <path d=%22M8 14v.5%22 /> <path d=%22M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5%22 /> </svg>"); }
.ei-euro { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M4 10h12%22 /> <path d=%22M4 14h9%22 /> <path d=%22M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2%22 /> </svg>"); }
.ei-flag { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528%22 /> </svg>"); }
.ei-medal { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15%22 /> <path d=%22M11 12 5.12 2.2%22 /> <path d=%22m13 12 5.88-9.8%22 /> <path d=%22M8 7h8%22 /> <circle cx=%2212%22 cy=%2217%22 r=%225%22 /> <path d=%22M12 18v-2h-.5%22 /> </svg>"); }
}
