@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root { --ink: #27232a; --muted: #817982; --paper: #f6f2ed; --lavender: #b28cff; --coral: #ff806e; --yellow: #ffd166; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; }
body { overflow-x: hidden; }
button { font: inherit; cursor: pointer; border: 0; }
.app-shell { min-height: 100svh; }
.page { width: min(100%, 520px); min-height: 100svh; margin: 0 auto; padding: 30px 20px 34px; }
.page::after { content: '*Svi podaci se čuvaju na našem sigurnom serveru u skladu sa najvišim standardima'; display: block; margin-top: auto; padding-top: 24px; color: #a39da1; font-size: 10px; line-height: 1.4; text-align: center; }
.eula-page { padding: 0; }
.eula-page > .eyebrow, .eula-page > h1, .eula-page > .intro { display: none; }
.intro-page { display: flex; flex-direction: column; justify-content: center; }.intro-page h1 { max-width: 470px; }.intro-page p { color: var(--muted); line-height: 1.6; }.intro-page .button { margin-top: 16px; }
.eyebrow { color: #8f7cb1; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin: 9px 0 8px; font: 700 clamp(38px, 11vw, 58px)/.98 'Playfair Display', serif; letter-spacing: -.045em; }
.intro { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.eula-box { height: calc(100svh - 58px); min-height: 0; overflow-y: auto; padding: 22px 19px 28px; border: 1px solid #e8e0dc; border-radius: 0; background: #fffdfb; box-shadow: 0 10px 28px #4d33400d; scrollbar-color: var(--lavender) transparent; }
.eula-box h2 { font: 700 23px/1.1 'Playfair Display', serif; margin-bottom: 17px; }
.eula-box p { color: #625c63; font-size: 14px; line-height: 1.65; margin-bottom: 17px; }
.actions { display: flex; flex-direction: column; gap: 0; margin-top: 0; }
.skip-button { min-height: 42px; color: #9b969a; background: transparent; font-size: 12px; }
.actions .button-accept { margin-top: 16px; }
.button { width: 100%; min-height: 58px; border-radius: 18px; font-size: 15px; font-weight: 700; letter-spacing: .13em; transition: transform .2s, opacity .2s, filter .2s; }
.button:active, .consent-choice:active { transform: scale(.98); }
.button-reject { color: #fff; min-height: 58px; border-radius: 0; background: linear-gradient(110deg, var(--coral), #ffae62); box-shadow: 0 11px 20px #ff866044; }
.button-accept { color: #8d888d; background: #fff; box-shadow: 0 8px 20px #45333310; }
.button:disabled { color: #d3cfd0; background: #ece9e7; box-shadow: none; cursor: not-allowed; }
.scroll-hint { color: #9f999d; font-size: 12px; text-align: center; margin-top: 14px; }
.result-page { display: flex; flex-direction: column; justify-content: center; }
.result-mark { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 24px; border-radius: 22px; color: #fff; background: var(--lavender); font-size: 29px; }
.result-page p { color: var(--muted); line-height: 1.6; margin-bottom: 28px; }
.download-copy { color: var(--muted); line-height: 1.6; }.download-link { color: #5f526c; font-weight: 500; text-decoration: underline; text-decoration-color: #b8a6c8; text-underline-offset: 2px; }
.location-page { display: flex; flex-direction: column; justify-content: center; }
.location-mark { background: var(--coral); }
.location-copy { max-width: 360px; color: var(--muted); line-height: 1.6; margin-bottom: 28px; }
.location-status { min-height: 22px; color: var(--muted); font-size: 13px; text-align: center; }
.map-frame { width: 100%; height: min(58svh, 470px); margin: 22px 0 18px; overflow: hidden; border: 1px solid #e8e0dc; border-radius: 22px; background: #e5e0dc; box-shadow: 0 10px 28px #4d33400d; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.location-result .button-accept { margin-top: 0; }
.login-page { display: flex; flex-direction: column; justify-content: center; }
.login-mark { background: var(--lavender); }
.login-copy { color: var(--muted); line-height: 1.6; margin-bottom: 26px; }
.field-label { display: block; margin: 0 0 8px; color: #655e66; font-size: 13px; font-weight: 700; }
.text-input { width: 100%; height: 56px; margin-bottom: 17px; padding: 0 16px; border: 1px solid #e1d9d5; border-radius: 15px; outline: none; color: var(--ink); background: #fffdfb; font: inherit; font-size: 16px; }
.text-input:focus { border-color: var(--lavender); box-shadow: 0 0 0 3px #b28cff2b; }
.text-input[aria-invalid="true"] { border-color: var(--coral); }
.input-error { margin: -8px 0 15px; color: #a1483b; font-size: 13px; }
.account-message { margin: 1px 0 21px; padding: 13px 14px; border-radius: 13px; color: #685d6e; background: #eee7f8; font-size: 13px; line-height: 1.45; }
.password-errors { margin: 0 0 20px; padding: 14px 15px; border: 1px solid #ffc7bd; border-radius: 14px; color: #a1483b; background: #fff0ed; font-size: 13px; line-height: 1.5; }
.password-errors strong { display: block; margin-bottom: 5px; }.password-errors ul { margin: 0; padding-left: 18px; }
.login-button { margin-top: 8px; }
.audio-page { display: flex; flex-direction: column; justify-content: center; }
.audio-mark { background: var(--coral); }
.audio-copy { max-width: 360px; color: var(--muted); line-height: 1.6; margin-bottom: 27px; }
.audio-controls { display: grid; gap: 12px; }
.audio-controls .button-accept { margin-top: 0; }
.audio-status { min-height: 23px; margin: 17px 0 8px; color: var(--muted); font-size: 13px; text-align: center; }
.audio-next { margin-top: 12px; }
.photo-page { display: flex; flex-direction: column; justify-content: center; }
.photo-mark { background: var(--lavender); }
.photo-copy { color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.photo-checklist { display: grid; gap: 9px; margin-bottom: 19px; }
.photo-step { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; min-height: 55px; gap: 8px; padding: 7px 8px 7px 11px; border: 1px solid #e8e0dc; border-radius: 15px; background: #fffdfb; color: #625c63; font-size: 13px; }
.photo-check { color: #b0a9af; font-size: 22px; font-weight: 700; }.photo-check:has(+ span) { line-height: 1; }.photo-step:has(.photo-check:not(:empty)) .photo-check { color: var(--lavender); }
.small-action { min-height: 34px; padding: 0 9px; border-radius: 10px; color: #fff; background: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .06em; }.small-action:disabled { color: #b7b1b5; background: #e9e5e3; cursor: not-allowed; }
.upload-action { display: grid; place-items: center; cursor: pointer; }.completed-action { color: #fff; background: var(--lavender); }
.camera-panel { margin-bottom: 14px; }.camera-panel video, .camera-panel img { display: block; width: 100%; max-height: 45svh; object-fit: cover; border-radius: 20px; background: #28202b; }
.camera-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }.camera-controls .button { min-height: 50px; }.camera-controls .button-accept { margin-top: 0; }
.photo-status { min-height: 22px; margin: 4px 0 8px; color: var(--muted); font-size: 13px; line-height: 1.4; text-align: center; }.photo-next { margin-top: 10px; }
.photo-legal-note { margin: 24px 0 0; color: #000; font-size: 11.5px; line-height: 1.5; text-align: center; }
.gender-page { display: flex; flex-direction: column; justify-content: center; }
.gender-mark { background: var(--coral); }.gender-select { appearance: auto; padding-right: 12px; }.private-gender-copy { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }.gender-next { margin-top: 12px; }
.consent-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: #28202bcc; backdrop-filter: blur(7px); }
.consent-card { width: min(100%, 390px); padding: 33px 24px 25px; border-radius: 28px; background: #fffdfb; box-shadow: 0 24px 60px #21192755; animation: pop .35s ease-out; }
.cookie-illustration { position: relative; width: 84px; height: 84px; margin-bottom: 24px; border-radius: 50%; background: #d89455; transform: rotate(-12deg); }
.cookie-illustration::after { content: ''; position: absolute; width: 38px; height: 38px; top: -4px; right: -3px; border-radius: 50%; background: #fffdfb; }
.bite { position: absolute; z-index: 1; width: 15px; height: 15px; border-radius: 50%; background: #fffdfb; }
.bite-one { top: 4px; right: 17px; }.bite-two { top: 16px; right: 4px; }
.chip { position: absolute; z-index: 2; width: 8px; height: 8px; border-radius: 50%; background: #8a4e32; }.chip-one { top: 29px; left: 22px; }.chip-two { top: 54px; left: 46px; }.chip-three { top: 63px; left: 23px; }
.consent-card h2 { max-width: 300px; margin: 8px 0 9px; font: 700 32px/1.05 'Playfair Display', serif; letter-spacing: -.035em; }
.consent-card p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 22px; }
.consent-actions, .cookie-settings { display: grid; gap: 10px; }.consent-choice { min-height: 51px; padding: 0 15px; border-radius: 15px; font-size: 14px; font-weight: 700; }
.primary-choice { color: #fff; background: var(--ink); }.secondary-choice { color: var(--ink); background: #f1ece8; }.save-choice { color: #fff; background: var(--lavender); margin-top: 5px; }
.toggle-row { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 48px; color: #4c464d; font-size: 14px; border-bottom: 1px solid #eee8e4; }.toggle-row input { position: absolute; opacity: 0; }.toggle { width: 42px; height: 25px; padding: 3px; border-radius: 20px; background: #d9d3d0; transition: .2s; }.toggle::after { content: ''; display: block; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px #0002; }.toggle-row input:checked + .toggle { background: var(--lavender); }.toggle-row input:checked + .toggle::after { transform: translateX(17px); }.toggle-row input:disabled + .toggle { opacity: .7; }
.cookie-rain { position: fixed; inset: 0; z-index: 10; pointer-events: none; overflow: hidden; }.rain-item { position: absolute; top: -45px; animation: fall linear infinite; opacity: .9; }
@keyframes fall { to { transform: translate3d(var(--drift), 110vh, 0) rotate(var(--spin)); } } @keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@media (min-width: 520px) { .page { padding-top: 55px; } }
