/* ==========================================================
   SSPKM – page specific fixes / tidy-ups
   ========================================================== */

/* ---- management_desk: Presidents | Secretaries lists ---- */
#list-trustee .presidents-table,
#list-trustee .secretaries-table {
    float: none !important;
    display: table;
    width: 100%;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
}

#list-trustee .col-md-6.border-right-orange {
    padding-right: 34px;
    border-right: 0 !important;
    position: relative;
}

#list-trustee .col-md-6.border-right-orange::after {
    /* divider that no longer collides with text */
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent) 12%, var(--accent-2) 88%, transparent);
}

#list-trustee .col-md-6:not(.border-right-orange) {
    padding-left: 34px;
}

#list-trustee table h2 {
    margin: 6px 0 14px;
    font-weight: 600;
}

#list-trustee table td {
    padding: 11px 8px;
    border-bottom: 1px solid rgba(11, 31, 58, .07);
    vertical-align: top;
    line-height: 1.5;
}

#list-trustee table tr:last-child td {
    border-bottom: 0;
}

#list-trustee table td:first-child {
    white-space: nowrap;
    width: 1%;
    padding-right: 20px;
    font-weight: 600;
    color: var(--brand);
}

/* the page's own CSS sets white-space:nowrap on every cell, which pushed long names out of the column */
#list-trustee table td:last-child {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
}

#list-trustee table td:first-child {
    white-space: nowrap !important;
}

#list-trustee table tr:hover td {
    background: rgba(45, 95, 156, .05);
}

#list-trustee table tr:first-child:hover td {
    background: transparent;
}

#list-trustee table td[colspan] {
    white-space: normal;
    width: auto;
    padding-right: 8px;
    color: inherit;
    font-weight: inherit;
}

@media (max-width:991px) {
    #list-trustee .col-md-6.border-right-orange {
        padding-right: 15px;
    }

    #list-trustee .col-md-6.border-right-orange::after {
        display: none;
    }

    #list-trustee .col-md-6:not(.border-right-orange) {
        padding-left: 15px;
    }
}

@media (max-width:767px) {
    #list-trustee table {
        display: table !important;
        overflow: visible;
    }

    /* beat the generic "scrollable table" rule */
    #list-trustee table td {
        padding: 9px 6px !important;
        font-size: 14px !important;
    }

    #list-trustee table td:first-child {
        padding-right: 12px !important;
    }

    #list-trustee table td[colspan] {
        font-size: inherit !important;
    }
}
/* sticky footer: on short pages the footer sits at the bottom of the screen (no white gap under it) */
body{ display:flex !important; flex-direction:column; min-height:100vh; min-height:100dvh; }
body > footer{ margin-top:auto; flex-shrink:0; }
body > header, body > script, body > #scroll-progress{ flex-shrink:0; }

/* ---------- registration success pages ---------- */
.sx-wrap{ padding:70px 0 90px; background:radial-gradient(520px 320px at 10% 0%,rgba(47,164,100,.12),transparent 70%),radial-gradient(480px 320px at 95% 100%,rgba(58,124,202,.12),transparent 70%),#f4f7fb; }
.sx-card{
    max-width:640px; margin:0 auto; padding:44px 34px 36px; text-align:center; background:#fff; border-radius:24px;
    border:1px solid rgba(11,31,58,.06); box-shadow:0 24px 60px rgba(11,31,58,.12); animation:pageIn .7s var(--ease) both;
}
.sx-badge{
    width:84px; height:84px; margin:0 auto 20px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:36px; color:#fff;
    background:linear-gradient(135deg,#34b36f,#1f8a50); box-shadow:0 14px 30px rgba(47,164,100,.4),0 0 0 10px rgba(47,164,100,.12); animation:sxPop .7s .15s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes sxPop{ from{ transform:scale(0) rotate(-40deg); opacity:0; } to{ transform:none; opacity:1; } }
.sx-title{ margin:0 0 6px; font-size:30px; font-weight:700; color:#1a7a43; }
.sx-sub{ margin:0 0 26px; font-size:15px; color:var(--muted); }
.sx-dear{ margin:0 0 4px; font-size:19px; color:var(--ink); }
.sx-dear b{ font-weight:700; }
.sx-msg{ margin:0 0 22px; font-size:15.5px; color:#3b4656; }
.sx-no{
    display:inline-block; min-width:260px; margin:0 0 24px; padding:16px 30px; border-radius:16px; background:#eef6ff; border:1.5px dashed #9ec1ec;
}
.sx-no span{ display:block; margin-bottom:4px; font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--brand); }
.sx-no strong{ display:block; font-size:28px; font-weight:800; letter-spacing:.04em; color:var(--ink); user-select:all; }
.sx-btn{
    display:inline-flex; align-items:center; gap:10px; margin:0 0 14px; padding:13px 28px; border-radius:50px; font-size:15px; font-weight:600; color:#fff !important;
    background:linear-gradient(135deg,var(--accent),var(--accent-2)); box-shadow:0 12px 26px rgba(249,88,60,.38); transition:transform .25s var(--ease), box-shadow .25s;
}
.sx-btn:hover{ transform:translateY(-3px); box-shadow:0 18px 34px rgba(249,88,60,.46); color:#fff !important; }
.sx-note{ margin:0 0 18px; padding:12px 16px; border-radius:12px; background:#fff7e6; color:#7a4b00; font-size:14px; line-height:1.6; text-align:left; }
.sx-note i{ margin-right:6px; color:#f59e0b; }
.sx-link{ display:block; margin-top:6px; font-size:14px; color:var(--muted) !important; }
.sx-link:hover{ color:var(--brand) !important; }
.sx-link i{ margin-right:6px; }
@media (max-width:767px){
    .sx-wrap{ padding:28px 0 50px; }
    .sx-card{ padding:30px 18px 26px; border-radius:20px; }
    .sx-title{ font-size:24px; }
    .sx-no{ min-width:0; width:100%; padding:14px 16px; }
    .sx-no strong{ font-size:23px; }
    .sx-btn{ width:100%; justify-content:center; }
}
.sx-no{ display:block; max-width:340px; margin-left:auto; margin-right:auto; }
.sx-btn{ display:flex; width:fit-content; margin-left:auto; margin-right:auto; }
@media (max-width:767px){ .sx-no{ max-width:none; } .sx-btn{ width:100%; } }
