/* IRDP public pages (home, forgot / reset password) – shared look */
:root { --irdp-1: #3f9a4b; --irdp-2: #83c331; --irdp-dark: #1f5d2a; --irdp-yellow: #f7e600; }
body { background: #f5f7f6; }
.hp-head { background: #fff; border-top: 4px solid var(--irdp-1); }
.hp-head-logo { height: 84px; width: auto; }
.hp-head-1 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #6c757d; font-weight: 600; }
.hp-head-2 { font-size: 1.6rem; font-weight: 800; color: var(--irdp-dark); text-transform: uppercase; letter-spacing: .01em; margin: .15rem 0; }
.hp-head-3 { font-size: .95rem; color: var(--irdp-1); font-weight: 600; }
.hp-notch-wrap { background: #fff; text-align: center; line-height: 0; }
.hp-notch { position: relative; display: inline-flex; align-items: center; gap: .6rem; line-height: 1.3; padding: .4rem 1.5rem .32rem;
    background: linear-gradient(180deg, #4dad59 0%, var(--irdp-1) 100%); color: #fff; border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 -3px 8px rgba(31,93,42,.12); }
/* concave fillets so the tab flows out of the border line */
.hp-notch::before, .hp-notch::after { content: ''; position: absolute; bottom: 0; width: 16px; height: 16px; }
.hp-notch::before { left: -16px; background: radial-gradient(circle at 0 0, transparent 15.5px, var(--irdp-1) 16px); }
.hp-notch::after { right: -16px; background: radial-gradient(circle at 100% 0, transparent 15.5px, var(--irdp-1) 16px); }
.hp-notch-badge { background: #f7e600; color: var(--irdp-dark); font-weight: 800; font-size: .72rem; letter-spacing: .08em; border-radius: 50rem; padding: .12rem .55rem; }
.hp-notch-text { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.hp-head-slogan { font-size: .9rem; font-style: italic; font-weight: 600; color: #b8860b; margin-bottom: .15rem; }
.hp-ticker { display: flex; align-items: stretch; background: #fff; border-top: 3px solid var(--irdp-1); border-bottom: 1px solid #e3ebe4; box-shadow: 0 3px 8px rgba(31,93,42,.06); font-size: .9rem; color: #3b463d; }
.hp-ticker-label { flex-shrink: 0; display: flex; align-items: center; gap: .45rem; padding: .5rem 1.7rem .5rem 1rem; background: linear-gradient(180deg, #4dad59 0%, var(--irdp-1) 100%); color: #fff; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.hp-ticker-label i { color: #f7e600; }
.hp-ticker-view { flex: 1; overflow: hidden; display: flex; align-items: center; margin-left: -6px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); }
.hp-ticker-track { display: flex; width: max-content; animation: hp-scroll var(--hp-ticker-dur, 30s) linear infinite; }
.hp-ticker:hover .hp-ticker-track { animation-play-state: paused; }
.hp-ticker-group { display: flex; flex-shrink: 0; align-items: center; }
.hp-ticker-item { white-space: nowrap; margin: .4rem .45rem; padding: .22rem .95rem .22rem .3rem; border: 1px solid #e3ebe4; border-radius: 50rem; background: #f8fbf8; display: inline-block; line-height: 1.5; }
.hp-ticker-item.open { background: #f1f9ee; border-color: #cfe8c6; }
.hp-ticker-item.soon { background: #fffaf0; border-color: #f3e2b3; }
.hp-ticker-item strong { color: var(--irdp-dark); }
.hp-ticker-item .badge { border-radius: 50rem; font-size: .68rem; letter-spacing: .05em; padding: .3em .7em; vertical-align: 1px; margin-right: .4rem !important; }
.hp-ticker-urgent { color: #dc3545; font-weight: 700; }
@keyframes hp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hp-ticker-track { animation: none; } .hp-ticker-view { overflow-x: auto; } }
@media (max-width: 767px) {
    .hp-head-logo { height: 52px; }
    .hp-head-1 { font-size: .62rem; letter-spacing: .06em; }
    .hp-head-2 { font-size: .9rem; }
    .hp-head-3 { font-size: .75rem; }
    .hp-head-slogan { font-size: .7rem; }
    .hp-notch { padding: .3rem .9rem .25rem; gap: .4rem; }
    .hp-notch-text { font-size: .66rem; letter-spacing: .05em; }
    .hp-notch-badge { font-size: .62rem; }
    .hp-ticker-label { padding: .5rem 1.3rem .5rem .8rem; }
    .hp-ticker { font-size: .82rem; }
}
.hp-hero { background: linear-gradient(120deg, rgba(31,93,42,.96), rgba(63,154,75,.93) 55%, rgba(131,195,49,.9)), url('../../images/logo-sm.png') no-repeat right -60px center / 420px auto; color: #fff; }
.hp-hero h1 { font-weight: 800; letter-spacing: -.02em; }
.hp-hero .lead { color: rgba(255,255,255,.9); }
.hp-pill { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 50rem; padding: .3rem .9rem; font-size: .9rem; }
.hp-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #c6ff7a; box-shadow: 0 0 0 4px rgba(198,255,122,.25); }
.hp-btn-main { background: #fff; color: var(--irdp-dark); font-weight: 700; border: 0; }
.hp-btn-main:hover { background: #f0fbe6; color: var(--irdp-dark); }
.hp-btn-ghost { border: 2px solid rgba(255,255,255,.8); color: #fff; font-weight: 600; }
.hp-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hp-card { background: #fff; border: 1px solid #e6ebe7; border-radius: 14px; }
.hp-win { border-left: 4px solid #ced4da; }
.hp-win.open { border-left-color: #1cbb8c; }
.hp-win.soon { border-left-color: #fcb92c; }
.hp-step { height: 100%; }
.hp-step .num { width: 34px; height: 34px; border-radius: 50%; background: #eaf6e4; color: var(--irdp-dark); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.hp-step .ico { color: var(--irdp-1); }
.hp-section-title { font-weight: 800; color: #24352a; }
.hp-note i { color: var(--irdp-1); }
.hp-footer { color: #6c757d; font-size: .85rem; }
/* tabs */
.hp-tabs-wrap { background: #f5f7f6; }
.hp-tab-body { background: #fff; border: 1px solid #e6ebe7; border-top: 4px solid var(--irdp-1); border-radius: 0 0 14px 14px; padding: 1.75rem; box-shadow: 0 6px 18px rgba(31,93,42,.06); }
.hp-form .form-label { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.hp-form .input-group-text { background: #f3f8f3; color: var(--irdp-1); }
.hp-panel { background: #f3f8f2; border: 1px solid #e1ece0; border-radius: 14px; }
.hp-panel-hero { background: linear-gradient(120deg, rgba(31,93,42,.96), rgba(63,154,75,.93) 55%, rgba(131,195,49,.9)), url('../../images/logo-sm.png') no-repeat right -50px bottom -60px / 300px auto; color: #fff; border: 0; }
.hp-panel-lead { color: rgba(255,255,255,.9); }
#tab-login { padding-top: 2.25rem; }
.hp-login-card { position: relative; max-width: 440px; margin: 0 auto .5rem; background: #fff; border: 1px solid #e3ebe4; border-radius: 18px; box-shadow: 0 14px 34px rgba(31,93,42,.13); padding: 2.6rem 1.9rem 1.5rem; }
.hp-login-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, var(--irdp-dark), var(--irdp-1) 50%, var(--irdp-2)); }
.hp-login-card > h2, .hp-login-card > p { text-align: center; }
#tab-start { padding-top: 2.25rem; }
.hp-start-card { max-width: 540px; }
.hp-mini-steps { display: flex; justify-content: center; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.1rem; font-size: .78rem; color: #8a968f; flex-wrap: wrap; }
.hp-mini-steps li { display: flex; align-items: center; gap: .35rem; }
.hp-mini-steps li + li::before { content: ''; width: 22px; height: 2px; background: #dfe7e0; margin-right: .25rem; }
.hp-mini-steps span { width: 20px; height: 20px; border-radius: 50%; background: #e9f1ea; color: #6c7a71; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; }
.hp-mini-steps li.active { color: var(--irdp-dark); font-weight: 700; }
.hp-mini-steps li.active span { background: var(--irdp-1); color: #fff; }
.hp-seg { display: flex; background: #eef4ee; border-radius: 12px; padding: 4px; margin-bottom: 1.1rem; }
.hp-seg button { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: .55rem .5rem; font-size: .85rem; font-weight: 600; color: #5b6b60; }
.hp-seg button.active { background: #fff; color: var(--irdp-dark); box-shadow: 0 2px 6px rgba(31,93,42,.15); }
.hp-index { display: flex; align-items: flex-start; gap: .35rem; }
.hp-index-part { flex: 1; min-width: 0; }
.hp-index-part:first-child { flex: 1.2; }
.hp-index-part input { text-align: center; font-family: SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; border-radius: 10px; }
.hp-index-part input:focus { border-color: var(--irdp-1); box-shadow: 0 0 0 .22rem rgba(63,154,75,.22); }
.hp-index-part small { display: block; text-align: center; color: #8a968f; font-size: .72rem; margin-top: .2rem; }
.hp-index-sep { font-size: 1.6rem; color: #b5c2b8; line-height: 2.6rem; }
.hp-index-preview { display: flex; align-items: center; margin-top: .6rem; padding: .5rem .8rem; border-radius: 10px; background: #f6f8f6; border: 1px dashed #d5dfd7; color: #6c7a71; font-size: .95rem; transition: all .15s; }
.hp-index-preview .hp-ok { color: #cfd8d2; }
.hp-index-preview.ok { background: #effaf0; border-color: #a9dcb0; color: var(--irdp-dark); }
.hp-index-preview.ok .hp-ok { color: var(--irdp-1); }
.hp-err { color: #dc3545; font-size: .8rem; min-height: 0; margin-top: .25rem; }
.hp-err:empty { display: none; }
.hp-tip { background: #fffbea; border: 1px solid #f3e6b0; border-radius: 10px; padding: .6rem .8rem; font-size: .85rem; color: #6b5a1e; }
.hp-tip i { color: #c9a400; }
.hp-login-logo { display: block; width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 50%; padding: 7px; border: 3px solid #eaf6e4; box-shadow: 0 6px 16px rgba(31,93,42,.18); margin: -4.6rem auto .8rem; position: relative; }
.hp-ig { border-radius: 10px; transition: box-shadow .15s; }
.hp-ig .input-group-text { background: #fff; color: #9aa8a0; border-right: 0; }
.hp-ig .form-control { border-left: 0; border-right: 0; font-size: 1rem; }
.hp-ig .form-control:last-child { border-right: 1px solid #ced4da; }
.hp-ig .form-control:focus { box-shadow: none; border-color: #ced4da; }
.hp-ig:focus-within { box-shadow: 0 0 0 .22rem rgba(63,154,75,.22); }
.hp-ig:focus-within .input-group-text, .hp-ig:focus-within .form-control, .hp-ig:focus-within .hp-pw-btn { border-color: var(--irdp-1); }
.hp-ig:focus-within .input-group-text { color: var(--irdp-1); }
.hp-pw-btn { background: #fff; border: 1px solid #ced4da; border-left: 0; color: #8a968f; }
.hp-pw-btn:hover { color: var(--irdp-dark); background: #f6faf6; }
.hp-btn-login { background: linear-gradient(180deg, #4dad59 0%, var(--irdp-1) 100%); color: #fff; font-weight: 700; border: 0; border-radius: 10px; box-shadow: 0 6px 14px rgba(63,154,75,.3); }
.hp-btn-login:hover, .hp-btn-login:focus { background: linear-gradient(180deg, #43a04f 0%, var(--irdp-dark) 100%); color: #fff; }
.hp-btn-login:disabled { opacity: .8; }
.hp-link { color: var(--irdp-1); text-decoration: none; }
.hp-link:hover { color: var(--irdp-dark); text-decoration: underline; }
.hp-or { display: flex; align-items: center; gap: .75rem; color: #8a968f; font-size: .82rem; margin: 1.4rem 0 .9rem; }
.hp-or::before, .hp-or::after { content: ''; flex: 1; height: 1px; background: #e3ebe4; }
.hp-check li { position: relative; padding-left: 1.7rem; margin-bottom: .5rem; }
.hp-check li::before { content: '\2713'; position: absolute; left: 0; top: 0; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--irdp-1); color: #fff; font-size: .72rem; display: flex; align-items: center; justify-content: center; margin-top: .15rem; }
.hp-step-row .num { width: 32px; height: 32px; border-radius: 50%; background: #eaf6e4; color: var(--irdp-dark); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 575px) { .hp-tab-body { padding: 1.1rem; } }
/* phones – kept last so it overrides the rules above */
@media (max-width: 767px) {
    .hp-login-card { padding: 2.4rem 1.1rem 1.25rem; }
    .hp-mini-steps { gap: .2rem; font-size: .68rem; flex-wrap: nowrap; }
    .hp-mini-steps li + li::before { width: 8px; margin-right: .1rem; }
    .hp-mini-steps span { width: 17px; height: 17px; font-size: .62rem; }
    .hp-seg button { font-size: .8rem; padding: .5rem .3rem; white-space: nowrap; }
    .hp-index { gap: .2rem; }
    .hp-index-part input { font-size: 1rem; padding: .5rem .2rem; letter-spacing: 0; }
    .hp-index-sep { font-size: 1.2rem; line-height: 2.5rem; }
    .hp-index-preview { font-size: .85rem; }
}
#auth { min-height: 100vh; display: flex; flex-direction: column; }
.hp-grow { flex: 1 0 auto; }

/* auth pages (forgot / reset password) */
.hp-auth-main { padding: 3.5rem 0 3rem; }
.hp-auth-main .hp-login-card { max-width: 460px; }
.hp-success { text-align: center; background: #f1f9ee; border: 1px solid #cfe8c6; border-radius: 14px; padding: 1rem 1rem .9rem; margin-bottom: 1.2rem; }
.hp-success .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--irdp-1); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: .4rem; }
.hp-rule { border-top: 3px solid var(--irdp-1); }

/* admission information: programme catalogue */
.hp-cat-tools { display: flex; flex-direction: column; gap: .6rem; margin: 1rem 0 1.1rem; }
.hp-cat-search { max-width: 420px; }
.hp-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.hp-chips button { border: 1px solid #dfe7e0; background: #fff; color: #3b463d; border-radius: 50rem; padding: .28rem .8rem; font-size: .82rem; font-weight: 600; }
.hp-chips button span { display: inline-block; min-width: 1.4rem; margin-left: .25rem; padding: 0 .35rem; border-radius: 50rem; background: #eef4ee; color: #5b6b60; font-size: .72rem; }
.hp-chips button:hover { border-color: var(--irdp-1); }
.hp-chips button.active { background: var(--irdp-1); border-color: var(--irdp-1); color: #fff; }
.hp-chips button.active span { background: rgba(255,255,255,.25); color: #fff; }
.hp-cat-group + .hp-cat-group { margin-top: 1.2rem; }
.hp-cat-level { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--irdp-1); margin-bottom: .45rem; padding-bottom: .3rem; border-bottom: 2px solid #eaf3ea; }
.hp-prog { border: 1px solid #e3ebe4; border-radius: 12px; background: #fff; margin-bottom: .5rem; transition: box-shadow .15s, border-color .15s; }
.hp-prog:hover { border-color: #c9dccb; }
.hp-prog[open] { border-color: var(--irdp-1); box-shadow: 0 6px 16px rgba(31,93,42,.08); }
.hp-prog summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; }
.hp-prog summary::-webkit-details-marker { display: none; }
.hp-prog-main { flex: 1; min-width: 0; }
.hp-prog-name { display: block; font-weight: 700; color: #24352a; }
.hp-prog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .8rem; color: #7a877e; }
.hp-campus { background: #f1f6f1; border-radius: 50rem; padding: .05rem .55rem; color: #4e6355; }
.hp-prog-chev { color: #9aa8a0; transition: transform .2s; }
.hp-prog[open] .hp-prog-chev { transform: rotate(180deg); color: var(--irdp-1); }
.hp-prog-body { padding: 0 .9rem .9rem; border-top: 1px dashed #e3ebe4; padding-top: .75rem; }
.hp-route { background: #f7faf7; border-left: 3px solid var(--irdp-1); border-radius: 8px; padding: .55rem .75rem; margin-bottom: .5rem; font-size: .88rem; }
.hp-route-name { font-weight: 700; color: var(--irdp-dark); font-size: .82rem; margin-bottom: .2rem; }
.hp-route ul { padding-left: 1.1rem; }
.hp-qual { background: #fffaf0; border: 1px solid #f3e2b3; border-radius: 50rem; padding: .1rem .6rem; font-size: .78rem; }
.hp-cat-empty { text-align: center; color: #7a877e; padding: 2rem 0; }
.hp-side-box { background: #f7faf7; border: 1px solid #e3ebe4; border-radius: 14px; padding: 1rem 1.1rem; }
.hp-side-title { font-weight: 800; color: var(--irdp-dark); margin-bottom: .7rem; }
.hp-steps-mini { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.hp-steps-mini li { counter-increment: s; position: relative; padding-left: 2.1rem; margin-bottom: .6rem; font-size: .85rem; }
.hp-steps-mini li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #eaf6e4; color: var(--irdp-dark); font-weight: 700; font-size: .75rem; display: flex; align-items: center; justify-content: center; }
.hp-steps-mini li strong { display: block; color: #24352a; }
.hp-steps-mini li span { color: #6c7a71; }
@media (max-width: 767px) { .hp-head-logo { max-width: 18vw; object-fit: contain; } }

/* fee structure inside a programme */
.hp-fee { margin-top: .75rem; border: 1px solid #e3ebe4; border-radius: 10px; padding: .6rem .75rem .5rem; background: #fff; }
.hp-fee-head { font-weight: 700; color: var(--irdp-dark); font-size: .82rem; margin-bottom: .35rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.hp-fee-head i { color: #c9a400; }
.hp-fee-head span { font-weight: 600; color: #7a877e; background: #f1f6f1; border-radius: 50rem; padding: .05rem .55rem; font-size: .74rem; }
.hp-fee .table { font-size: .84rem; }
.hp-fee .table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #7a877e; font-weight: 700; border-bottom-width: 1px; }
.hp-fee .table tfoot th { color: var(--irdp-dark); font-size: .84rem; text-transform: none; letter-spacing: 0; border-top: 2px solid #dfe7e0; border-bottom: 0; }
.hp-fee .table td { border-color: #eef2ee; }
.hp-fee-note { font-size: .75rem; color: #7a877e; margin-top: .35rem; }

/* tabs (Admission information | Start application | Login) */
.hp-tabs { display: flex; gap: .6rem; flex-wrap: nowrap; border: 0; margin-bottom: 0; }
.hp-tabs .nav-item { flex: 1 1 0; min-width: 0; display: flex; }
.hp-tabs .nav-link { position: relative; flex: 1; display: flex; align-items: center; gap: .8rem; text-align: left; padding: .8rem 1rem; border: 1px solid #dfe7e0; border-bottom: 0; border-radius: 16px 16px 0 0; background: #fff; color: #3b463d; transition: background .18s, color .18s, transform .18s, box-shadow .18s; }
.hp-tabs .nav-link:hover { background: #f3f9f2; color: var(--irdp-dark); transform: translateY(-2px); }
.hp-tabs .nav-link:focus-visible { outline: 3px solid rgba(63,154,75,.35); outline-offset: 2px; }
.hp-tab-ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: #eaf6e4; color: var(--irdp-1); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: background .18s, color .18s; }
.hp-tab-txt { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.hp-tab-title { font-weight: 800; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-tab-sub { font-size: .76rem; color: #7a877e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-tabs .nav-link.active { background: linear-gradient(135deg, #4dad59 0%, var(--irdp-1) 60%, #2f8a3c 100%); border-color: var(--irdp-1); color: #fff; box-shadow: 0 -4px 14px rgba(31,93,42,.18); transform: none; }
.hp-tabs .nav-link.active .hp-tab-ico { background: #f7e600; color: var(--irdp-dark); }
.hp-tabs .nav-link.active .hp-tab-sub { color: rgba(255,255,255,.85); }
/* little pointer joining the active tab to its panel */
.hp-tabs .nav-link.active::after { content: ''; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); border: 9px solid transparent; border-bottom: 0; border-top-color: var(--irdp-1); z-index: 2; }
.hp-tab-body { position: relative; }
@media (max-width: 767px) {
    .hp-tabs { gap: .35rem; }
    .hp-tabs .nav-link { flex-direction: column; justify-content: center; text-align: center; gap: .35rem; padding: .65rem .3rem .6rem; }
    .hp-tab-ico { width: 34px; height: 34px; font-size: .95rem; border-radius: 10px; }
    .hp-tab-title { font-size: .82rem; }
    .hp-tab-sub { display: none; }
}

/* admission information: stats, toolbar, facts, print */
.hp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: .2rem; }
.hp-stats > div { background: #f7faf7; border: 1px solid #e3ebe4; border-radius: 12px; padding: .6rem .8rem; }
.hp-stats strong { display: block; font-size: 1.35rem; line-height: 1.1; color: var(--irdp-dark); font-weight: 800; }
.hp-stats span { font-size: .75rem; color: #7a877e; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.hp-stats > .is-open { background: #f1f9ee; border-color: #cfe8c6; }
.hp-stats > .is-open strong { color: #1a8f3c; }
.hp-cat-campus { width: auto; min-width: 180px; border-radius: 50rem; }
.hp-tool-btn { border: 1px solid #dfe7e0; background: #fff; color: #4e6355; border-radius: 50rem; font-weight: 600; font-size: .8rem; padding: .25rem .75rem; }
.hp-tool-btn:hover { border-color: var(--irdp-1); color: var(--irdp-dark); background: #f6faf6; }
.hp-cat-count { font-size: .78rem; color: #7a877e; margin: -.3rem 0 .7rem; }
.hp-cat-level { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.hp-lvl-status { font-size: .7rem; letter-spacing: 0; text-transform: none; font-weight: 700; border-radius: 50rem; padding: .1rem .6rem; display: inline-flex; align-items: center; }
.hp-lvl-status.open { background: #e7f6ea; color: #1a7f36; }
.hp-lvl-status.open .dot { width: 7px; height: 7px; border-radius: 50%; background: #2fb350; margin-right: .35rem; box-shadow: 0 0 0 3px rgba(47,179,80,.2); }
.hp-lvl-status.soon { background: #fff4d6; color: #8a6400; }
.hp-lvl-status.closed { background: #f0f2f1; color: #7a877e; }
.hp-prog-facts { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.hp-prog-facts:empty { display: none; }
.hp-fact-route { font-size: .7rem; font-weight: 700; color: #3d6b47; background: #eef6ee; border: 1px solid #d7e8d8; border-radius: 6px; padding: .05rem .45rem; }
.hp-fact-fee { font-size: .7rem; font-weight: 700; color: #7a5a00; background: #fff8e6; border: 1px solid #f1e0ac; border-radius: 6px; padding: .05rem .45rem; }
.hp-fact-fee i { color: #c9a400; }
.hp-prog { scroll-margin-top: 90px; }
.hp-prog.hp-flash { animation: hp-flash 1.8s ease-out 1; }
@keyframes hp-flash { 0%, 30% { box-shadow: 0 0 0 4px rgba(247,230,0,.7); } 100% { box-shadow: 0 6px 16px rgba(31,93,42,.08); } }
@media (max-width: 767px) {
    .hp-stats { grid-template-columns: repeat(2, 1fr); }
    .hp-cat-campus { min-width: 0; flex: 1; }
}
/* print just the programme list */
@media print {
    .hp-head, .hp-notch-wrap, .hp-ticker, .hp-tabs, .hp-footer, #tab-info .col-lg-4, .hp-cat-tools, .hp-prog-actions, .hp-stats, #tab-start, #tab-login { display: none !important; }
    #tab-info { display: block !important; opacity: 1 !important; }
    #tab-info .col-lg-8 { width: 100% !important; flex: 0 0 100%; max-width: 100%; }
    .hp-tab-body { border: 0 !important; box-shadow: none !important; padding: 0 !important; }
    body, .hp-tabs-wrap { background: #fff !important; }
    .hp-prog { break-inside: avoid; box-shadow: none !important; border-color: #ccc !important; }
    .hp-prog-chev { display: none; }
}

/* public footer */
.hp-foot { background: linear-gradient(160deg, #1f5d2a 0%, #17471f 100%); color: rgba(255,255,255,.85); border-top: 4px solid #f7e600; margin-top: auto; }
.hp-foot-logo { width: 58px; height: 58px; object-fit: contain; background: #fff; border-radius: 50%; padding: 5px; flex-shrink: 0; }
.hp-foot-name { font-weight: 800; color: #fff; font-size: 1.05rem; }
.hp-foot-slogan { color: #f7e600; font-style: italic; font-weight: 600; font-size: .88rem; }
.hp-foot-text { font-size: .88rem; color: rgba(255,255,255,.75); max-width: 420px; }
.hp-foot-site { display: inline-flex; align-items: center; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 50rem; padding: .35rem .95rem; font-size: .85rem; font-weight: 600; }
.hp-foot-site:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.hp-foot-title { color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; padding-bottom: .5rem; border-bottom: 2px solid rgba(247,230,0,.6); display: inline-block; }
.hp-foot-links, .hp-foot-contact { list-style: none; padding: 0; margin: 0; }
.hp-foot-links li { margin-bottom: .55rem; }
.hp-foot-links a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .9rem; display: inline-flex; align-items: center; gap: .55rem; transition: color .15s, transform .15s; }
.hp-foot-links a i { width: 1rem; text-align: center; color: #9fd88a; font-size: .8rem; }
.hp-foot-links a:hover { color: #fff; transform: translateX(3px); }
.hp-foot-contact li { display: flex; gap: .65rem; margin-bottom: .7rem; font-size: .9rem; line-height: 1.45; }
.hp-foot-contact i { color: #9fd88a; width: 1rem; text-align: center; margin-top: .25rem; flex-shrink: 0; }
.hp-foot-contact a { color: rgba(255,255,255,.9); text-decoration: none; }
.hp-foot-contact a:hover { color: #fff; text-decoration: underline; }
.hp-foot-bar { background: rgba(0,0,0,.2); font-size: .8rem; color: rgba(255,255,255,.65); }
@media (max-width: 575px) { .hp-foot .col-6 { width: 100%; } }
@media print { .hp-foot { display: none !important; } }

/* floating support button + popup */
.hp-help { position: fixed; right: 20px; bottom: 20px; z-index: 1040; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.hp-help-fab { position: relative; display: inline-flex; align-items: center; gap: .55rem; border: 0; border-radius: 50rem; padding: .35rem 1.1rem .35rem .35rem; background: linear-gradient(135deg, #4dad59, var(--irdp-1) 60%, var(--irdp-dark)); color: #fff; font-weight: 700; box-shadow: 0 10px 24px rgba(31,93,42,.35); transition: transform .15s, box-shadow .15s; }
.hp-help-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(31,93,42,.4); }
.hp-help-fab:focus-visible { outline: 3px solid rgba(247,230,0,.8); outline-offset: 3px; }
.hp-help-fab-ico, .hp-help-fab-x { width: 46px; height: 46px; border-radius: 50%; background: #f7e600; color: var(--irdp-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.hp-help-fab-ico { position: relative; }
.hp-help-fab-ico::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(247,230,0,.7); animation: hp-help-pulse 2.2s ease-out infinite; }
@keyframes hp-help-pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }
.hp-help-fab-x { display: none; }
.hp-help.open .hp-help-fab-ico { display: none; }
.hp-help.open .hp-help-fab-x { display: inline-flex; }
.hp-help.open .hp-help-fab-label::after { content: ''; }
.hp-help-panel { width: 460px; max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); overflow: auto; background: #fff; border-radius: 18px; box-shadow: 0 18px 44px rgba(20,40,25,.28); border: 1px solid #e3ebe4; transform-origin: bottom right; animation: hp-help-in .18s ease-out; }
@keyframes hp-help-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.hp-help-head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1rem .9rem; background: linear-gradient(135deg, #4dad59, var(--irdp-1) 60%, var(--irdp-dark)); color: #fff; border-radius: 18px 18px 0 0; }
.hp-help-ico { width: 40px; height: 40px; border-radius: 12px; background: #f7e600; color: var(--irdp-dark); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.hp-help-title { font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.hp-help-sub { font-size: .78rem; color: rgba(255,255,255,.85); }
.hp-help-x { border: 0; background: rgba(255,255,255,.15); color: #fff; width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.hp-help-x:hover { background: rgba(255,255,255,.28); }
.hp-help-tabs { display: flex; gap: .3rem; padding: .7rem .8rem 0; overflow-x: auto; }
.hp-help-tabs button { flex: 1 0 auto; border: 1px solid #dfe7e0; background: #f7faf7; color: #4e6355; border-radius: 50rem; padding: .3rem .75rem; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.hp-help-tabs button.active { background: var(--irdp-1); border-color: var(--irdp-1); color: #fff; }
.hp-help-body { padding: .8rem 1rem .4rem; }
.hp-help-campus-name { font-size: .78rem; font-weight: 700; color: var(--irdp-1); margin-bottom: .5rem; }
.hp-help-group { margin-bottom: .8rem; }
.hp-help-label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #7a877e; margin-bottom: .4rem; }
.hp-help-label i { color: var(--irdp-1); }
.hp-help-nums { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.hp-help-num { display: flex; align-items: center; gap: .45rem; padding: .45rem .6rem; border: 1px solid #e3ebe4; border-radius: 10px; color: #24352a; text-decoration: none; font-weight: 600; font-size: .86rem; white-space: nowrap; background: #fff; transition: background .12s, border-color .12s; }
.hp-help-num i { width: 24px; height: 24px; border-radius: 50%; background: #eaf6e4; color: var(--irdp-1); display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; flex-shrink: 0; }
.hp-help-num:hover, .hp-help-num:focus { background: #f1f9ee; border-color: var(--irdp-1); color: var(--irdp-dark); }
.hp-help-num:hover i { background: var(--irdp-1); color: #fff; }
.hp-help-foot { border-top: 1px solid #eef2ee; padding: .65rem 1rem .8rem; font-size: .8rem; color: #6c7a71; display: grid; gap: .25rem; }
.hp-help-foot a { color: var(--irdp-1); text-decoration: none; }
.hp-help-foot a:hover { text-decoration: underline; }
@media (max-width: 575px) {
    .hp-help { right: 12px; bottom: 12px; }
    .hp-help-fab { padding: .3rem; }
    .hp-help-fab-label { display: none; }
    .hp-help-fab-ico, .hp-help-fab-x { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .hp-help-fab-ico::after { animation: none; display: none; } .hp-help-panel { animation: none; } }
@media print { .hp-help { display: none !important; } }

/* help popup: number rows with call / WhatsApp buttons */
.hp-help-list { display: grid; gap: .4rem; }
.hp-help-row { display: flex; align-items: center; gap: .45rem; padding: .4rem .45rem .4rem .75rem; border: 1px solid #e3ebe4; border-radius: 11px; background: #fff; }
.hp-help-numtxt { flex: 1; min-width: 0; line-height: 1.2; }
.hp-help-numtxt span { display: block; font-weight: 700; color: #24352a; font-size: .92rem; letter-spacing: .01em; }
.hp-help-numtxt small { display: block; color: #7a877e; font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-help-btn { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0; transition: transform .12s, background .12s; }
.hp-help-btn.call { background: #eaf6e4; color: var(--irdp-1); font-size: .82rem; }
.hp-help-btn.call:hover { background: var(--irdp-1); color: #fff; transform: scale(1.06); }
.hp-help-btn.wa { background: #e7f9ee; color: #1faa53; font-size: 1.1rem; }
.hp-help-btn.wa:hover { background: #25d366; color: #fff; transform: scale(1.06); }
.hp-help-btn:focus-visible { outline: 3px solid rgba(63,154,75,.4); outline-offset: 2px; }
.hp-help-legend { display: flex; gap: 1rem; font-size: .74rem; color: #7a877e; }
.hp-help-legend .fa-phone-alt { color: var(--irdp-1); }
.hp-help-legend .fa-whatsapp { color: #25d366; }

/* wider help popup: two numbers per row, one column on small phones */
.hp-help-list { grid-template-columns: 1fr 1fr; }
.hp-help-head { padding: 1.1rem 1.2rem 1rem; }
.hp-help-body { padding: .9rem 1.2rem .5rem; }
.hp-help-foot { padding: .7rem 1.2rem .9rem; }
.hp-help-tabs { padding: .8rem 1.2rem 0; }
@media (max-width: 499px) { .hp-help-list { grid-template-columns: 1fr; } }

/* footer: brighter IRDP green, same family as the tabs / OAS tab */
.hp-foot { position: relative; overflow: hidden; color: rgba(255,255,255,.9);
    background:
        radial-gradient(circle at 12% 0%, rgba(131,195,49,.35) 0%, rgba(131,195,49,0) 45%),
        linear-gradient(135deg, #4dad59 0%, var(--irdp-1) 38%, #2f7d3b 72%, var(--irdp-dark) 100%); }
.hp-foot::before { content: ''; position: absolute; right: -70px; bottom: -90px; width: 360px; height: 360px;
    background: url('../../images/logo-sm.png') no-repeat center / contain; opacity: .07; pointer-events: none; }
.hp-foot > .container { position: relative; }
.hp-foot-logo { box-shadow: 0 0 0 4px rgba(255,255,255,.25), 0 6px 16px rgba(0,0,0,.18); }
.hp-foot-text { color: rgba(255,255,255,.85); }
.hp-foot-title { border-bottom-color: #f7e600; }
.hp-foot-links a i, .hp-foot-contact i { color: #f7e600; }
.hp-foot-links a { color: rgba(255,255,255,.92); }
.hp-foot-site { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); }
.hp-foot-site:hover { background: #fff; color: var(--irdp-dark); border-color: #fff; }
.hp-foot-bar { position: relative; background: rgba(15,52,22,.55); color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.12); }
