
*{box-sizing:border-box}
:root{--navy:#17324f;--blue:#1769aa;--blue-soft:#eaf4fc;--ink:#1c2b3a;--muted:#68798b;--line:#e2eaf1;--page:#f3f7fb;--white:#fff;--gold:#f2ad16;--shadow:0 8px 26px rgba(26,55,84,.07);--radius:16px}
html{min-height:100%;scroll-behavior:smooth}
body{margin:0;background:var(--page);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.5}
a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}
.topbar{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}
.topbar-inner{max-width:1120px;min-height:68px;margin:auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.topbar-inner>strong{font-size:18px;color:var(--navy);display:flex;align-items:center;gap:10px}
.topbar-inner>strong:before{content:"SC";width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#1b75bb,#124f82);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:800}
.topbar-inner>div{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px;flex-wrap:wrap}.topbar-inner>div strong{color:var(--navy)}.separator{color:#bdc8d3;padding:0 3px}
.container{width:min(100% - 40px,1000px);margin:34px auto 64px}
h1{margin:0 0 7px;color:var(--navy);font-size:clamp(27px,4vw,34px);line-height:1.2;letter-spacing:-.6px}
.intro{margin:0 0 25px;color:var(--muted);font-size:15px;line-height:1.65}
.section-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:27px 30px;margin:22px 0;box-shadow:var(--shadow)}
.section-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:22px}.section-heading h2{margin:0 0 5px;color:var(--navy);font-size:21px;line-height:1.3}.section-heading p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.55}
.section-number{flex:0 0 38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--blue-soft);color:var(--blue);font-size:15px;font-weight:800}
.team-rating{border:1px solid var(--line);border-radius:13px;padding:17px 19px;margin:13px 0;background:#fff;transition:border-color .18s,box-shadow .18s}.team-rating:focus-within{border-color:#a8cbe7;box-shadow:0 0 0 3px rgba(23,105,170,.07)}
.team-title{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.team-title h3{margin:0;color:#203c59;font-size:17px;font-weight:700}.team-title span{color:var(--muted);font-size:12.5px}
.rating-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:13px;margin-top:12px;border-top:1px solid #edf1f5}.rating-label{font-size:13.5px;font-weight:650;color:#40556a}
.stars{display:flex;justify-content:flex-start;align-items:center;gap:7px}.star-option{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;margin:0;padding:2px;border-radius:8px;min-width:37px;min-height:39px;-webkit-tap-highlight-color:transparent}
.star-option input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.star-option span{position:relative;pointer-events:none;display:inline-block;color:#cbd5df;font-size:35px;line-height:1;transition:color .12s,transform .12s;user-select:none}
.star-option.selected span{color:var(--gold)}.star-option:hover span{transform:scale(1.12)}.star-option:focus-within{outline:2px solid var(--blue);outline-offset:1px}
.field-label,label{display:block;font-weight:650;font-size:13.5px;color:#344b61;margin-bottom:7px}
textarea,input[type=text],input[type=password],select{width:100%;border:1px solid #ccd8e3;border-radius:9px;padding:12px 13px;font:inherit;color:var(--ink);background:#fff;transition:border-color .15s,box-shadow .15s}
textarea:focus,input[type=text]:focus,input[type=password]:focus,select:focus{outline:0;border-color:#6ca7d4;box-shadow:0 0 0 3px rgba(23,105,170,.1)}
textarea{resize:vertical;margin-top:8px;min-height:90px}
.dish-row{display:flex;gap:14px;padding:17px 0;border-bottom:1px solid #edf1f5}.dish-row:last-of-type{border-bottom:0}
.dish-number{width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-weight:800}
.dish-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;flex:1;min-width:0}.dish-fields select{min-height:46px}
.hint,.small{color:var(--muted);font-size:12.5px;line-height:1.6}.hint{margin:13px 0 0}
.submit-area{display:flex;justify-content:flex-end;margin-top:25px}
.btn{border:0;border-radius:10px;padding:14px 24px;font-size:14.5px;font-weight:750;cursor:pointer;transition:background .15s,transform .15s,box-shadow .15s}
.btn.primary{color:#fff;background:linear-gradient(135deg,#1977bd,#14578e);box-shadow:0 5px 13px rgba(23,105,170,.2)}.btn.primary:hover{background:linear-gradient(135deg,#1468a8,#104b7b);transform:translateY(-1px);box-shadow:0 7px 16px rgba(23,105,170,.24)}
.btn:focus-visible{outline:3px solid rgba(23,105,170,.25);outline-offset:3px}.submit-btn{min-width:205px}
.alert{padding:13px 16px;border-radius:10px;margin:15px 0;line-height:1.55;font-size:13.5px}.alert.error{color:#8e2525;background:#fff0f0;border:1px solid #f2caca}.alert.success{color:#17633a;background:#edf9f1;border:1px solid #cbe9d5}.alert.info{color:#164d78;background:#edf6ff;border:1px solid #c9e2f7}.alert.warning{color:#76520a;background:#fff8e8;border:1px solid #f0dfb5}
.login-page{min-height:100vh;display:grid;place-items:center;padding:22px;background:radial-gradient(ellipse at top,#e7f3fc 0%,#f3f7fb 55%)}
.login-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:36px 34px;width:min(100%,440px);text-align:center;box-shadow:0 14px 42px rgba(20,45,75,.1)}
.brand-mark{width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#1977bd,#124f82);color:#fff;font-weight:800;font-size:18px;margin:0 auto 18px;box-shadow:0 7px 16px rgba(23,105,170,.2)}
.login-card h1{font-size:27px;margin-bottom:7px}.muted{color:var(--muted);margin:0 0 24px}.login-card form{text-align:left}.login-card input{margin-bottom:18px;min-height:46px}.full{width:100%;margin-top:7px}
@media(max-width:700px){.topbar-inner{min-height:60px;padding:10px 15px;align-items:flex-start;flex-direction:column;gap:7px}.topbar-inner>strong{font-size:16px}.topbar-inner>strong:before{width:31px;height:31px;border-radius:9px}.topbar-inner>div{font-size:12px}.container{width:calc(100% - 24px);margin:22px auto 35px}h1{font-size:26px}.intro{font-size:13.5px;margin-bottom:19px}.section-card{padding:18px 15px;margin:15px 0;border-radius:13px}.section-heading{gap:11px;margin-bottom:17px}.section-number{flex-basis:34px;height:34px;border-radius:10px}.section-heading h2{font-size:18px}.section-heading p{font-size:12.5px}.team-rating{padding:14px 12px;margin:10px 0;border-radius:11px}.team-title{display:block}.team-title h3{font-size:16px}.team-title span{display:block;margin-top:3px}.rating-row{align-items:flex-start;flex-direction:column;gap:8px}.rating-label{font-size:13px}.stars{gap:6px}.star-option{min-width:39px;min-height:42px;padding:2px}.star-option span{font-size:35px}.dish-row{gap:10px;align-items:flex-start;padding:14px 0}.dish-number{width:30px;height:30px;flex-basis:30px}.dish-fields{grid-template-columns:1fr;gap:12px}.dish-fields select,textarea{min-height:46px;font-size:16px}.submit-area{position:sticky;bottom:0;z-index:5;margin:18px -3px 0;padding:10px 3px max(10px,env(safe-area-inset-bottom));background:rgba(243,247,251,.96);backdrop-filter:blur(8px)}.submit-btn{width:100%;min-height:50px}.login-card{padding:28px 21px}}
@media(max-width:360px){.container{width:calc(100% - 18px)}.section-card{padding:15px 11px}.stars{gap:3px}.star-option{min-width:36px}.star-option span{font-size:32px}}
@media(min-width:701px) and (max-width:900px){.container{width:calc(100% - 36px)}.section-card{padding:23px}}

/* ADMINISTRATOR ACCESS AND RESULTS DASHBOARD */
.employee-admin-link{display:inline-block;margin-top:22px;color:#6b7d90;font-size:12.5px;font-weight:650}.employee-admin-link:hover{color:var(--blue)}
.admin-login-page{background:radial-gradient(ellipse at top,#e5f2fc 0%,#f3f7fb 58%)}
.admin-login-card{position:relative;overflow:hidden}.admin-login-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#1769aa,#65a9d8,#e5a000)}
.admin-emblem{width:58px;height:58px;margin:0 auto 15px;border-radius:17px;background:linear-gradient(145deg,#1977bd,#124f82);display:grid;place-items:center;box-shadow:0 8px 18px rgba(23,105,170,.22)}.admin-emblem span{color:#fff;font-size:15px;font-weight:850;letter-spacing:.5px}
.admin-eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#3978a8;margin-bottom:8px}.admin-login-card h1{font-size:25px}.admin-back-link{display:inline-block;margin-top:22px;color:#6c7d8d;font-size:12.5px;font-weight:650}
.admin-page{min-height:100vh;background:#f3f7fb;color:#23384e}.admin-topbar{background:#fff;border-bottom:1px solid #e3eaf1}.admin-topbar-inner{max-width:1200px;min-height:72px;margin:auto;padding:11px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px}.admin-brand{display:flex;align-items:center;gap:11px;color:#17324f}.admin-brand:hover{text-decoration:none}.admin-brand-mark{width:39px;height:39px;border-radius:12px;background:linear-gradient(135deg,#1977bd,#124f82);display:grid;place-items:center;color:#fff;font-size:13px;font-weight:850}.admin-brand strong,.admin-brand small{display:block}.admin-brand strong{font-size:16px}.admin-brand small{font-size:11px;color:#8190a0;margin-top:2px}.admin-user{display:flex;align-items:center;gap:17px;font-size:12px;color:#718195}.admin-user strong{color:#2a4159}.admin-user a{font-weight:700;color:#1769aa}
.admin-container{width:min(100% - 40px,1120px);margin:34px auto 55px}.admin-welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.admin-welcome .admin-eyebrow{margin-bottom:7px}.admin-welcome h1{font-size:30px;margin:0 0 6px}.admin-welcome p{margin:0;color:#748397;font-size:13.5px}.voting-status{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:30px;font-size:12px;font-weight:750;white-space:nowrap}.voting-status i{width:8px;height:8px;border-radius:50%;background:currentColor}.voting-status.is-open{background:#e9f7ef;color:#21824c}.voting-status.is-closed{background:#fff2e9;color:#a65b23}
.admin-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:19px}.metric-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e4ebf2;border-radius:15px;padding:19px;box-shadow:0 5px 18px rgba(28,55,86,.035);min-width:0}.metric-icon{width:43px;height:43px;flex:0 0 43px;border-radius:13px;display:grid;place-items:center;font-size:19px}.metric-icon.blue{background:#eaf4fc;color:#1769aa}.metric-icon.gold{background:#fff6df;color:#bd8510}.metric-icon.green{background:#eaf7ef;color:#268452}.metric-card small,.metric-card span{display:block;color:#7a8999;font-size:11.5px}.metric-card strong{display:block;color:#1d3854;font-size:24px;line-height:1.35;margin:2px 0}.metric-card strong em{font-style:normal;font-size:15px;color:#8b99a8;font-weight:600}.metric-card div>span{font-size:11px}
.admin-panel{background:#fff;border:1px solid #e3eaf1;border-radius:16px;padding:22px 23px;margin:17px 0;box-shadow:0 5px 18px rgba(28,55,86,.035)}.admin-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.panel-kicker{font-size:9.5px;letter-spacing:1.25px;color:#4282ae;font-weight:850}.admin-panel-heading h2{margin:4px 0 4px;color:#1c3854;font-size:19px}.admin-panel-heading p{margin:0;color:#8190a0;font-size:11.5px;line-height:1.5}.admin-export{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border:1px solid #cfe0ed;border-radius:9px;color:#1769aa;font-size:12px;font-weight:750;white-space:nowrap}.admin-export:hover{background:#f1f7fc;text-decoration:none}.admin-table-wrap{width:100%;overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}.admin-table th{padding:11px 10px;text-align:left;background:#f5f8fb;color:#728397;font-size:10px;letter-spacing:.25px;font-weight:800;border-bottom:1px solid #e6edf3}.admin-table td{padding:12px 10px;border-bottom:1px solid #edf1f5;color:#526579}.admin-table tbody tr:last-child td{border-bottom:0}.admin-table td strong{color:#2b435b}.rank-pill{display:inline-grid;place-items:center;width:29px;height:25px;border-radius:8px;background:#f0f4f8;color:#63778a;font-weight:800}.rank-pill.top-rank{background:#fff3d4;color:#a87912}.rating-score{color:#bd8510;font-weight:800}.record-count{font-size:11px;color:#718399;background:#f1f5f8;border-radius:20px;padding:6px 10px;white-space:nowrap}.admin-empty{padding:26px 15px;text-align:center;background:#f7f9fb;border:1px dashed #dce5ed;border-radius:11px;color:#8492a0;font-size:12.5px}.dish-results-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dish-result-row{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #e9eef3;border-radius:11px;min-width:0}.dish-result-rank{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:9px;background:#edf5fb;color:#2876aa;font-size:12px;font-weight:850}.dish-result-info{min-width:0;flex:1}.dish-result-info strong,.dish-result-info small,.dish-result-count strong,.dish-result-count small{display:block}.dish-result-info strong{font-size:12.5px;color:#2b435b;overflow:hidden;text-overflow:ellipsis}.dish-result-info small{font-size:10.5px;color:#8492a0;margin-top:2px}.dish-result-count{text-align:right}.dish-result-count strong{font-size:16px;color:#1e6b9f}.dish-result-count small{font-size:9.5px;color:#8492a0}.admin-note{padding:13px 15px;border-left:3px solid #7eafd2;background:#eaf3fa;border-radius:0 9px 9px 0;color:#58728a;font-size:11.5px;line-height:1.6}.admin-note strong{color:#315a78}.admin-footer{text-align:center;color:#9aa6b2;font-size:10.5px;margin-top:24px}
@media(max-width:760px){.admin-topbar-inner{padding:10px 15px;align-items:flex-start}.admin-user{flex-direction:column;align-items:flex-end;gap:5px}.admin-container{width:calc(100% - 24px);margin:22px auto 35px}.admin-welcome{align-items:flex-start;flex-direction:column}.admin-welcome h1{font-size:26px}.admin-metrics{grid-template-columns:1fr;gap:10px}.metric-card{padding:14px}.metric-card strong{font-size:21px}.admin-panel{padding:17px 13px;border-radius:13px}.admin-panel-heading{align-items:flex-start}.admin-panel-heading h2{font-size:17px}.dish-results-list{grid-template-columns:1fr}.admin-table{font-size:11px}.admin-table th,.admin-table td{padding:10px 8px}}
@media(max-width:420px){.admin-brand strong{font-size:14px}.admin-brand small{font-size:10px}.admin-user span{max-width:145px;text-align:right}.admin-panel-heading{flex-direction:column}.admin-export{align-self:flex-start}}

/* EMPLOYEE VOTING SCREEN – compact SupplyCo app-style refresh */
.topbar{background:linear-gradient(110deg,#087e78 0%,#116f83 52%,#155c91 100%);border:0;box-shadow:0 3px 12px rgba(13,73,89,.16)}
.topbar-inner{max-width:1120px;min-height:66px;padding:9px 22px;color:#fff}
.employee-brand{display:flex;align-items:center;gap:11px;color:#fff;min-width:0}
.employee-brand:hover{text-decoration:none}
.employee-brand-mark{width:62px;height:44px;flex:0 0 62px;border-radius:12px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.22);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:900;line-height:1.05;letter-spacing:.15px}
.employee-brand-mark small{font-size:10px;margin-top:2px}
.employee-brand-name{font-size:17px;font-weight:800;letter-spacing:-.2px;color:#fff}
.employee-account{display:flex;align-items:center;gap:9px;color:rgba(255,255,255,.82);font-size:12px;white-space:nowrap}
.employee-account strong{color:#fff;font-size:12.5px}
.employee-account .separator{color:rgba(255,255,255,.4)}
.employee-account a{color:#fff;font-weight:700}
.employee-account a span{font-size:11px;margin-left:2px}
.container{width:min(100% - 36px,980px);margin:24px auto 48px}
.voting-hero{position:relative;display:flex;align-items:center;gap:17px;overflow:hidden;padding:20px 23px;margin-bottom:15px;border:1px solid #d6e9f8;border-radius:17px;background:linear-gradient(110deg,#e8f4fd 0%,#f4f9fe 65%,#e5f3f7 100%)}
.hero-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:15px;background:#d5eafa;color:#1676b5;font-size:27px;font-weight:800}
.hero-copy{position:relative;z-index:1;min-width:0}
.hero-kicker{display:block;margin-bottom:3px;color:#2582ad;font-size:9px;font-weight:850;letter-spacing:1.35px}
.voting-hero h1{font-size:clamp(23px,3vw,29px);margin:0 0 4px;letter-spacing:-.65px}
.voting-hero .intro{font-size:13px;margin:0;line-height:1.5;color:#61778d}
.hero-art{margin-left:auto;padding:0 9px;color:#287e9b;font-size:46px;opacity:.85;transform:rotate(-8deg)}
.alert{margin:11px 0;padding:11px 14px;border-radius:12px;font-size:12.5px;line-height:1.55}
.alert.success{background:#eef9f2;border-color:#cfeedd;color:#176b43}
.alert.info{background:#edf6ff;border-color:#d0e6fa;color:#185b8b}
.alert.warning{background:#fff8e9;border-color:#f2e1b8;color:#805b12}
.section-card{padding:20px 22px;margin:15px 0;border-radius:17px;box-shadow:0 5px 20px rgba(29,65,96,.045)}
.section-heading{align-items:center;gap:12px;margin-bottom:15px}
.section-heading h2{font-size:19px;margin:0 0 2px}
.section-heading p{font-size:12px}
.section-number{width:36px;flex-basis:36px;height:36px;border-radius:12px}
.section-icon{font-size:18px}
.dish-section-icon{background:#fff0f2;color:#df4963;font-size:18px}
.selection-limit{margin-left:auto;padding:5px 9px;border-radius:20px;background:#fff2f3;color:#c54a5d;font-size:9px;font-weight:850;letter-spacing:.45px;white-space:nowrap}
.team-rating{display:flex;align-items:center;gap:12px;padding:12px 14px;margin:9px 0;border-radius:13px;background:#fff}
.team-number{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:10px;background:#eaf4fc;color:#1769aa;font-size:13px;font-weight:850}
.team-rating-content{flex:1;min-width:0}
.team-title{align-items:center;gap:9px}
.team-title h3{font-size:14.5px;white-space:nowrap}
.team-title span{font-size:11.5px;line-height:1.35}
.rating-row{align-items:center;padding-top:8px;margin-top:7px;gap:10px}
.rating-label{font-size:11.5px;color:#68798b}
.stars{gap:4px}
.star-option{min-width:34px;min-height:34px;padding:1px}
.star-option span{font-size:29px}
.field-label,label{font-size:12px}
textarea{min-height:68px;margin-top:5px;padding:10px 12px;font-size:13px}
.dish-row{gap:11px;padding:12px 0}
.dish-number{width:29px;height:29px;flex-basis:29px;border-radius:9px;font-size:12px}
.dish-fields{gap:12px}
.dish-fields select{min-height:41px;padding:9px 11px;font-size:13px}
.dish-fields label{margin-bottom:5px;font-size:11.5px}
.hint{font-size:11.5px;margin-top:9px}
.submit-area{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:17px}
.submit-btn{width:min(100%,420px);min-height:49px;border-radius:12px;font-size:14px;letter-spacing:.1px}
.submit-btn span{display:inline-grid;place-items:center;width:21px;height:21px;margin-right:7px;border-radius:7px;background:rgba(255,255,255,.17);font-size:15px}
.submit-note{margin:0;color:#8090a0;font-size:10.5px;text-align:center}
@media(max-width:700px){
 .topbar-inner{min-height:60px;padding:8px 13px;flex-direction:row;align-items:center;gap:8px}
 .employee-brand{gap:8px}
.brand-mark {
    width: 110px !important;
    height: 55px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important;
    font-size: 19px !important;
}
 
 .employee-brand-name{font-size:14px;line-height:1.2}
 .employee-account{gap:5px;font-size:10px}
 .employee-account strong{font-size:10.5px}
 .employee-account .separator{padding:0 1px}
 .employee-account a{font-size:10.5px}
 .container{width:calc(100% - 22px);margin:13px auto 28px}
 .voting-hero{gap:10px;padding:14px 13px;margin-bottom:11px;border-radius:14px}
 .hero-icon{width:37px;height:37px;flex-basis:37px;border-radius:11px;font-size:21px}
 .hero-kicker{font-size:8px;letter-spacing:1px}
 .voting-hero h1{font-size:21px;margin-bottom:3px}
 .voting-hero .intro{font-size:11.5px;line-height:1.4;max-width:290px}
 .hero-art{font-size:32px;padding:0 1px}
 .alert{padding:10px 11px;margin:9px 0;border-radius:10px;font-size:11px}
 .section-card{padding:14px 12px;margin:11px 0;border-radius:14px}
 .section-heading{gap:9px;margin-bottom:11px}
 .section-heading h2{font-size:16px}
 .section-heading p{font-size:10.5px;line-height:1.4}
 .section-number{width:31px;height:31px;flex-basis:31px;border-radius:9px}
 .team-rating{gap:8px;padding:10px 9px;margin:8px 0;border-radius:11px}
 .team-number{width:27px;height:27px;flex-basis:27px;border-radius:8px;font-size:11px}
 .team-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 7px}
 .team-title h3{font-size:13px}
 .team-title span{display:inline;font-size:10px;margin:0}
 .rating-row{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:5px;padding-top:6px;margin-top:5px}
 .rating-label{font-size:10px;white-space:nowrap}
 .stars{gap:2px;flex:0 0 auto}
 .star-option{min-width:29px;min-height:31px;padding:0}
 .star-option span{font-size:25px}
 .dish-row{gap:8px;padding:10px 0}
 .dish-number{width:26px;height:26px;flex-basis:26px}
 .dish-fields{grid-template-columns:1fr;gap:8px}
 .dish-fields select{min-height:39px;font-size:14px;padding:8px 10px}
 .dish-fields label{font-size:10.5px;margin-bottom:4px}
 .hint{font-size:10.5px;line-height:1.5}
 .submit-area{position:sticky;bottom:0;z-index:5;margin:12px -2px 0;padding:8px 2px max(8px,env(safe-area-inset-bottom));background:rgba(243,247,251,.96);backdrop-filter:blur(9px)}
 .submit-btn{width:100%;min-height:47px}
 .submit-note{font-size:9.5px}
}
@media(max-width:370px){
 .employee-brand-name{font-size:12.5px}
 .employee-account{font-size:9px;gap:4px}
 .employee-account strong,.employee-account a{font-size:9.5px}
 .hero-art{display:none}
 .team-rating{gap:6px;padding:9px 7px}
 .team-title span{font-size:9.5px}
 .rating-label{font-size:9px}
 .star-option{min-width:26px;min-height:29px}
 .star-option span{font-size:23px}
}

/* ==========================================================
   EMPLOYEE VOTING PAGE – FINAL RESPONSIVE PRESENTATION
   This block intentionally overrides earlier experimental
   styles so there is one consistent, readable layout.
   ========================================================== */
.employee-voting-page{background:#f3f7fb;color:#18324e;font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55}
.employee-voting-page .topbar{position:relative;background:linear-gradient(105deg,#087f79 0%,#0d7185 52%,#155f96 100%);box-shadow:0 3px 14px rgba(17,70,93,.16);border:0}
.employee-voting-page .topbar-inner{width:min(100% - 40px,1160px);max-width:1160px;min-height:76px;margin:0 auto;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:22px}
.employee-voting-page .employee-brand{display:flex;align-items:center;gap:13px;min-width:0;color:#fff;text-decoration:none}
.employee-voting-page .employee-brand-mark{width:66px;height:48px;flex:0 0 66px;border-radius:13px;border:1px solid rgba(255,255,255,.27);background:rgba(255,255,255,.15);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:850;line-height:1.05;letter-spacing:.2px}
.employee-voting-page .employee-brand-mark small{display:block;margin-top:3px;font-size:11px}
.employee-voting-page .employee-brand-name{font-size:19px;font-weight:800;letter-spacing:-.25px;line-height:1.2;color:#fff;white-space:nowrap}
.employee-voting-page .employee-account{display:flex;align-items:center;justify-content:flex-end;gap:13px;min-width:0;white-space:nowrap;color:#fff}
.employee-voting-page .employee-id{display:flex;align-items:center;gap:7px;font-size:12px}
.employee-voting-page .employee-id-label{color:rgba(255,255,255,.82);font-weight:500}
.employee-voting-page .employee-id strong{color:#fff;font-size:13px;font-weight:800;letter-spacing:.25px}
.employee-voting-page .account-divider{width:1px;height:21px;background:rgba(255,255,255,.38)}
.employee-voting-page .logout-link{display:inline-flex;align-items:center;gap:5px;color:#fff;font-size:13px;font-weight:750;text-decoration:none}
.employee-voting-page .logout-link:hover{text-decoration:underline}
.employee-voting-page .container{width:min(100% - 40px,1000px);max-width:1000px;margin:30px auto 58px;padding:0}
.employee-voting-page .voting-hero{display:flex;align-items:center;gap:17px;padding:23px 25px;margin:0 0 19px;border:1px solid #d9eaf7;border-radius:18px;background:linear-gradient(112deg,#e9f5fd 0%,#f5faff 58%,#e8f5f4 100%);box-shadow:0 4px 15px rgba(31,80,115,.035)}
.employee-voting-page .hero-icon{width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center;border-radius:15px;background:#d8ecfb;color:#1676b5;font-size:27px;font-weight:800}
.employee-voting-page .hero-copy{min-width:0}
.employee-voting-page .hero-kicker{display:block;margin:0 0 4px;color:#287da4;font-size:10px;font-weight:850;letter-spacing:1.5px}
.employee-voting-page .voting-hero h1{margin:0 0 5px;color:#173553;font-size:clamp(25px,3.2vw,31px);font-weight:800;line-height:1.2;letter-spacing:-.65px}
.employee-voting-page .voting-hero .intro{max-width:760px;margin:0;color:#627991;font-size:15px;line-height:1.55}
.employee-voting-page .alert{margin:13px 0;padding:15px 18px;border:1px solid transparent;border-radius:13px;font-size:14px;line-height:1.6}
.employee-voting-page .alert strong{display:block;margin-bottom:2px;font-size:14px;font-weight:800}
.employee-voting-page .alert p{margin:3px 0 0}
.employee-voting-page .alert.success{background:#eff9f3;border-color:#ccebd8;color:#176b43}
.employee-voting-page .alert.info{background:#edf6ff;border-color:#cfe5f8;color:#205b88}
.employee-voting-page .alert.warning{background:#fff8e9;border-color:#f0dfb7;color:#805b12}
.employee-voting-page .alert.error{background:#fff0f0;border-color:#f3d0d0;color:#9a3333}
.employee-voting-page .section-card{margin:18px 0;padding:24px 25px;border:1px solid #e0e9f1;border-radius:18px;background:#fff;box-shadow:0 6px 22px rgba(28,61,91,.055)}
.employee-voting-page .section-heading{display:flex;align-items:center;gap:13px;margin:0 0 18px}
.employee-voting-page .section-icon{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:13px;background:#e8f3fc;color:#176fa9;font-size:21px;font-weight:800}
.employee-voting-page .section-heading h2{margin:0 0 3px;color:#1b3857;font-size:21px;font-weight:800;line-height:1.25;letter-spacing:-.25px}
.employee-voting-page .section-heading p{margin:0;color:#6c8095;font-size:13.5px;line-height:1.45}
.employee-voting-page .dish-section-icon{background:#fff0f2;color:#d94d68}
.employee-voting-page .selection-limit,.employee-voting-page .optional-tag{margin-left:auto;padding:6px 11px;border-radius:30px;background:#fff1f3;color:#bf4b60;font-size:10px;font-weight:850;letter-spacing:.55px;white-space:nowrap}
.employee-voting-page .optional-tag{background:#edf5fb;color:#4b7391}
.employee-voting-page .team-list{display:grid;gap:12px}
.employee-voting-page .team-rating{display:block;margin:0;padding:17px 19px;border:1px solid #e1eaf2;border-radius:14px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
.employee-voting-page .team-rating:hover{border-color:#c8ddec;box-shadow:0 5px 16px rgba(25,94,139,.06)}
.employee-voting-page .team-rating-content{min-width:0}
.employee-voting-page .team-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;min-width:0}
.employee-voting-page .team-title h3{margin:0;color:#1c3b5b;font-size:17px;font-weight:800;line-height:1.35;white-space:normal}
.employee-voting-page .team-title span{color:#71859a;font-size:13px;line-height:1.45}
.employee-voting-page .rating-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:12px 0 0;padding:11px 0 0;border-top:1px solid #edf1f5}
.employee-voting-page .rating-label{color:#344c65;font-size:13.5px;font-weight:700;white-space:nowrap}
.employee-voting-page .stars{display:flex;align-items:center;gap:5px;flex:0 0 auto}
.employee-voting-page .star-option{position:relative;display:grid;place-items:center;width:43px;min-width:43px;height:43px;min-height:43px;padding:0;border-radius:9px;cursor:pointer;touch-action:manipulation}
.employee-voting-page .star-option input{position:absolute;width:1px;height:1px;opacity:0}
.employee-voting-page .star-option span[aria-hidden="true"]{display:block;color:#cbd5df;font-size:34px;line-height:1;transition:color .12s ease,transform .12s ease}
.employee-voting-page .star-option.selected span[aria-hidden="true"]{color:#f2a400}
.employee-voting-page .star-option:active span[aria-hidden="true"]{transform:scale(1.14)}
.employee-voting-page .star-option input:focus-visible+span{outline:3px solid #84bce4;outline-offset:3px;border-radius:4px}
.employee-voting-page .comments-field{margin-top:20px}
.employee-voting-page .field-label,.employee-voting-page .dish-fields label{display:block;margin:0 0 7px;color:#344c65;font-size:13px;font-weight:750}
.employee-voting-page textarea,.employee-voting-page .dish-fields select{width:100%;border:1px solid #d7e1ea;border-radius:10px;background:#fff;color:#233d57;font-family:inherit;font-size:14px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.employee-voting-page textarea{min-height:88px;padding:12px 14px;resize:vertical}
.employee-voting-page textarea:focus,.employee-voting-page .dish-fields select:focus{border-color:#70a9d2;box-shadow:0 0 0 3px rgba(42,125,184,.12)}
.employee-voting-page .dish-row{display:block;padding:15px 0;border-top:1px solid #edf1f5}
.employee-voting-page .dish-choice-label{margin-bottom:9px;color:#47718f;font-size:12px;font-weight:800;letter-spacing:.35px}
.employee-voting-page .dish-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.employee-voting-page .dish-fields select{min-height:47px;padding:10px 13px;font-size:14px}
.employee-voting-page .dish-fields select:disabled{background:#f5f7f9;color:#98a5b2}
.employee-voting-page .hint{margin:12px 0 0;color:#778a9d;font-size:12.5px;line-height:1.6}
.employee-voting-page .selfie-card .section-heading{margin-bottom:16px}
.employee-voting-page .selfie-section-icon{background:#e9f5f5;color:#0e827b;font-size:20px}
.employee-voting-page .upload-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:150px;padding:20px;border:2px dashed #bfd7e7;border-radius:14px;background:#f7fbfe;text-align:center;cursor:pointer;transition:border-color .15s ease,background .15s ease}
.employee-voting-page .upload-dropzone:hover{border-color:#5d9fc8;background:#f0f8fd}
.employee-voting-page .upload-symbol{display:grid;place-items:center;width:39px;height:39px;margin-bottom:2px;border-radius:12px;background:#e1f0fa;color:#1a78b3;font-size:27px;font-weight:400;line-height:1}
.employee-voting-page .upload-title{color:#294c68;font-size:14px;font-weight:800}
.employee-voting-page .upload-subtitle{color:#8092a3;font-size:12px}
.employee-voting-page .upload-dropzone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.employee-voting-page .saved-selfie-row,.employee-voting-page .selfie-preview{display:flex;align-items:center;gap:13px;margin:0 0 14px;padding:11px;border:1px solid #e0e9f0;border-radius:12px;background:#fbfdff}
.employee-voting-page .saved-selfie-thumb,.employee-voting-page .selfie-preview img{width:76px;height:76px;flex:0 0 76px;object-fit:cover;border-radius:9px;background:#edf2f6}
.employee-voting-page .saved-selfie-info,.employee-voting-page .preview-details{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
.employee-voting-page .saved-selfie-info strong,.employee-voting-page .preview-details strong{color:#304b65;font-size:13px}
.employee-voting-page .saved-selfie-info span,.employee-voting-page .preview-details span{color:#8191a1;font-size:11.5px;overflow-wrap:anywhere}
.employee-voting-page .remove-selfie{display:flex;align-items:center;gap:5px;color:#a24d4d;font-size:12px;font-weight:700;white-space:nowrap}
.employee-voting-page .remove-selfie input{width:16px;height:16px;accent-color:#b64e4e}
.employee-voting-page .text-button{align-self:flex-start;margin-top:4px;padding:0;border:0;background:none;color:#b34b55;font-size:12px;font-weight:750;cursor:pointer}
.employee-voting-page .selfie-hint{margin-top:10px}
.employee-voting-page .submit-area{display:flex;flex-direction:column;align-items:center;gap:8px;margin:22px 0 0;padding:0}
.employee-voting-page .submit-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:min(100%,460px);min-height:56px;padding:13px 24px;border:0;border-radius:13px;background:linear-gradient(105deg,#1679bb,#155b91);box-shadow:0 6px 15px rgba(20,99,154,.2);color:#fff;font-family:inherit;font-size:16px;font-weight:800;letter-spacing:.1px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.employee-voting-page .submit-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(20,99,154,.25)}
.employee-voting-page .submit-btn:active{transform:translateY(0)}
.employee-voting-page .submit-note{margin:0;color:#8292a2;font-size:12px;text-align:center}
.employee-voting-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.employee-voting-page .login-page{background:#f3f7fb}
@media(max-width:700px){
 .employee-voting-page .topbar-inner{width:calc(100% - 28px);min-height:0;padding:10px 0;display:flex;flex-wrap:wrap;gap:7px 12px}
 .employee-voting-page .employee-brand{gap:9px}
 .employee-voting-page .employee-brand-mark{width:56px;height:43px;flex-basis:56px;border-radius:11px;font-size:11px}
 .employee-voting-page .employee-brand-mark small{font-size:10px}
 .employee-voting-page .employee-brand-name{font-size:16px}
 .employee-voting-page .employee-account{width:100%;justify-content:flex-end;gap:9px;padding:3px 1px 1px}
 .employee-voting-page .employee-id{font-size:11.5px}
 .employee-voting-page .employee-id strong{font-size:12px}
 .employee-voting-page .logout-link{font-size:12px}
 .employee-voting-page .container{width:calc(100% - 26px);margin:18px auto 34px}
 .employee-voting-page .voting-hero{gap:12px;padding:17px 15px;margin-bottom:14px;border-radius:15px}
 .employee-voting-page .hero-icon{width:43px;height:43px;flex-basis:43px;border-radius:12px;font-size:23px}
 .employee-voting-page .hero-kicker{font-size:9px;letter-spacing:1.15px}
 .employee-voting-page .voting-hero h1{font-size:24px}
 .employee-voting-page .voting-hero .intro{font-size:13.5px;line-height:1.55}
 .employee-voting-page .alert{padding:13px 14px;font-size:13px}
 .employee-voting-page .alert strong{font-size:13.5px}
 .employee-voting-page .section-card{margin:14px 0;padding:19px 16px;border-radius:15px}
 .employee-voting-page .section-heading{gap:11px;margin-bottom:15px}
 .employee-voting-page .section-icon{width:39px;height:39px;flex-basis:39px;border-radius:11px;font-size:19px}
 .employee-voting-page .section-heading h2{font-size:19px}
 .employee-voting-page .section-heading p{font-size:12.5px}
 .employee-voting-page .team-rating{padding:15px 14px;border-radius:12px}
 .employee-voting-page .team-title h3{font-size:16px}
 .employee-voting-page .team-title span{font-size:12px}
 .employee-voting-page .rating-row{align-items:center;gap:8px;margin-top:10px;padding-top:9px}
 .employee-voting-page .rating-label{font-size:12px}
 .employee-voting-page .stars{gap:2px}
 .employee-voting-page .star-option{width:39px;min-width:39px;height:41px;min-height:41px}
 .employee-voting-page .star-option span[aria-hidden="true"]{font-size:31px}
 .employee-voting-page .dish-fields{grid-template-columns:1fr;gap:12px}
 .employee-voting-page .dish-fields select{min-height:48px;font-size:15px}
 .employee-voting-page .field-label,.employee-voting-page .dish-fields label{font-size:13px}
 .employee-voting-page .upload-dropzone{min-height:142px;padding:17px 12px}
 .employee-voting-page .submit-area{position:sticky;bottom:0;z-index:8;margin:16px -4px 0;padding:10px 4px max(10px,env(safe-area-inset-bottom));background:rgba(243,247,251,.96);backdrop-filter:blur(9px)}
 .employee-voting-page .submit-btn{width:100%;min-height:54px;font-size:15.5px}
}
@media(max-width:380px){
 .employee-voting-page .topbar-inner{width:calc(100% - 22px)}
 .employee-voting-page .employee-brand-name{font-size:14.5px}
 .employee-voting-page .employee-account{gap:7px}
 .employee-voting-page .container{width:calc(100% - 20px)}
 .employee-voting-page .section-card{padding:16px 12px}
 .employee-voting-page .rating-row{align-items:flex-start;flex-direction:column;gap:5px}
 .employee-voting-page .stars{gap:4px}
 .employee-voting-page .star-option{width:40px;min-width:40px}
 .employee-voting-page .star-option span[aria-hidden="true"]{font-size:32px}
 .employee-voting-page .saved-selfie-row,.employee-voting-page .selfie-preview{flex-wrap:wrap}
}

/* FINAL FOODIE MOMENT + HEADER ALIGNMENT OVERRIDES */
.employee-voting-page .topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}
.employee-voting-page .employee-account{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:18px;text-align:right}
.employee-voting-page .employee-id{justify-content:flex-end;text-align:right}
.employee-voting-page .logout-link{margin-left:2px;white-space:nowrap}
.employee-voting-page .required-tag{margin-left:auto;padding:6px 11px;border-radius:30px;background:#fff1e9;color:#b65b28;font-size:10px;font-weight:850;letter-spacing:.55px;white-space:nowrap}
.employee-voting-page .selfie-card{border-color:#dcebe9;background:linear-gradient(180deg,#fff 0%,#fcfefe 100%)}
.employee-voting-page .selfie-card .section-heading h2{color:#145d61}
.employee-voting-page .selfie-card .upload-dropzone{min-height:164px;border-color:#a9d5d0;background:linear-gradient(135deg,#f1fbf9,#f5faff)}
.employee-voting-page .selfie-card .upload-dropzone:hover{border-color:#16877e;background:#edf9f7}
.employee-voting-page .selfie-card .upload-symbol{background:#dff3ef;color:#087f79}
.employee-voting-page .selfie-card .upload-title{font-size:15px;color:#185d61}
.employee-voting-page .selfie-card .upload-subtitle{max-width:100%;padding:0 8px;line-height:1.5}
.employee-voting-page .saved-selfie-row{border-color:#cfe8e2;background:#f5fbf9}
.employee-voting-page .saved-selfie-thumb{border:2px solid #d4eae5}
.employee-voting-page .submit-area{padding-bottom:8px}
.employee-voting-page .submit-btn{min-height:54px;width:min(100%,390px);border-radius:12px;font-size:15px}
.employee-voting-page .submit-note{font-size:12px;line-height:1.5}
@media(max-width:700px){
 .employee-voting-page .topbar-inner{width:calc(100% - 28px);min-height:0;padding:10px 0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 .employee-voting-page .employee-brand{min-width:0;gap:10px}
 .employee-voting-page .employee-brand-mark{width:59px;height:43px;flex-basis:59px;font-size:11px}
 .employee-voting-page .employee-brand-name{font-size:16px;white-space:normal}
 .employee-voting-page .employee-account{width:100%;margin:0;display:flex;justify-content:flex-end;gap:13px;padding:2px 1px 0}
 .employee-voting-page .employee-id{display:flex;gap:6px;font-size:11px}
 .employee-voting-page .employee-id strong{font-size:12px}
 .employee-voting-page .logout-link{font-size:12px}
 .employee-voting-page .container{width:calc(100% - 26px);margin:18px auto 34px}
 .employee-voting-page .voting-hero{align-items:flex-start;padding:19px 16px}
 .employee-voting-page .voting-hero h1{font-size:25px}
 .employee-voting-page .section-card{padding:20px 16px}
 .employee-voting-page .rating-row{align-items:flex-start;flex-direction:column;gap:7px}
 .employee-voting-page .stars{gap:4px}
 .employee-voting-page .star-option{width:42px;min-width:42px;height:43px;min-height:43px}
 .employee-voting-page .star-option span[aria-hidden="true"]{font-size:34px}
 .employee-voting-page .required-tag{padding:5px 8px;font-size:9px}
 .employee-voting-page .selfie-card .upload-dropzone{min-height:150px;padding:18px 12px}
 .employee-voting-page .submit-area{position:sticky;bottom:0;z-index:8;margin:17px -5px 0;padding:10px 5px max(10px,env(safe-area-inset-bottom));background:rgba(243,247,251,.97);backdrop-filter:blur(9px)}
 .employee-voting-page .submit-btn{width:100%;min-height:52px;font-size:15px}
}
@media(max-width:380px){
 .employee-voting-page .topbar-inner{width:calc(100% - 24px)}
 .employee-voting-page .employee-brand-name{font-size:15px}
 .employee-voting-page .employee-account{gap:11px}
 .employee-voting-page .employee-id{font-size:10.5px}
 .employee-voting-page .employee-id strong{font-size:11.5px}
 .employee-voting-page .container{width:calc(100% - 22px)}
 .employee-voting-page .section-card{padding:18px 13px}
 .employee-voting-page .stars{gap:2px}
 .employee-voting-page .star-option{width:40px;min-width:40px}
}

/* ==========================================================
   SWAD 2026 – MOBILE TEAM RATING LAYOUT OVERRIDE
   Team name + participant on first line; stars below.
   Submit button stays at the end of the form (not sticky).
   ========================================================== */
@media screen and (max-width: 700px) {
    body.employee-voting-page .team-rating-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    body.employee-voting-page .team-title {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        justify-content: flex-start !important;
        width: 100% !important;
        gap: 3px 7px !important;
    }

    body.employee-voting-page .team-title h3,
    body.employee-voting-page .team-title span {
        display: inline !important;
        margin: 0 !important;
    }

    body.employee-voting-page .rating-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        margin: 7px 0 0 !important;
        padding: 0 !important;
        gap: 0 !important;
        border: 0 !important;
    }

    body.employee-voting-page .rating-label {
        display: none !important;
    }

    body.employee-voting-page .stars {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 0 0 auto !important;
        gap: 4px !important;
    }

    /* Keep the submit button after all form sections. */
    body.employee-voting-page .submit-area {
        position: static !important;
        inset: auto !important;
        z-index: auto !important;
        margin: 20px 0 0 !important;
        padding: 0 0 12px !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* FIX: Mobile login page alignment when voting period is displayed */

.login-page {
    overflow-x: hidden;
}

.login-card,
.login-card * {
    box-sizing: border-box;
}

.login-card {
    width: calc(100% - 24px);
    max-width: 470px;
    margin-left: auto;
    margin-right: auto;
}

.login-card input,
.login-card button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Voting period */
.login-voting-period {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 14px 8px;
}

.login-voting-period-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
}

.login-voting-period-details .date-time {
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
}

.login-voting-period-details .period-arrow {
    flex: 0 0 auto;
    font-size: 16px;
}

@media (max-width: 360px) {
    .login-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .login-voting-period-details .date-time {
        font-size: 11px;
    }
}



/* FINAL LOGIN PAGE RESPONSIVE FIX – SWAD 2026 */
html, body { max-width:100%; overflow-x:hidden; }

.login-page {
    min-height:100vh;
    min-height:100dvh;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px 14px;
    overflow-x:hidden;
}

.login-page .login-card {
    display:block;
    width:100%;
    max-width:470px;
    min-width:0;
    margin:0 auto;
    padding:36px 34px;
    text-align:center;
    box-sizing:border-box;
}

.login-page .login-card > *,
.login-page .login-card form {
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
}

.login-page .login-card h1 {
    overflow-wrap:anywhere;
    line-height:1.25;
}

.login-page .login-card form { width:100%; text-align:left; }

.login-page .login-card input,
.login-page .login-card button {
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
}

.login-page .login-voting-period {
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    margin:0 0 22px;
    padding:14px 12px;
    border:1px solid #cfe5f5;
    border-radius:13px;
    background:#eaf5fb;
    color:#17466a;
    text-align:center;
    overflow:hidden;
    box-sizing:border-box;
}

.login-page .login-voting-period strong {
    display:block;
    margin:0 0 9px;
    font-size:15px;
    line-height:1.4;
}

.login-page .login-voting-period span {
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    font-size:13px;
    font-weight:650;
    line-height:1.6;
    text-align:center;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:normal;
}

.login-page .employee-admin-link {
    display:inline-block;
    max-width:100%;
    line-height:1.5;
    overflow-wrap:anywhere;
}

@media (max-width:600px) {
    .login-page { align-items:flex-start; padding:20px 12px; }
    .login-page .login-card {
        width:100%;
        max-width:440px;
        padding:28px 20px;
        border-radius:17px;
    }
    .login-page .brand-mark { width:54px; height:54px; margin-bottom:14px; }
    .login-page .login-card h1 { font-size:clamp(22px,6vw,27px); }
    .login-page .muted { margin-bottom:20px; }
    .login-page .login-voting-period { padding:13px 10px; margin-bottom:20px; }
    .login-page .login-voting-period span { font-size:12.5px; }
}

@media (max-width:360px) {
    .login-page { padding:14px 9px; }
    .login-page .login-card { padding:24px 15px; }
    .login-page .login-voting-period { padding:12px 8px; }
    .login-page .login-voting-period span { font-size:11.5px; }
}


/* Foodie Moment crop and compression editor */
.crop-modal[hidden] { display: none !important; }
.crop-modal {
  position: fixed; inset: 0; z-index: 10000; display: flex;
  align-items: center; justify-content: center; padding: 16px;
  background: rgba(12, 20, 28, .72);
}
.crop-dialog {
  width: min(680px, 100%); max-height: 94vh; overflow: auto;
  background: #fff; color: #17212b; border-radius: 16px;
  padding: 18px; box-shadow: 0 18px 60px rgba(0,0,0,.28);
}
.crop-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.crop-dialog-header h2 { margin:0; font-size:1.2rem; }
.crop-close { border:0; background:#edf2f4; border-radius:50%; width:36px; height:36px; font-size:25px; cursor:pointer; }
.crop-help { color:#52616b; margin:10px 0 14px; }
.crop-image-wrap { width:100%; max-height:60vh; min-height:220px; background:#17212b; overflow:hidden; }
.crop-image-wrap img { display:block; max-width:100%; max-height:60vh; }
.crop-actions { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:16px; }
.crop-save { min-height:44px; }
.crop-processing { margin:12px 0 0; color:#087f79; font-weight:600; }
@media (max-width:520px) {
  .crop-modal { padding:8px; }
  .crop-dialog { padding:12px; max-height:96vh; }
  .crop-image-wrap { min-height:180px; max-height:55vh; }
  .crop-image-wrap img { max-height:55vh; }
  .crop-actions { flex-wrap:wrap; }
}

/* Separate camera and gallery actions for Android/Samsung browsers. */
.employee-voting-page .selfie-choice-buttons{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-top:12px}
.employee-voting-page .selfie-choice-buttons button{cursor:pointer}
@media(max-width:480px){.employee-voting-page .selfie-choice-buttons{flex-direction:column;width:100%}.employee-voting-page .selfie-choice-buttons button{width:100%}}
