*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f4f7fb;color:#0f172a}input,button,select,textarea{font-family:inherit}button{cursor:pointer}.login-page{min-height:100vh;background:linear-gradient(135deg,#0f172a,#1d4ed8);display:flex;align-items:center;justify-content:center;padding:24px}.login-card{width:100%;max-width:440px;background:#fff;border-radius:24px;padding:34px;box-shadow:0 30px 80px #00000040;text-align:center}.login-logo{width:105px;height:105px;object-fit:contain;margin-bottom:18px}.login-card h1{margin:0;font-size:28px}.login-subtitle{color:#64748b;margin-bottom:28px}.login-form{text-align:left}.login-form input{width:100%;padding:14px;margin-bottom:14px;border:1px solid #cbd5e1;border-radius:14px;font-size:15px}.login-form label{font-weight:700;color:#334155;margin-bottom:8px;display:block}.dob-row{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:10px}.login-form button{width:100%;padding:15px;border:none;border-radius:14px;background:#2563eb;color:#fff;font-weight:800;font-size:15px}.login-form button:hover{background:#1d4ed8}.error,.error-box{margin-top:16px;padding:14px;border-radius:14px;background:#fef2f2;color:#b91c1c;font-weight:700}.voter-candidates-page{min-height:100vh;padding:34px 54px;background:radial-gradient(circle at top left,rgba(37,99,235,.16),transparent 34%),linear-gradient(135deg,#f8fafc,#eef4ff)}.voter-hero{width:100%;max-width:1500px;margin:0 auto 34px;padding:50px;border-radius:34px;background:linear-gradient(135deg,#020617,#1d4ed8);color:#fff;text-align:center;box-shadow:0 30px 80px #0f172a47}.voter-hero span{display:inline-block;padding:8px 14px;border-radius:999px;background:#ffffff24;color:#bfdbfe;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.voter-hero h1{margin:16px 0 10px;font-size:clamp(42px,5vw,70px)}.voter-hero p{margin:0;color:#dbeafe;font-size:17px}.candidate-position-section{max-width:1500px;margin:0 auto 46px}.candidate-position-hero{margin-bottom:22px;padding:26px 34px;border-radius:28px;background:linear-gradient(135deg,#fff,#eff6ff);border:1px solid #dbeafe;box-shadow:0 18px 50px #0f172a14}.candidate-position-hero span{display:inline-block;padding:7px 13px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.candidate-position-hero h2{margin:12px 0 6px;font-size:clamp(28px,4vw,44px)}.candidate-position-hero p{color:#64748b;margin:0}.wide-candidate-list{display:grid;gap:34px}.wide-candidate-card{background:#fff;border:2px solid #0f2a5f;border-radius:28px;padding:20px;cursor:pointer;box-shadow:0 24px 70px #0f172a1a;transition:transform .22s ease,box-shadow .22s ease}.wide-candidate-card:hover{transform:translateY(-6px);box-shadow:0 34px 90px #2563eb2e}.wide-position-title{border:2px solid #0f2a5f;border-radius:14px;padding:22px 32px;font-size:28px;font-weight:900;margin-bottom:20px}.wide-candidate-content{display:grid;grid-template-columns:minmax(320px,430px) 1fr;gap:24px;align-items:stretch}.wide-photo-box{border:2px solid #0f2a5f;border-radius:50px;overflow:hidden;background:#eff6ff;position:relative;height:520px;display:flex;align-items:center;justify-content:center}.wide-photo-box img{width:100%;height:100%;object-fit:contain;background:#fff;padding:14px}.wide-photo-empty{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:90px;font-weight:900;color:#2563eb}.wide-candidate-name{position:absolute;left:24px;right:24px;bottom:10px;background:#fffffff0;padding:18px;border-radius:24px;box-shadow:0 18px 45px #ff172ae6}.wide-candidate-name h2{margin:0;font-size:28px}.wide-candidate-name p{margin:6px 0 0;color:#64748b;font-weight:700}.wide-manifesto-box{border:2px solid #0f2a5f;border-radius:20px;min-height:520px;max-height:520px;overflow-y:auto;padding:14px;font-size:24px;background:#fff}.wide-manifesto-box h3{text-align:center;font-size:30px;margin-top:0}.wide-manifesto-box p{line-height:1.8;white-space:pre-wrap}.empty-state{text-align:center;color:#64748b;margin-top:30px}.candidate-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#020617c7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:999;padding:32px;overflow-y:auto}.candidate-modal{position:relative;max-width:1150px;margin:auto;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 40px 120px #00000059}.candidate-modal-close{position:absolute;top:18px;right:18px;width:46px;height:46px;border-radius:999px;border:none;background:#0f172a;color:#fff;font-size:28px;z-index:2}.candidate-modal-photo{height:620px;background:#eff6ff;display:flex;align-items:center;justify-content:center}.candidate-modal-photo img{width:100%;height:100%;object-fit:contain;background:#fff;padding:24px}.candidate-modal-empty{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:120px;font-weight:900;color:#2563eb}.candidate-modal-content{padding:40px}.voter-badge{display:inline-block;padding:8px 14px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.candidate-modal-content h1{font-size:46px;margin:18px 0 8px}.candidate-modal-content p{color:#475569;font-size:17px}.candidate-modal-manifesto{margin-top:28px;padding:28px;border-radius:26px;background:#f8fafc;border:1px solid #e2e8f0}.candidate-modal-manifesto h2{margin-top:0}.candidate-modal-manifesto p{line-height:1.8;white-space:pre-wrap}@media(max-width:900px){.voter-candidates-page{padding:18px}.voter-hero{padding:32px 20px}.wide-candidate-content{grid-template-columns:1fr}.wide-photo-box{height:360px}.wide-manifesto-box{min-height:auto;max-height:none}}@media(max-width:700px){.candidate-modal-overlay{padding:14px}.candidate-modal-photo{height:330px}.candidate-modal-content{padding:24px}.candidate-modal-content h1{font-size:34px}.wide-position-title{font-size:22px;padding:18px}}.ballot-premium-hero{background:linear-gradient(135deg,#0f172a,#1e3a8a);color:#fff;border-radius:28px;padding:36px;box-shadow:0 24px 60px #0f172a40;margin-bottom:28px}.ballot-premium-hero span{font-size:13px;text-transform:uppercase;letter-spacing:.14em;color:#bfdbfe;font-weight:800}.ballot-premium-hero h1{font-size:clamp(32px,5vw,54px);margin:10px 0}.ballot-premium-hero p{max-width:760px;color:#dbeafe;font-size:16px}.ballot-position-list{display:grid;gap:26px}.ballot-position-card{background:#fff;border-radius:26px;padding:24px;border:1px solid #e5e7eb;box-shadow:0 18px 50px #0f172a14}.ballot-position-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.ballot-position-header span{color:#2563eb;font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.12em}.ballot-position-header h2{margin:5px 0 0;color:#0f172a;font-size:26px}.choice-count{background:#eff6ff;color:#1d4ed8;padding:10px 14px;border-radius:999px;font-weight:800}.ballot-candidate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.ballot-candidate-card{position:relative;cursor:pointer;background:#f8fafc;border:2px solid #e5e7eb;border-radius:24px;padding:18px;transition:all .2s ease;overflow:hidden}.ballot-candidate-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px #0f172a1f}.ballot-candidate-card.selected{background:linear-gradient(180deg,#eff6ff,#fff);border-color:#2563eb;box-shadow:0 20px 50px #2563eb38}.ballot-candidate-card input{display:none}.premium-check{position:absolute;top:16px;right:16px;width:34px;height:34px;border-radius:999px;border:2px solid #cbd5e1;background:#fff;display:grid;place-items:center;font-weight:900;color:#fff}.ballot-candidate-card.selected .premium-check{background:#2563eb;border-color:#2563eb}.ballot-candidate-photo{width:100%;height:260px;border-radius:20px;overflow:hidden;background:#f1f5f9;margin-bottom:16px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0}.ballot-candidate-photo img{width:100%;height:100%;object-fit:contain;object-position:center;background:#fff}.ballot-photo-empty{width:100%;height:100%;display:grid;place-items:center;font-size:64px;font-weight:900;color:#475569}.ballot-candidate-info span{display:inline-block;background:#dbeafe;color:#1d4ed8;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:900;margin-bottom:10px}.ballot-candidate-info h3{margin:0;font-size:22px;color:#0f172a}.ballot-candidate-info p{color:#64748b;margin:8px 0 0}.ballot-submit-panel{position:sticky;bottom:18px;margin-top:30px;background:#ffffffeb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid #e5e7eb;border-radius:24px;padding:18px;display:flex;justify-content:space-between;align-items:center;gap:18px;box-shadow:0 22px 50px #0f172a29}.ballot-submit-panel h3{margin:0;color:#0f172a}.ballot-submit-panel p{margin:4px 0 0;color:#64748b}@media(max-width:700px){.ballot-submit-panel,.ballot-position-header{flex-direction:column;align-items:stretch}.submit-vote-btn{width:100%}}.ballot-topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}.premium-top-btn,.premium-exit-btn{border:none;cursor:pointer;padding:16px 24px;border-radius:18px;font-size:16px;font-weight:800;transition:all .25s ease;box-shadow:0 10px 25px #0f172a1f}.premium-top-btn{background:#fff;color:#0f172a;border:1px solid #dbeafe}.premium-top-btn:hover{transform:translateY(-2px);background:#eff6ff}.premium-exit-btn{background:linear-gradient(135deg,#dc2626,#ef4444);color:#fff}.premium-exit-btn:hover{transform:translateY(-2px);box-shadow:0 16px 35px #ef444459}.ballot-premium-hero{background:linear-gradient(135deg,#0f172a,#1e3a8a);color:#fff;border-radius:34px;padding:70px 40px;box-shadow:0 30px 70px #0f172a4d;margin-bottom:32px;text-align:center}.hero-center{max-width:900px;margin:0 auto}.ballot-premium-hero span{font-size:14px;text-transform:uppercase;letter-spacing:.18em;color:#bfdbfe;font-weight:900}.ballot-premium-hero h1{font-size:clamp(48px,7vw,88px);line-height:1;margin:20px 0;font-weight:900}.ballot-premium-hero p{max-width:760px;margin:0 auto;color:#dbeafe;font-size:20px;line-height:1.7}.vote-status-pill{display:inline-flex;align-items:center;justify-content:center;margin-top:26px;padding:14px 26px;border-radius:999px;font-size:15px;font-weight:900}.vote-status-pill.open{background:#22c55e2e;color:#bbf7d0;border:1px solid rgba(34,197,94,.35)}.vote-status-pill.closed{background:#ef44442e;color:#fecaca;border:1px solid rgba(239,68,68,.35)}@media(max-width:768px){.ballot-topbar{flex-direction:column;align-items:stretch}.premium-top-btn,.premium-exit-btn{width:100%}.ballot-premium-hero{padding:50px 24px}.ballot-premium-hero h1{font-size:48px}.ballot-premium-hero p{font-size:16px}}.submit-vote-btn{border:none;cursor:pointer;background:linear-gradient(135deg,#2563eb,#87f527);color:#fff;padding:18px 38px;min-width:240px;border-radius:20px;font-size:18px;font-weight:900;letter-spacing:.02em;box-shadow:0 18px 40px #2563eb59,inset 0 1px #ffffff40;transition:all .25s ease;display:flex;align-items:center;justify-content:center}.submit-vote-btn:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 28px 60px #2563eb73,inset 0 1px #ffffff40}.submit-vote-btn:active{transform:scale(.98)}.submit-vote-btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.election-countdown-card{margin:28px auto 0;max-width:420px;background:#ffffff24;border:1px solid rgba(255,255,255,.22);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:24px;padding:20px 26px;display:flex;flex-direction:column;align-items:center;gap:8px;box-shadow:0 20px 45px #0000002e}.election-countdown-card span{color:#bfdbfe;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.14em}.election-countdown-card strong{color:#fff;font-size:clamp(30px,5vw,52px);font-weight:950;line-height:1}.premium-ballot-btn{border:none;cursor:pointer;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;padding:18px 36px;border-radius:18px;font-size:18px;font-weight:900;letter-spacing:.02em;min-width:280px;box-shadow:0 18px 40px #2563eb59,inset 0 1px #ffffff40;transition:all .25s ease}.premium-ballot-btn:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 28px 60px #2563eb73,inset 0 1px #ffffff40}.premium-ballot-btn:active{transform:scale(.98)}@media(max-width:768px){.premium-ballot-btn{width:100%;min-width:unset}}.candidate-page-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px}.candidate-bottom-actions{display:flex;justify-content:center;margin:34px 0}.candidate-exit-btn,.premium-ballot-btn{border:none;cursor:pointer;padding:16px 28px;border-radius:18px;font-size:17px;font-weight:900;transition:all .25s ease}.candidate-exit-btn{background:linear-gradient(135deg,#dc2626,#ef4444);color:#fff;box-shadow:0 16px 35px #ef444447}.premium-ballot-btn{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;min-width:250px;box-shadow:0 18px 40px #2563eb59}.candidate-exit-btn:hover,.premium-ballot-btn:hover{transform:translateY(-3px) scale(1.02)}@media(max-width:700px){.candidate-page-actions{flex-direction:column;align-items:stretch}.candidate-exit-btn,.premium-ballot-btn{width:100%}}.receipt-info{margin:20px 0;padding:16px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0}.receipt-info p{margin:8px 0}.receipt-premium-page{min-height:100vh;background:radial-gradient(circle at top left,rgba(119,65,190,.22),transparent 34%),linear-gradient(135deg,#eef2ff,#f8fafc);display:flex;align-items:center;justify-content:center;padding:30px}.receipt-card{width:min(620px,94vw);background:#fffffff5;border-radius:34px;padding:42px;text-align:center;box-shadow:0 30px 90px #0f172a29;border:1px solid #e5e7eb}.receipt-logo{width:92px;height:92px;object-fit:contain;margin-bottom:16px}.receipt-success-icon{width:76px;height:76px;margin:0 auto 20px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;font-size:42px;font-weight:900;box-shadow:0 16px 36px #22c55e52}.receipt-card h1{margin:0;font-size:36px;color:#0f172a}.receipt-subtitle{margin:14px auto 24px;color:#64748b;max-width:460px;line-height:1.7}.receipt-info-box{margin:26px 0;display:grid;gap:14px;text-align:left}.receipt-info-box div{padding:18px 20px;border-radius:20px;background:#f8fafc;border:1px solid #e2e8f0}.receipt-info-box span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;margin-bottom:6px}.receipt-info-box strong{color:#111827;font-size:16px}.receipt-status{color:#15803d!important}.receipt-note{padding:16px;border-radius:18px;background:#ede9fe;color:#5b21b6;font-weight:800;line-height:1.6}.receipt-actions{margin-top:26px;display:flex;gap:14px;justify-content:center}.receipt-download-btn,.receipt-home-btn{text-decoration:none;border-radius:18px;padding:15px 22px;font-weight:900}.receipt-download-btn{background:linear-gradient(135deg,#7741be,#6d28d9);color:#fff;box-shadow:0 16px 38px #7741be47}.receipt-home-btn{background:#e5e7eb;color:#111827}@media(max-width:600px){.receipt-actions{flex-direction:column}}
