/* ==========================================================================
   Halaman Login SICANA V2 Template
   ========================================================================== */
:root {
    --sc-green:   #0E5A34;
    --sc-green-d: #0a4a2a;
    --sc-gold:    #F2C230;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: #fff;
}

@keyframes scFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

@keyframes scSlowZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1); }
}

.sc-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background: #fff;
}

.sc-left {
    position: relative;
    overflow: hidden;
    background: #0a4a2d;
}

.sc-left-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: scSlowZoom 14s ease-out both;
}

.sc-ov1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(152deg,
        rgba(7, 44, 27, .94) 0%,
        rgba(11, 74, 45, .70) 52%,
        rgba(7, 42, 26, .95) 100%);
}

.sc-ov2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(5, 36, 22, .88) 0%,
        rgba(5, 36, 22, 0) 46%);
}

.sc-waves {
    position: absolute;
    left: -20%;
    bottom: -6%;
    width: 140%;
    height: 34%;
    z-index: 1;
    pointer-events: none;
    transform: rotate(-9deg);
}

.sc-left-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 46px 48px;
}

.sc-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sc-brand img {
    width: auto;
    height: 54px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35));
}

.sc-brand-t1 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .16em;
}

.sc-brand-t2 {
    color: rgba(255, 255, 255, .74);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .24em;
}

.sc-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
}

.sc-hero-emblem {
    width: auto;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35));
}

.sc-hero-title {
    color: #fff;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
}

.sc-hero-v2 {
    margin-top: 6px;
    color: var(--sc-gold);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sc-hero-rule {
    width: 50px;
    height: 4px;
    margin: 20px auto 0;
    background: var(--sc-gold);
    border-radius: 2px;
}

.sc-hero-slogan {
    margin-top: 18px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .01em;
}

.sc-hero-desc {
    max-width: 440px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, .72);
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.7;
}

.sc-right {
    position: relative;
    flex: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 36px 36px 56px;
    background: #fff;
}

.sc-form-box {
    width: 100%;
    max-width: 410px;
    animation: scFadeUp .6s cubic-bezier(.16, 1, .3, 1) both;
}

.sc-h2 {
    color: #14231b;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.015em;
    margin: 0;
}

.sc-sub {
    margin-top: 6px;
    margin-bottom: 0;
    color: #6b7770;
    font-size: 14px;
    line-height: 1.45;
}

.sc-sub b {
    color: var(--sc-green);
    font-weight: 700;
}

.sc-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.sc-label {
    display: block;
    margin-bottom: 6px;
    color: #374740;
    font-size: 13px;
    font-weight: 600;
}

.sc-field {
    position: relative;
}

.sc-field-ico {
    position: absolute;
    left: 14px;
    top: 50%;
    display: flex;
    transform: translateY(-50%);
    color: #8a958f;
    pointer-events: none;
}

.sc-input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    color: #14231b;
    font-size: 14.5px;
    font-family: inherit;
    background: #fff;
    border: 1.5px solid #DCE3DE;
    border-radius: 10px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.sc-input.has-toggle {
    padding-right: 44px;
}

.sc-input::placeholder {
    color: #9aa6a0;
}

.sc-input:focus {
    border-color: var(--sc-green);
    box-shadow: 0 0 0 4px rgba(14, 90, 52, .12);
}

.sc-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transform: translateY(-50%);
    color: #8a958f;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.sc-eye:hover {
    color: var(--sc-green);
    background: #f1f4f2;
}

.sc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
}

.sc-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.sc-remember input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.sc-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    background: #fff;
    border: 1.5px solid #c5cec8;
    border-radius: 4px;
    transition: background .15s, border-color .15s;
}

.sc-check svg {
    display: none;
}

.sc-remember input:checked + .sc-check {
    background: var(--sc-green);
    border-color: var(--sc-green);
}

.sc-remember input:checked + .sc-check svg {
    display: block;
}

.sc-remember-t {
    color: #4a564f;
    font-size: 13px;
}

.sc-link {
    color: var(--sc-green);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.sc-link:hover {
    text-decoration: underline;
}

.sc-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    padding: 0 24px;
    color: #9aa6a0;
    font-size: 11.5px;
    letter-spacing: .01em;
    text-align: center;
}

.sc-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
}

.sc-note-ico {
    display: flex;
    flex-shrink: 0;
    margin-top: 2px;
}

.sc-note-ico svg {
    width: 16px;
    height: 16px;
}

.sc-note-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sc-note-body b {
    font-size: 13px;
    font-weight: 700;
}

.sc-note-body span {
    color: #4d5a53;
}

.sc-note-error   { background: #FBE7EA; border-color: #F3C2CB; color: #A81E33; }
.sc-note-success { background: #E4F5EE; border-color: #BFE7D5; color: #0F7A50; }

.sc-pill {
    position: absolute;
    top: 22px;
    right: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid #e3e8e5;
    border-radius: 999px;
    background: #fff;
    color: #14231b;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.sc-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sc-gold);
}

.sc-sso-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    margin-top: 4px;
    border-radius: 10px;
    background: var(--sc-green);
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(14, 90, 52, .15);
    transition: background .15s, transform .12s, box-shadow .15s;
}

.sc-sso-primary:hover {
    background: var(--sc-green-d);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(14, 90, 52, .2);
}

.sc-sso-primary:active {
    transform: translateY(0);
}

.sc-sso-primary:focus-visible {
    outline: 2px solid var(--sc-green);
    outline-offset: 3px;
}

.sc-sso-primary svg {
    flex: none;
    color: var(--sc-gold);
}

.sc-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 10px;
    color: #9aa6a0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.sc-divider::before,
.sc-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e6ebe8;
}

.sc-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.sc-trust-card {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid #e6ebe8;
    border-radius: 10px;
    background: #fff;
}

.sc-trust-card > svg {
    flex: none;
    margin-top: 0;
    color: var(--sc-green);
}

.sc-trust-t {
    color: #14231b;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
}

.sc-trust-d {
    margin-top: 1px;
    color: #6b7770;
    font-size: 11.5px;
    line-height: 1.25;
}

.sc-help {
    margin-top: 16px;
    color: #6b7770;
    font-size: 12.5px;
    text-align: left;
}

.sc-help-unit {
    color: var(--sc-green);
    font-weight: 600;
}

@media (min-width: 900px) {
    .sc-wrap {
        flex-direction: row;
    }

    .sc-left {
        flex: 1.08;
        min-height: 100vh;
    }

    .sc-left-inner {
        justify-content: space-between;
        gap: 0;
        min-height: 100vh;
        padding: 56px 60px 50px;
    }

    .sc-hero-emblem { height: 96px; }
    .sc-hero-title  { font-size: 46px; }
    .sc-hero-v2     { font-size: 24px; }
    .sc-hero-slogan { font-size: 23px; }

    .sc-right {
        flex: .92;
        align-items: center;
        padding: 36px 36px 48px;
    }
}

@media (max-width: 559px) {
    .sc-left-inner {
        gap: 20px;
        padding: 34px 26px;
    }

    .sc-hero-emblem { height: 64px; }
    .sc-hero-title  { font-size: 30px; }

    .sc-right {
        padding: 36px 18px 48px;
    }

    .sc-pill {
        top: 14px;
        right: 16px;
        padding: 5px 10px;
        font-size: 11.5px;
    }

    .sc-trust {
        grid-template-columns: 1fr;
    }

    .sc-sso-primary {
        height: 46px;
        font-size: 14.5px;
    }
}
