/* Doniva reference system: one navigable screen, reusable live components. */
:root{--purple:#5c3bcc;--violet:#754cdb;--ink:#20145d;--muted:#716483;--lavender:#f5f1fe;--line:#e4daf6;--gold:#ffcf73}
body{background:radial-gradient(ellipse at 25% 0,#e5dcfa,transparent 55%),#f2eefb;color:var(--ink);font-family:'Segoe UI',Arial,sans-serif}
.phone{border-radius:28px;border-color:#e8def8;background:linear-gradient(160deg,#fff 25%,#faf8ff 65%,#f1ebff);max-width:430px;box-shadow:0 16px 50px #4d2b9810}
.screen:not(.splash){gap:17px;background:none;padding:27px 25px;min-height:780px}
.screen>.organic{opacity:.7}.screen>.top-shape{width:220px;height:180px;top:-110px;right:-100px}.screen>.bottom-shape{width:225px;height:220px;bottom:-160px;left:-145px}.screen>.top-left{height:75px;width:90px;top:-45px;left:-35px}
h1{font-size:26px;font-weight:750;letter-spacing:-.6px;color:#201257}header h1{font-size:21px}h2{font-size:15px;font-weight:700;color:#25195c}p{font-size:14px;line-height:1.6;color:var(--muted)}.small{font-size:12px}
.btn{background:linear-gradient(115deg,#6945d8,#5134c7);border-radius:10px;min-height:47px;font-size:14px;box-shadow:0 4px 10px #5134c714}.btn.secondary{background:#ffffff80;border:1px solid #d2c3ed;color:#5632b8}.btn[data-action=reject],.btn[data-action=cancel-plan]{background:#fff;border:1px solid #e5abc0;color:#c34968;box-shadow:none}.actions{gap:10px}.actions>.secondary{border:0;background:transparent;box-shadow:none}
.card{border:1px solid var(--line);background:#ffffffc9;border-radius:13px;padding:15px;box-shadow:0 3px 9px #60439905}.list{gap:11px}.row{gap:12px}.tile-icon{height:42px;width:42px;border-radius:50%;background:#ede4ff;color:var(--purple)}.tile-icon .icon{height:23px;width:23px}.quick{padding:10px 2px;border-bottom:1px solid #f0eafa}.quick:last-child{border-bottom:0}.quick .tile-icon{width:30px;height:30px;border-radius:50%}.quick .icon{width:17px;height:17px}.quick .grow{font-size:13px}.chevron{font-size:22px;color:#6942c9}
.stats .card{background:linear-gradient(130deg,#f1eafa,#eee7fb);border:1px solid #eee5fa;border-radius:12px;padding:16px}.number{font-size:29px;line-height:1.3;font-weight:750}.stats p{font-size:12px}.stats.profile-stats h2{font-size:20px}
.nav{background:#fbf9ffec;border-top:1px solid #e9e0f5;backdrop-filter:blur(12px);padding:12px 0 14px;gap:7px;position:sticky;bottom:0;margin:20px -10px -15px;margin-top:auto;z-index:2}.nav a{font-size:10px;min-height:44px;min-width:40px;flex:1;color:#8a7caa}.nav a.active{color:#5538c7}.nav .icon{width:20px;height:20px;stroke-width:1.7}
.demo-mode{font-size:10px;color:#8c77ac;line-height:1.4;letter-spacing:.1px}.demo{font-size:11px;padding:8px 11px;border:1px solid #e6daf8;background:#f5eefe;color:#715798;border-radius:9px}.notice{font-size:12px;padding:10px 12px;background:#f4eefa;border-left-color:#bba3e5}.demo-switch{border:0;background:#f3eefb;padding:10px 12px;border-radius:10px;margin:5px 0 0}.demo-switch summary{font-size:11px;color:#7e68a5;font-weight:500}.demo-switch .btn{font-size:11px}.server-access,.optional-register{font-size:12px;color:#74648e}.server-access summary,.optional-register summary{cursor:pointer}
.mini-brand{align-self:flex-start;text-decoration:none}.mini-brand img{height:38px;width:94px;object-fit:contain;mix-blend-mode:multiply}.welcome{justify-content:flex-start}.welcome .intro{margin:10px 0 0}.welcome h1{font-size:30px;line-height:1.12}.welcome .intro p{max-width:285px;margin:12px auto 0}.welcome .hero-image{height:235px;object-fit:contain;width:100%;border-radius:15px}.welcome-actions{display:grid;gap:9px}.welcome-actions .btn{min-height:45px}.welcome a:not(.btn):not(.mini-brand){color:#5d3bb9}.view-access>p,.verification>p{text-align:center}.verification header h1{font-size:25px;text-align:center}.otp{gap:7px;max-width:380px;align-self:center;width:100%}.otp input{height:54px;border-radius:10px!important;font-size:20px!important}
.field{font-size:13px;font-weight:650;gap:7px;margin-bottom:14px}.form .field{margin-bottom:14px}input:not([type=checkbox]):not([type=range]):not([type=radio]),select,textarea{min-height:44px;padding:11px 12px;border-color:#dfd3f2;background:#fff9;border-radius:9px;font-size:13px;color:#2a1e50}.field-control{display:flex;align-items:center;gap:10px;border:1px solid #dfd3f2;background:#fff9;border-radius:9px;padding-left:12px}.field-control>.icon{width:17px;height:17px;color:#8770b3;flex-shrink:0}.field-control>input:not([type=checkbox]):not([type=radio]){border:0;min-width:0;background:transparent;padding-left:0}.field-control:focus-within{outline:2px solid #9474df;outline-offset:2px}.field-control input:focus-visible{outline:none}textarea{min-height:115px}.terms{font-size:12px}.form .actions{margin-top:24px}.file-label{padding:16px;border-radius:11px;gap:9px;font-size:12px}.upload-preview{border:1px solid var(--line);border-radius:13px;max-width:100%;width:100%;object-fit:contain;background:#f6f2fc}.photo-status{color:#6a4aac;margin:8px 0}.photo-status[role=alert]{color:#b03d5c}
.role-cards{margin-top:16px}.role-cards .selectable{padding:20px 15px;min-height:110px}.role-cards .selectable p{font-size:12px}.role-cards .tile-icon{height:52px;width:52px}.permission{padding:14px}.permission p{font-size:12px}.permission input{margin-left:auto}.tour-list{gap:20px;margin-top:30px}.tour-item{border:0;background:transparent;text-align:left;color:#302357;font-size:14px;line-height:1.55;padding:4px}.tour-item .tile-icon{height:45px;width:45px}.dots{margin-top:auto}.dots i,.dots i:first-child{height:6px;width:6px;background:#d1c0ed}.dots i.current{background:#5d38c5;width:16px}
.symbol-hero{width:160px;height:175px;margin:30px auto 16px}.symbol-hero>.icon{height:100px;width:100px;stroke-width:1.1;color:#5e3ccd}.success{justify-content:center;text-align:center}.success header{margin-bottom:auto}.success>.symbol-hero{width:120px;height:130px;margin:35px auto 25px;background:none;border:0}.success>.symbol-hero>.icon{height:90px;width:90px;stroke-width:1.5;border:2px solid #6442cd;border-radius:50%;padding:18px}.success h1{font-size:24px;line-height:1.25}.success .intro{margin:0}.success .actions{margin:25px 0 auto;padding-top:12px}.success .hero-image{height:220px;margin-top:30px}.success .demo-mode{margin-top:0}
.tabs{padding:4px;gap:5px;border:1px solid #e9e1f7;background:#f5effc;border-radius:10px}.tabs a{flex:1;display:grid;place-items:center;text-decoration:none;font-size:12px;min-height:37px;padding:7px 9px;color:#644b98;border-radius:8px;text-align:center}.tabs a.active{color:#fff;background:linear-gradient(120deg,#7048d7,#5435c8);box-shadow:0 2px 6px #6a4aaf17}.card-link{border-radius:12px}.avatar{width:39px;height:39px;background:linear-gradient(140deg,#c4a9eb,#865ad4);border:2px solid #f0e5fc}.profile-photo{width:88px;height:88px;font-size:30px;border:4px solid #fff}.profile-cover{height:155px;box-shadow:0 4px 12px #512c7910}.tag{font-size:10px;border-radius:7px;background:#f0e7fb;color:#654099;padding:5px 8px}.state-pending{background:#eee4fb;color:#7250ab}.state-accepted,.state-available{background:#e5f3ee;color:#347666}.state-completed{background:#e2f0f2;color:#3c7780}.state-rejected,.state-cancelled,.state-expired,.state-withdrawn{background:#fae9ef;color:#a35572}.data-list{grid-template-columns:1fr 1fr;gap:16px;margin:5px 0}.data-list dd{font-size:13px}.data-list dt{font-size:11px}.product img{width:78px;height:95px;border-radius:9px}.product h2{font-size:14px}.product p{font-size:12px}.view-19 .medicine{height:260px}.view-20 .stepper{padding:7px 0}.card-actions .btn{border-radius:9px}
.bubble{font-size:13px;padding:13px 15px;background:#f0e8fc;color:#4b3b70;max-width:84%;border-radius:14px 14px 14px 3px}.bubble.mine{background:#e2d5fa;border-radius:14px 14px 3px 14px}.message-list{gap:17px;min-height:200px}.chat header{border-bottom-color:#e6dcf5}.chat-form{position:sticky;bottom:15px;background:#faf7ff;padding:7px;border-radius:12px}.chat-form .btn{box-shadow:none}.view-16 .field-control{padding:6px 12px}.view-16 .field-control>.icon{color:#6841c5}.view-16 form{margin-top:18px}
.rating-category{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:15px 0;font-size:12px;color:#514069}.rating-category .stars{gap:0;flex-shrink:0}.rating-category .stars button{font-size:23px;padding:2px;color:#ded1eb}.rating-category .stars button.selected{color:#f4b856}.rating-category span{max-width:48%;line-height:1.5}
.view-25{background:radial-gradient(circle at 100% 0,#6240ad,transparent 40%),linear-gradient(160deg,#3d267e,#241454)!important;color:#fff}.view-25 h1,.view-25 h2,.view-25 .quick,.view-25 header .back,.view-25 header .icon-button{color:#fff}.view-25 p{color:#ddd1ef}.view-25 .premium-panel{background:none;padding:8px 0;margin:0;box-shadow:none}.view-25 .premium-panel>.tile-icon{display:none}.view-25 .premium-panel h1{font-size:27px;display:flex;align-items:center;gap:9px}.view-25 .premium-panel h1:before{content:'♛';color:var(--gold);font-size:39px}.view-25 .premium-panel .demo{border:0;background:#ffffff0d;color:#d2bfe8}.view-25 .quick{border-color:#ffffff0d;padding:13px 1px}.view-25 .quick .tile-icon{background:#ffffff0b;color:var(--gold);border-radius:10px}.view-25 .quick .grow{font-size:14px;color:#f6efff}.view-25 .chevron{color:#c5adde}.view-25 .actions>.btn{background:linear-gradient(120deg,#ffdb89,#f4bf63);color:#3b2674;border:0;box-shadow:0 3px 10px #16093925}.view-25 .plan-table{color:#e3d4f1}.view-25 .plan-table th,.view-25 .plan-table td{border-color:#ffffff17}.view-25 .demo-switch{background:#ffffff0b}.view-25 .demo-switch summary{color:#c6b4df}.plan-option{position:relative;padding:19px;border:1px solid #e0d3f2}.plan-option input{float:right}.plan-option:has(input:checked){background:#f1eafb;border-color:#9b79df;box-shadow:0 0 0 2px #ede4fa}.plan-option strong{font-size:14px}.plan-option p{margin-top:9px}.plan-option .tag{margin-top:10px}.view-27 form{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff8}.view-27 .card{background:#f8f4fe}.view-27 .demo{color:#856292;background:#f8f1fb}.view-27 form .btn{margin-top:15px}
.activity-chart{padding:18px 15px;border:1px solid var(--line);background:#fff9;border-radius:13px;margin-bottom:14px}.activity-chart h2{font-size:12px}.chart{height:135px;gap:12px;padding:25px 5px 0}.chart span{position:relative;border-radius:3px 3px 0 0;background:linear-gradient(#9674da,#ddd0f5);min-height:0}.chart span b{position:absolute;top:-21px;width:100%;font-size:10px;font-weight:500;text-align:center;color:#8b74ad}.chart-label{font-size:9px;gap:9px}.chart-label span{flex:1;text-align:center}.support-hero{width:190px;height:190px;object-fit:contain;align-self:center;mix-blend-mode:multiply}.view-28f .card{background:#faf7ff}.view-28f .list .btn.secondary{justify-content:space-between;box-shadow:none;background:#fff;border-radius:8px}.view-28a .symbol-hero{margin:10px auto}
@media(min-width:850px){body{padding:35px}.phone{max-width:760px}.screen:not(.splash){min-height:750px;padding:34px 46px}.welcome,.view-access,.verification,.success,.view-25,.view-26,.view-27{max-width:480px;margin:auto}.screen.welcome,.screen.view-access,.screen.verification{max-width:none;padding-left:140px;padding-right:140px}.view-9>div:has(>.quick),.view-17>div:has(>.quick){display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.view-9 .stats,.view-perfil .stats{gap:18px}.view-donaciones>.list,.view-18>.list,.view-28b>.list{grid-template-columns:1fr 1fr;align-items:start}.view-19 .medicine{height:310px}.data-list{grid-template-columns:1fr 1fr}.nav{margin-left:0;margin-right:0;max-width:100%;border-radius:14px}.nav a{font-size:11px}.demo-switch .button-row{max-width:400px}.view-25{max-width:none;padding:35px 95px!important}.profile-cover{height:210px}.view-perfil>.form{display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.view-perfil>.form>.actions,.view-perfil>.form>.file-label,.view-perfil>.form>[id$=preview],.view-perfil>.form>.btn,.view-perfil>.form>.photo-status{grid-column:1/-1}.view-24 form{max-width:520px;width:100%;align-self:center}.welcome .hero-image{height:225px}}
@media(max-width:480px){.phone{max-width:100%;border:0;border-radius:0;box-shadow:none}.screen:not(.splash){min-height:100svh;padding:24px 22px}.nav{margin-bottom:-13px}.welcome .hero-image{height:215px}.welcome .intro{margin-top:4px}.welcome h1{font-size:29px}.view-25{border-radius:0}.rating-category .stars button{font-size:22px;padding:2px}.success .demo-switch{margin-top:30px}}
@media(max-width:350px){.screen:not(.splash){padding:23px 16px}.welcome .hero-image{height:190px}header h1{font-size:19px}.search-filters{grid-template-columns:1fr}.rating-category .stars button{font-size:19px;padding:1px}.rating-category{font-size:11px}.otp{gap:5px}.data-list{gap:12px}.tabs a{font-size:11px;padding:6px}.nav{gap:2px}.demo-switch .button-row{flex-wrap:wrap}.btn{font-size:13px}}
@media(prefers-reduced-motion:reduce){.screen{animation:none!important;scroll-behavior:auto}}

.welcome .welcome-logo{mix-blend-mode:multiply;object-fit:contain;align-self:center;max-width:340px}

.registration-card{background:#ffffffbf;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 5px 20px #55339408}.registration-card .small{font-size:12px;line-height:1.5}.registration .field-control input{font-weight:400}

.verification-number{font-size:18px;font-weight:700;letter-spacing:1px}.registration-card .terms{font-size:12px;line-height:1.5;margin:15px 0}.registration-card .terms input{flex-shrink:0}

.phone{overflow:clip}
