*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;          /* ganti height → min-height */
    /* overflow: hidden;  ← HAPUS baris ini */
    background: linear-gradient(-45deg, #026677, #079aab, #0cb8b8, #d2effc);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Layout ── */
.login-wrapper {
    display: flex;
    min-height: 100vh;          /* ganti height → min-height */
    width: 100%;
}

/* ── Left Panel (Branding) ── */
.login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    top: -100px; left: -100px;
    animation: float 8s ease-in-out infinite;
}

.login-left::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    bottom: -50px; right: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-30px) rotate(5deg); }
}

.login-left .brand-logo {
    width: 160px;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.2));
    animation: fadeInUp 0.8s ease;
    position: relative;
    z-index: 1;
}

.login-left h1 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
    animation: fadeInUp 0.8s ease 0.1s both;
    position: relative;
    z-index: 1;
}

.login-left p {
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    opacity: 0.9;
    max-width: 350px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s both;
    position: relative;
    z-index: 1;
}

.login-left .feature-list {
    list-style: none;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.login-left .feature-list li {
    font-size: 0.9rem;
    padding: 8px 0;
    opacity: 0.85;
    animation: fadeInUp 0.8s ease both;
}

.login-left .feature-list li:nth-child(1) { animation-delay: 0.3s; }
.login-left .feature-list li:nth-child(2) { animation-delay: 0.4s; }
.login-left .feature-list li:nth-child(3) { animation-delay: 0.5s; }

.login-left .feature-list li i {
    margin-right: 10px;
    color: rgba(255,255,255,0.8);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Right Panel (Form) ── */
.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow-y: auto;           /* ← TAMBAH: izinkan scroll vertikal */
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    animation: fadeInUp 0.6s ease;
}

.login-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #026677;
    text-align: center;
    margin-bottom: 5px;
}

.login-card .card-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 30px;
}

/* Mobile logo (hidden on desktop) */
.mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 20px;
}

.mobile-logo img { width: 100px; }

/* ── Alert ── */
.alert {
    border-radius: 10px;
    font-size: 0.85rem;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: none;
    position: relative;
}

.alert-success { background: #d4edda; color: #155724; }
.alert-danger  { background: #f8d7da; color: #842029; }

.alert .btn-close-custom {
    position: absolute;
    top: 10px; right: 12px;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: inherit;
    cursor: pointer;
    opacity: 0.6;
}

.alert .btn-close-custom:hover { opacity: 1; }

/* ── Input Group ── */
.input-group {
    position: relative;
    margin-bottom: 22px;
}

.input-group .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #079aab;
    font-size: 16px;
    z-index: 2;
    transition: color 0.3s;
}

.input-group input {
    width: 100%;
    padding: 14px 45px 14px 48px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    background: #fafbfc;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus {
    border-color: #079aab;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(7,154,171,0.08);
}

.input-group input:focus ~ .input-icon { color: #026677; }

.input-group input::placeholder {
    color: #adb5bd;
    font-weight: 300;
}

.input-group .toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #adb5bd;
    font-size: 16px;
    z-index: 2;
    transition: color 0.3s;
}

.input-group .toggle-password:hover { color: #079aab; }

/* ── Buttons ── */
.btn-signin {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #079aab, #026677);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.btn-signin:hover {
    background: linear-gradient(135deg, #026677, #079aab);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2,102,119,0.3);
}

.btn-signin:active { transform: translateY(0); }

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border: 2px solid #25D366;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #25D366;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-whatsapp i { margin-right: 8px; font-size: 1.1rem; }

.btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.25);
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #adb5bd;
    font-size: 0.8rem;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e9ecef;
}

.divider span { padding: 0 12px; }

/* ── Footer ── */
.login-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.75rem;
    color: #adb5bd;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .login-left { display: none; }

    .login-right {
        flex: unset;
        width: 100%;
        min-height: 100vh;      /* ganti height → min-height */
        padding: 20px;
        background: linear-gradient(-45deg, #026677, #079aab, #0cb8b8, #d2effc);
        background-size: 400% 400%;
        animation: gradientShift 12s ease infinite;
        overflow-y: auto;       /* ← scroll aktif di mobile */
        align-items: flex-start; /* ← card mulai dari atas, bukan center */
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .login-card {
        padding: 30px 25px;
        border-radius: 16px;
        margin: 0 auto;         /* center horizontal */
    }

    .mobile-logo { display: block; }
}
/* ── Verifikator Section ── */
.verifikator-section {
    margin-top: 25px;
}

.verifikator-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #026677;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verifikator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.verifikator-card {
    background: #f8fbfc;
    border: 1.5px solid #e2eff3;
    border-radius: 12px;
    padding: 14px 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.verifikator-card:hover {
    border-color: #25D366;
    background: #f0faf4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.12);
    text-decoration: none;
    color: inherit;
}

.verifikator-card .v-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.verifikator-card .v-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.verifikator-card .v-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #026677;
    line-height: 1.2;
}

.verifikator-card .v-role {
    font-size: 0.65rem;
    color: #6c757d;
    font-weight: 400;
}

.verifikator-card .v-areas {
    font-size: 0.68rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    list-style: none;
}

.verifikator-card .v-areas li::before {
    content: '•';
    color: #079aab;
    font-weight: 700;
    margin-right: 4px;
}

.verifikator-card .v-cta {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #25D366;
}

.verifikator-card .v-cta i {
    font-size: 0.75rem;
}

/* ── Responsive verifikator ── */
@media (max-width: 480px) {
    .verifikator-grid {
        grid-template-columns: 1fr;
    }
}
/* ── Verifikator Section ── */
.verifikator-section {
    margin-top: 25px;
}

.verifikator-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #026677;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verifikator-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.verifikator-card {
    background: #f8fbfc;
    border: 1.5px solid #e2eff3;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.verifikator-card.active {
    border-color: #25D366;
    background: #f0faf4;
    box-shadow: 0 4px 15px rgba(37,211,102,0.1);
}

/* Header (selalu terlihat) */
.v-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    transition: background 0.2s;
}

.v-toggle:hover {
    background: rgba(7,154,171,0.04);
}

.v-toggle .v-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.v-toggle .v-info {
    flex: 1;
}

.v-toggle .v-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #026677;
    line-height: 1.2;
}

.v-toggle .v-role {
    font-size: 0.65rem;
    color: #6c757d;
    font-weight: 400;
}

.v-toggle .v-arrow {
    font-size: 12px;
    color: #adb5bd;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.verifikator-card.active .v-arrow {
    transform: rotate(180deg);
    color: #079aab;
}

/* Body (collapsible) */
.v-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 14px;
}

.verifikator-card.active .v-body {
    max-height: 500px;
    padding: 0 14px 14px;
}

.v-body .v-areas {
    font-size: 0.72rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 2;
    column-gap: 10px;
}

.v-body .v-areas li {
    break-inside: avoid;
}

.v-body .v-areas li::before {
    content: '•';
    color: #079aab;
    font-weight: 700;
    margin-right: 4px;
}

.v-body .v-wa {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.v-body .v-wa:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
    color: #fff;
}