@font-face {
    font-family: 'Neo Open Sans';
    src: url('../../fonts/neo-feeder-open-sans.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}
:root { color-scheme: light; font-family: 'Neo Open Sans', 'Segoe UI', sans-serif; color: #31263c; --portal-purple: #56336d; --portal-border: #ded6e5; }
* { box-sizing: border-box; }
body {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    min-width: 280px;
    min-height: 100vh;
    min-height: 100svh;
    padding: 36px 32px;
    background: #37463d;
}
body::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url('../../images/campus/stiab-jinarakkhita-campus.webp') center 58% / cover no-repeat; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.access-shell { display: flex; justify-content: flex-end; width: 100%; max-width: 1280px; margin: 0 auto; }
.access-card { position: relative; width: 100%; max-width: 420px; min-width: 0; overflow: hidden; border: 1px solid #fff; border-radius: 20px; background: #fff; box-shadow: 0 20px 70px #15201e40, 0 2px 10px #15201e14; }
.portal-header { display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 28px 30px 25px; background: #fff; text-align: center; }
.portal-header img { display: block; width: 76px; height: 76px; object-fit: contain; }
.portal-header h1 { margin: 0; color: var(--portal-purple); line-height: 1.4; }
.portal-header h1 span { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 400; color: #60546a; }
.portal-header h1 strong { display: block; font-size: 25px; font-weight: 700; letter-spacing: -.7px; }
.access-heading { display: flex; align-items: center; gap: 10px; padding: 0 30px 21px; }
.access-heading h2 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.5px; }
.access-heading > svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #f2ecf7; color: var(--portal-purple); }
.access-card-body { padding: 0 30px 24px; }
.access-field { margin-bottom: 20px; }
.access-field > label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.access-input { position: relative; display: flex; align-items: center; min-width: 0; }
.access-input > svg { position: absolute; right: 16px; color: #7d6c87; pointer-events: none; }
.access-input input { width: 100%; height: 49px; min-width: 0; padding: 0 48px 0 15px; color: #31263c; background: #fcfbfd; border: 1px solid var(--portal-border); border-radius: 9px; outline: none; font-size: 14px; transition: border-color .15s, box-shadow .15s, background .15s; }
.access-input input::placeholder { color: #817687; }
.access-input input:hover { border-color: #b9a8c5; }
.access-input input:focus { background: #fff; border-color: #80539c; box-shadow: 0 0 0 3px #80539c14; }
.access-toggle { position: absolute; right: 5px; display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 0; border-radius: 6px; color: #7d6c87; background: transparent; }
.access-toggle:hover, .access-toggle[aria-pressed='true'] { color: var(--portal-purple); background: #f2edf6; }
.access-remember { display: flex; align-items: center; gap: 10px; min-height: 36px; margin: 0 0 18px; font-size: 12px; line-height: 1.6; cursor: pointer; color: #5f5269; }
.access-remember input { width: 17px; height: 17px; margin: 0; accent-color: var(--portal-purple); flex-shrink: 0; cursor: pointer; }
.access-remember input:focus-visible { outline: 3px solid #a580bd; outline-offset: 3px; }
.access-actions { display: flex; align-items: center; gap: 10px; }
.access-submit, .access-reset { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; line-height: 1.4; font-weight: 700; transition: background .15s, box-shadow .15s; }
.access-submit { flex: 1; background: var(--portal-purple); color: #fff; border-color: var(--portal-purple); box-shadow: 0 5px 13px #56336d1a; }
.access-submit > svg { width: 18px; height: 18px; }
.access-submit:hover { background: #442656; border-color: #442656; box-shadow: 0 6px 18px #56336d28; }
.access-submit:disabled { opacity: .55; cursor: default; }
.access-submit.is-loading > svg { display: none; }
.access-reset { background: #fff; border-color: var(--portal-border); color: #67576f; font-weight: 400; }
.access-reset:hover { background: #f5f2f7; border-color: #b9a8c5; }
.access-links { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 30px; padding: 12px 0 0; border-top: 1px solid #eee8f2; }
.access-links button { min-height: 34px; padding: 3px 0; border: 0; background: transparent; color: var(--portal-purple); font-size: 12px; line-height: 24px; }
.access-links button:hover { text-decoration: underline; }
.access-spinner { display: none; width: 17px; height: 17px; border: 2px solid #ffffff66; border-top-color: #fff; border-radius: 50%; animation: access-spin .7s linear infinite; }
.is-loading .access-spinner { display: block; }
.access-alert { padding: 12px 14px; margin: 0 0 20px; border: 1px solid #efc9c2; border-radius: 9px; color: #973c2b; background: #fff5f0; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.access-footer { margin: 0; padding: 13px 25px 22px; color: #73647b; text-align: center; font-size: 10px; line-height: 1.8; background: #fff; }
dialog { max-width: min(398px, calc(100% - 32px)); padding: 28px; border: 1px solid #dcd8df; border-radius: 16px; color: #31263c; box-shadow: 0 24px 80px #21152d33; }
dialog::backdrop { background: #21152d99; backdrop-filter: blur(4px); }
dialog h2 { margin: 0 0 16px; font-size: 18px; }
dialog p { color: #625768; font-size: 13px; line-height: 1.8; }
dialog form { margin-top: 22px; }
dialog .access-submit { width: 100%; }
button:focus-visible { outline: 3px solid #a580bd; outline-offset: 3px; }
@keyframes access-spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { body { padding: 30px 24px; } .access-card { max-width: 400px; } }
@media (max-width: 850px) {
    body { justify-content: flex-start; padding: 240px 20px 24px; background: #e9e5ed; }
    body::before { background-position: 42% -85px; background-size: auto 520px; }
    .access-shell { justify-content: center; }
    .access-card { max-width: 430px; }
}
@media (max-width: 480px) {
    body { padding: 210px 16px 20px; }
    body::before { background-position: 43% -95px; background-size: auto 490px; }
    .access-card { border-radius: 16px; }
    .portal-header { padding: 24px 23px 23px; gap: 13px; }
    .portal-header img { width: 68px; height: 68px; }
    .portal-header h1 span { font-size: 12px; }
    .portal-header h1 strong { font-size: 24px; }
    .access-heading { padding: 0 23px 20px; }
    .access-card-body { padding: 0 23px 23px; }
    .access-field { margin-bottom: 19px; }
    .access-input input { font-size: 16px; }
    .access-links { margin: 0 23px; }
    .access-footer { padding-bottom: 20px; }
}
@media (max-width: 350px) {
    body { padding-top: 190px; }
    .portal-header { padding-left: 20px; padding-right: 20px; }
    .portal-header h1 span { font-size: 11px; }
    .portal-header h1 strong { font-size: 22px; }
    .access-heading { padding-left: 20px; padding-right: 20px; }
    .access-card-body { padding-left: 20px; padding-right: 20px; }
    .access-links { margin-left: 20px; margin-right: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition: none !important; } }

/* Reference layout: title above a left login panel and right integration visual. */
body { justify-content: flex-start; padding: 0 0 36px; }
.integrator-heading { width: 100%; margin-bottom: 30px; padding: 22px max(28px, calc((100vw - 1320px) / 2)); background: #ffffffee; border-bottom: 1px solid #ddd; }
.integrator-heading h1 { margin: 0; color: #008d43; font-size: clamp(21px, 2vw, 30px); font-weight: 400; line-height: 1.4; }
.access-shell { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); align-items: start; gap: 32px; max-width: 1320px; width: calc(100% - 56px); }
.access-card { max-width: none; border: 1px solid #d6d6d6; border-radius: 5px; box-shadow: 0 8px 30px #14221c24; }
.access-heading { padding: 13px 18px; margin-bottom: 22px; background: #f5f5f5; border-bottom: 1px solid #ddd; }
.access-heading h2 { font-size: 17px; font-weight: 400; }
.access-heading > svg { width: 21px; height: 21px; padding: 0; border-radius: 0; background: none; color: #333; }
.access-card-body { padding: 0 22px 24px; }
.access-field { display: grid; grid-template-columns: 95px minmax(0, 1fr); gap: 12px; align-items: center; margin-bottom: 20px; }
.access-field > label { margin: 0; font-weight: 700; font-size: 13px; }
.access-input input { border-radius: 2px; height: 43px; background: white; }
.access-controls { margin-left: 107px; }
.access-actions { gap: 8px; }
.access-submit, .access-reset { flex: none; padding: 9px 12px; min-height: 38px; border-radius: 3px; font-weight: 400; }
.access-submit { background: #54af56; border-color: #489d49; box-shadow: none; }
.access-submit:hover { background: #408f42; border-color: #408f42; }
.access-submit > svg { display: none; }
.access-links { margin: 0 22px; }
.access-footer { margin-top: 8px; padding: 10px 16px; background: #f5f5f5; border-top: 1px solid #ddd; }
.integrator-visual { min-width: 0; }
.integrator-illustration { display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: center; gap: 8px; min-height: 370px; padding: 36px 22px 26px; border: 2px solid #d4d7df; background: white; }
.integrator-campus { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.integrator-campus img { max-width: 90px; height: auto; object-fit: contain; }
.integrator-campus strong { font-size: 14px; color: #42516a; }
.integrator-campus span { font-size: 12px; color: #777; }
.integrator-service { position: relative; min-width: 0; }
.integrator-service img { display: block; width: 100%; height: auto; }
.integrator-arrow { position: absolute; top: 42%; left: -12px; color: #e9b600; font-size: 45px; line-height: 1; text-shadow: 1px 1px #6b9144; }
.integrator-arrow-back { left: auto; right: -10px; transform: rotate(180deg); }
.integrator-pddikti { display: flex; flex-direction: column; gap: 8px; color: #384c86; text-align: center; }
.integrator-pddikti strong { font-size: clamp(24px, 3vw, 38px); letter-spacing: -1px; }
.integrator-pddikti span { font-size: 10px; line-height: 1.5; }
.integrator-pddikti small { padding-top: 10px; border-top: 2px solid #9e86be; font-size: 13px; }
.integrator-wordmark { grid-column: 1 / -1; margin: 0; color: #315898; text-align: center; font: italic 700 clamp(32px, 4vw, 52px) Georgia, serif; }
.integrator-copyright { padding: 10px; background: #fffffff0; color: #25354b; text-align: center; font-size: 12px; line-height: 1.7; }
@media (max-width: 950px) { .access-shell { grid-template-columns: minmax(270px, 340px) minmax(0, 1fr); gap: 20px; width: calc(100% - 40px); } .access-field { grid-template-columns: 1fr; gap: 7px; } .access-controls { margin-left: 0; } .integrator-illustration { grid-template-columns: 1fr 1.4fr; padding: 24px 14px; } .integrator-pddikti { grid-column: 1 / -1; } .integrator-arrow-back { right: 0; } }
@media (max-width: 700px) { body { padding: 0 0 24px; } body::before { background-position: center 58%; background-size: cover; } .integrator-heading { padding: 18px 20px; margin-bottom: 22px; } .access-shell { grid-template-columns: 1fr; width: calc(100% - 32px); gap: 24px; } .access-card { max-width: none; border-radius: 5px; } .access-heading { padding: 13px 18px; } .access-card-body { padding: 0 22px 24px; } .access-field { grid-template-columns: 1fr; } .integrator-illustration { min-height: 0; grid-template-columns: 1fr 1.5fr; } .integrator-campus img { max-width: 68px; } .access-footer { padding-bottom: 10px; } }
