/* Students Home - design only (no behaviour). Pop-up form fields + softer pop-up text. */
[id^="modal-"][id$="-title"]{font-weight:500!important;color:#202923!important}
[id^="modal-"][id$="-text"]{font-weight:400!important}
[id^="modal-"] button{font-weight:600!important}
.shx-f{display:block;margin-top:6px;font:500 14px "DM Sans",sans-serif;color:#202923}
.shx-f input,.shx-f select,.shx-f textarea{width:100%;margin-top:4px;padding:10px;border:1px solid #e5e9e3;border-radius:8px;font:400 15px "DM Sans",sans-serif;background:#fff;color:#202923;box-sizing:border-box}
.shx-f input:focus,.shx-f select:focus,.shx-f textarea:focus{outline:2px solid #f48c06;outline-offset:1px}
.shx-chk{display:flex;gap:8px;align-items:center;margin-top:8px;font:400 14px "DM Sans",sans-serif;color:#202923}
.shx-am{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.shx-am label{display:flex;gap:6px;align-items:center;border:1px solid #e5e9e3;border-radius:99px;padding:4px 10px;font:400 14px "DM Sans",sans-serif;color:#202923;cursor:pointer}
.shx-row{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
.shx-b{align-items:center;border-radius:9px;cursor:pointer;display:flex;font:600 14px "DM Sans",sans-serif;height:40px;padding:0 18px;border:1px solid #174d39;background:#174d39;color:#fff;justify-content:center}
.shx-b:hover{background:#0f3a2a}.shx-b.al{background:#fff;color:#174d39}.shx-b.al:hover{background:#e5f0e8}
#modal-newpost,#modal-newevent,#modal-editmsg,#modal-delsel,#modal-clearall{min-height:0;display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(32,41,35,.55);align-items:center;justify-content:center;padding:14px;box-sizing:border-box;z-index:3000;overflow:auto}
#modal-newpost-dialog,#modal-newevent-dialog,#modal-editmsg-dialog,#modal-delsel-dialog,#modal-clearall-dialog,#modal-newpost-done,#modal-newevent-done,#modal-editmsg-done,#modal-delsel-done,#modal-clearall-done{background:#fff;border-radius:16px;box-sizing:border-box;padding:22px;width:100%;max-width:520px;max-height:92vh;overflow:auto;flex-direction:column;row-gap:4px;box-shadow:0 20px 50px rgba(0,0,0,.25);font-family:"DM Sans",sans-serif;color:#202923}
#modal-newpost-dialog,#modal-newevent-dialog,#modal-editmsg-dialog,#modal-delsel-dialog,#modal-clearall-dialog{display:flex}
#modal-newpost-done,#modal-newevent-done,#modal-editmsg-done,#modal-delsel-done,#modal-clearall-done{display:none;align-items:flex-start;row-gap:10px}
.shx-t{font:500 20px Manrope,sans-serif;color:#202923;margin:0}.shx-s{font:400 14px "DM Sans",sans-serif;color:#718078;margin:0 0 6px}
/* Message chat (design only) */
.shx-cm-tag{display:flex;align-items:center;gap:8px;font:500 12px "DM Sans",sans-serif;color:#718078;margin:10px 0 2px;letter-spacing:.02em}
.shx-cm-tag::before{content:"";width:22px;height:2px;background:#f48c06;border-radius:2px;flex:none}
.shx-sep{display:flex;align-items:center;gap:10px;font:500 12px "DM Sans",sans-serif;color:#718078;margin:14px 0 4px;text-transform:uppercase;letter-spacing:.08em}
.shx-sep::before,.shx-sep::after{content:"";flex:1;height:1px;background:#e5e9e3}
.shx-bub{display:block;box-sizing:border-box;font:400 16px/24px "DM Sans",system-ui,sans-serif;padding:8px 12px;border-radius:12px;margin:6px 0;max-width:85%;background:#e5f0e8;color:#202923}
.shx-bub.me{background:#174d39;color:#fff;margin-left:auto}
.shx-bub.cm{box-shadow:inset 0 0 0 1.5px rgba(244,140,6,.7)}
.shx-bub small{display:block;font-size:13px;line-height:20px;opacity:.7}
.shx-act{display:flex;gap:6px;margin-top:6px}
.shx-act button{font:600 13px "DM Sans",sans-serif;border-radius:10px;padding:5px 12px;cursor:pointer;background:#fff;color:#174d39;border:1px solid #174d39}
.shx-act button:hover{background:#e5f0e8}.shx-act button.rd{color:#b3261e;border-color:#b3261e}.shx-act button.rd:hover{background:#fdeceb}
.shx-b.rd{background:#fff;color:#b3261e;border-color:#b3261e}.shx-b.rd:hover{background:#fdeceb}
/* Transaction history (designed, hidden). To show it: remove the "hidden" attribute on #wallet-tx-<role> and hide the "No transactions yet." line. */
.shx-tx[hidden]{display:none}
.shx-txw{overflow-x:auto;background:#fff;border:1px solid #e5e9e3;border-radius:14px}
.shx-tx table{width:100%;border-collapse:collapse;font:400 15px "DM Sans",sans-serif;color:#202923;min-width:520px}
.shx-tx th{text-align:left;font:500 13px "DM Sans",sans-serif;color:#718078;padding:12px 14px;border-bottom:1px solid #e5e9e3}
.shx-tx td{padding:12px 14px;border-bottom:1px solid #e5e9e3}.shx-tx tr:last-child td{border-bottom:0}
.shx-tx td.pos{color:#236b4e;font-weight:500}.shx-tx td.neg{color:#b3261e;font-weight:500}

/* ===== Students Home - wallet activation, unified notifications, broadcast actions (design only) ===== */
.shx-b.or{background:#f48c06;border-color:#f48c06;color:#1c1405}.shx-b.or:hover{background:#e07f00;border-color:#e07f00}
a.shx-b{text-decoration:none;box-sizing:border-box}
#modal-activate,#modal-learnmore,#modal-editbc,#modal-sharebc,#modal-delbc{min-height:0;display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(32,41,35,.55);align-items:center;justify-content:center;padding:14px;box-sizing:border-box;z-index:3000;overflow:auto}
#modal-activate-dialog,#modal-learnmore-dialog,#modal-editbc-dialog,#modal-sharebc-dialog,#modal-delbc-dialog,#modal-editbc-done,#modal-delbc-done{background:#fff;border-radius:16px;box-sizing:border-box;padding:22px;width:100%;max-width:520px;max-height:92vh;overflow:auto;flex-direction:column;row-gap:4px;box-shadow:0 20px 50px rgba(0,0,0,.25);font-family:"DM Sans",sans-serif;color:#202923}
#modal-activate-dialog,#modal-learnmore-dialog,#modal-editbc-dialog,#modal-sharebc-dialog,#modal-delbc-dialog{display:flex}
#modal-editbc-done,#modal-delbc-done{display:none;align-items:flex-start;row-gap:10px}
#modal-editbc-done img,#modal-delbc-done img{width:44px;height:44px}
.shx-fee{display:flex;justify-content:space-between;align-items:center;margin:10px 0 4px;padding:12px 14px;border:1px solid #e5e9e3;border-radius:12px;background:#f6f9f6;font:500 15px "DM Sans",sans-serif;color:#202923}.shx-fee b{font:700 20px Manrope,sans-serif;color:#174d39}
.shx-note{font:400 13px/20px "DM Sans",sans-serif;color:#718078;margin:6px 0 0}
.shx-sh{font:700 12px/16px "DM Sans",sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#718078;margin:14px 0 2px}
.shx-gets{margin:8px 0 4px;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.shx-gets li{display:flex;gap:12px;align-items:flex-start;font:400 15px/22px "DM Sans",sans-serif;color:#202923}
.shx-gets li::before{content:"\2713";flex:none;width:22px;height:22px;border-radius:50%;background:#e5f0e8;color:#174d39;font:700 13px/22px "DM Sans",sans-serif;text-align:center;margin-top:0}
.shx-gets li b{display:block;font-weight:700;color:#174d39}.shx-gets li span{display:block;color:#5d6b63}
/* Wallet activation overlay */
.shx-wlock{position:relative;min-height:480px}
.shx-wov{position:absolute;top:0;left:0;right:0;bottom:0;z-index:5;display:flex;align-items:flex-start;justify-content:center;padding:16px;box-sizing:border-box;background:rgba(246,249,246,.78);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border-radius:14px;overflow:auto}
.shx-wov[hidden]{display:none}
.shx-wloading{position:absolute;top:0;left:0;right:0;bottom:0;z-index:4;display:flex;align-items:flex-start;justify-content:center;padding:16px;box-sizing:border-box;background:rgba(246,249,246,.78);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border-radius:14px;overflow:auto}
.shx-wloading[hidden]{display:none}
.shx-wloading .shx-wlcard{width:min(100%,420px);background:#fff;border:1px solid #d7ddd9;border-radius:14px;padding:16px 14px;box-sizing:border-box;box-shadow:0 10px 28px rgba(0,0,0,.08);text-align:center}
.shx-wloading .shx-wlt{margin:0;font:600 16px/22px "DM Sans",sans-serif;color:#1f2a24}
.shx-wcard{width:100%;max-width:420px;margin:auto 0;box-sizing:border-box;background:#fff;border:1px solid #e5e9e3;border-radius:16px;padding:22px;text-align:left;box-shadow:0 1px 2px rgba(23,77,57,.05),0 12px 32px rgba(23,77,57,.14);font-family:"DM Sans",sans-serif}
.shx-wic{width:48px;height:48px;border-radius:50%;background:#e5f0e8;color:#174d39;display:flex;align-items:center;justify-content:center;margin:0 0 12px}
.shx-wt{font:700 22px/28px Manrope,sans-serif;color:#174d39;margin:0 0 6px}
.shx-wp{font:400 15px/22px "DM Sans",sans-serif;color:#718078;margin:0 0 14px}.shx-wp b{color:#202923;font-weight:700}
.shx-wcard .shx-gets{margin:0 0 16px;gap:10px}.shx-wcard .shx-gets li{font-size:14.5px;line-height:21px;align-items:center}
.shx-wb{display:flex;gap:8px;flex-wrap:wrap}.shx-wb .shx-b{flex:1 1 130px}
/* Notification panel: spacing, auto height, smooth scrolling, no collapsing rows */
[id^="ntf-panel"]{height:auto!important;max-height:min(78vh,560px)!important;overflow-x:hidden!important;overflow-y:auto!important;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-width:thin;box-sizing:border-box}
[id^="ntf-panel"]>*{flex:0 0 auto!important;min-height:0}
[id^="ntf-panel"] [id^="ntm6-"]{position:sticky;top:0;z-index:2;background:#fff;padding:14px 16px 12px!important}
[id^="ntf-panel"] [id^="ntf-item-"]{padding:14px 16px!important;column-gap:12px!important;height:auto!important;min-height:fit-content!important;overflow:visible!important}
[id^="ntf-panel"] [id^="ntf-item-"]>div:nth-child(2){row-gap:4px!important;overflow-wrap:anywhere}
[id^="ntf-panel"] [id^="ntf-empty"]{padding:18px 16px!important}
[id^="ntf-panel"] [id^="ntm8-"]{padding:14px 16px!important}
@media (max-width:768px){[id^="ntf-panel"]{max-height:calc(100vh - 124px)!important;max-height:calc(100dvh - 124px)!important}}
/* Unified notification items */
.shx-ni{display:flex;column-gap:12px;align-items:flex-start;border-top:1px solid #e5e9e3;width:100%;box-sizing:border-box}
.shx-ni-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#f48c06;margin-top:6px}
.shx-ni-body{display:flex;flex-direction:column;row-gap:6px;flex:1 1 0;min-width:0}
.shx-tag{align-self:flex-start;font:700 11px/16px "DM Sans",sans-serif;letter-spacing:.03em;padding:2px 9px;border-radius:99px;background:#e5f0e8;color:#174d39}.shx-tag.ai{background:#fdeccf;color:#7a4300}
.shx-ni-t{font:500 14px/1.45 "DM Sans",sans-serif;color:#202923}.shx-ni-m{font:400 12.5px/1.4 "DM Sans",sans-serif;color:#718078}
.shx-ni-v{align-self:flex-start;margin-top:4px;font:600 13px "DM Sans",sans-serif;border-radius:10px;padding:5px 14px;cursor:pointer;background:#fff;color:#174d39;border:1px solid #174d39}.shx-ni-v:hover{background:#e5f0e8}
.shx-ni-x{cursor:pointer;color:#718078;font:400 20px/1 "DM Sans",sans-serif;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:8px;flex:0 0 28px}.shx-ni-x:hover{background:#fdecea;color:#b3261e}
/* Admin overview: broadcast messages */
.shx-h2{font:700 22.4px/25.76px Manrope,"DM Sans",sans-serif;color:#174d39;margin:24px 0 8px}
.shx-bclist{display:flex;flex-direction:column;gap:12px}
.shx-bc{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:12px 14px;align-items:center;background:#fff;border:1px solid #e5e9e3;border-radius:14px;padding:14px;box-shadow:0 1px 2px rgba(23,77,57,.05),0 8px 22px rgba(23,77,57,.06)}.shx-bc:hover{border-color:#c9dccf}
.shx-bc-main{flex:1 1 240px;min-width:0}
.shx-bc-t{font:700 16.8px/19.32px Manrope,"DM Sans",sans-serif;color:#174d39;margin:0 0 6px}
.shx-bc-m{font:400 15px/22px "DM Sans",sans-serif;color:#718078}
.shx-bc-b{font:400 15px/22px "DM Sans",sans-serif;color:#202923;margin:6px 0 0}
.shx-bc .shx-act{margin-top:0;flex:0 0 auto}
.shx-bc-empty{font:400 15px "DM Sans",sans-serif;color:#718078;margin:4px 0}
.shx-copyok{font:600 13px "DM Sans",sans-serif;color:#236b4e;margin-left:4px}
#modal-sharebc-preview{margin:8px 0 4px;padding:12px 14px;border:1px solid #e5e9e3;border-radius:12px;background:#f6f9f6}
#modal-sharebc-preview-title{font:700 16px/22px Manrope,sans-serif;color:#174d39;margin:0 0 4px}#modal-sharebc-preview-body{font:400 15px/22px "DM Sans",sans-serif;color:#202923;margin:0}
/* Report / Enquiry popups (property page) */
#modal-report,#modal-enquiry{min-height:0;display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(32,41,35,.55);align-items:center;justify-content:center;padding:14px;box-sizing:border-box;z-index:3000;overflow:auto}
#modal-report-dialog,#modal-enquiry-dialog,#modal-report-done,#modal-enquiry-done{background:#fff;border-radius:16px;box-sizing:border-box;padding:22px;width:100%;max-width:520px;max-height:92vh;overflow:auto;flex-direction:column;row-gap:4px;box-shadow:0 20px 50px rgba(0,0,0,.25);font-family:"DM Sans",sans-serif;color:#202923}
#modal-report-dialog,#modal-enquiry-dialog{display:flex}
#modal-report-done,#modal-enquiry-done{display:none;align-items:flex-start;row-gap:10px}
#ix8sd3t-2{cursor:pointer}
/* Notifications dropdown opens with CSS only (no script): click/tap the link, click outside to close */
[id^="ntfnav-2-"]:focus-within [id^="ntf-panel"]{display:flex!important}
[id^="ntf-panel"]:focus{outline:none}

/* ===== Students Home - New listing pop-up (same look as the New event pop-up; design only) ===== */
#modal-newlisting{min-height:0;display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(32,41,35,.55);align-items:center;justify-content:center;padding:14px;box-sizing:border-box;z-index:3000;overflow:auto}
#modal-newlisting-dialog,#modal-newlisting-done{background:#fff;border-radius:16px;box-sizing:border-box;padding:22px;width:100%;max-width:520px;max-height:92vh;overflow:auto;flex-direction:column;row-gap:4px;box-shadow:0 20px 50px rgba(0,0,0,.25);font-family:"DM Sans",sans-serif;color:#202923}
#modal-newlisting-dialog{display:flex}
#modal-newlisting-done{display:none;align-items:flex-start;row-gap:10px}
.shx-two{display:flex;gap:10px}.shx-two .shx-f{flex:1;min-width:0}

/* Footer links: the Company and Help links are now real links, keep the original look (no underline). */
a.silex-default-text.Logg{text-decoration:none}

.shx-lm-cards{display:flex;flex-direction:column;gap:10px;margin:4px 0 8px}
.shx-lm-card{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid #e5e9e3;border-radius:14px;box-shadow:0 1px 2px rgba(23,77,57,.05),0 6px 16px rgba(23,77,57,.05);padding:12px 14px}
.shx-lm-card>div:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.shx-lm-card .shx-ben-ic{width:40px;height:40px;border-radius:12px;background:#e5f0e8;color:#174d39;display:flex;align-items:center;justify-content:center;flex:none;margin:0}
.shx-lm-card .shx-ben-ic svg{width:21px;height:21px}
.shx-lm-card h3{margin:0;color:#174d39;font:800 15.5px/1.25 Manrope,sans-serif}
.shx-lm-card p{margin:0;color:#718078;font:400 14px/1.5 "DM Sans",sans-serif}
.shx-lm-card .shx-ben-tag{align-self:flex-start;font:700 10.5px/1 "DM Sans",sans-serif;letter-spacing:.05em;text-transform:uppercase;color:#8a4b00;background:#fff1dc;border-radius:99px;padding:4px 8px}

/* Dropdown arrow (the V): keep it away from the right edge on every select in the site */
select:not([multiple]):not([size]){
  -webkit-appearance:none;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23174D39' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 14px center!important;
  background-size:12px 8px!important;
  padding-right:38px!important;
}


/* Students Home - Community post edit popup */
#modal-editpost{min-height:0;display:none;position:fixed;inset:0;width:100%;height:100%;background:rgba(32,41,35,.55);align-items:center;justify-content:center;padding:14px;box-sizing:border-box;z-index:3000;overflow:auto}
#modal-editpost-dialog{background:#fff;border-radius:16px;box-sizing:border-box;padding:22px;width:100%;max-width:520px;max-height:92vh;overflow:auto;display:flex;flex-direction:column;row-gap:4px;box-shadow:0 20px 50px rgba(0,0,0,.25);font-family:"DM Sans",sans-serif;color:#202923}
