@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700);

body{
    margin:0;
    font-family:'Poppins',sans-serif;
}

.header{
    background:#fff;
    border-bottom:1px solid #ececec;
    height:72px;
}

.header-container{
    max-width:1280px;
    margin:auto;
    height:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 24px;
}

.header-left{
    display:flex;
    align-items:center;
    gap:14px;
}

.header-right{
    display:flex;
    align-items:center;
    gap:14px;
}

.header-title{
    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.header-title h1{
    margin:0;
    font-size:22px;
    font-style:italic;
    font-weight:700;
    color:#2b4d7e;
}

.header-title h1 span{
    color:#50C878;
}

.header-title p{
    margin:2px 0 0;
    font-size:11px;
    color:#666;
}

.badge-verifikasi{
    display:inline-flex;
    align-items:center;

    padding:9px 18px;

    background:#28c76f;
    color:#fff;

    font-size:14px;
    font-weight:600;

    border-radius:999px;
}

.icon-bsre {
    height: 32px;
}

/* ===========================
   CONTENT
=========================== */

.container{
    max-width:1280px;
    margin:32px auto;
    padding:0 24px;
}

.verify-success{

    display:flex;
    align-items:center;
    gap:18px;

    padding:26px;

    border-radius:18px;

    background:linear-gradient(90deg,#e9fff1,#d6ffe7);

    border:1px solid #b8f2cb;

    margin-bottom:28px;

}

.verify-icon{

    width:64px;
    height:64px;

    border-radius:50%;

    background:#28c76f;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:30px;
    font-weight:bold;

    flex-shrink:0;

}

.verify-success h2{

    margin:0 0 6px;
    color:#17663a;

}

.verify-success p{

    margin:0;
    color:#3c6650;

}

.info-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;

}

.card{

    background:#fff;

    border-radius:16px;

    box-shadow:0 4px 20px rgba(0,0,0,.06);

    overflow:hidden;

}

.card-title{

    padding:16px 22px;

    font-weight:600;

    border-bottom:1px solid #eee;

    background:#fafafa;

}

.signer-item{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:22px;

    cursor:pointer;

    transition:.25s;

}

.signer-item:hover{

    background:#f8fbff;

}

.signer-item span{

    font-size:28px;
    color:#0d6efd;

}

.table-info,
.table-detail{

    width:100%;
    border-collapse:collapse;

}

.table-info td,
.table-detail td{

    padding:14px 22px;
    border-bottom:1px solid #f1f1f1;

}

.table-info td:first-child,
.table-detail td:first-child{

    width:180px;
    color:#777;
    font-weight:500;

}

.detail-card{

    margin-top:24px;

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:0 4px 20px rgba(0,0,0,.06);

    max-height:0;
    opacity:0;

    transform:translateY(-8px);

    transition:
        max-height .35s ease,
        opacity .25s ease,
        transform .25s ease,
        margin-top .25s ease;

}

.detail-card.show{

    max-height:800px; 

    opacity:1;

    transform:translateY(0);

}

.action-group{
    margin-top:24px;
    display:flex;
    justify-content:center;
}

.btn-preview{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor: pointer;
    padding:12px 22px;

    background:#0d6efd;
    color:#fff;

    border-radius:8px;
    border: none;
    font-weight:600;

    text-decoration:none;

    transition:.2s;
}

.btn-preview:hover{

    background:#0b5ed7;

}

.btn-masuk{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor: pointer;
    padding:12px 22px;
    width: 80%;

    background:#16a34a;
    color:#fff;

    border-radius:8px;
    border: none;
    font-weight:600;

    text-decoration:none;

    transition:.2s;
}

.btn-masuk:hover{
    background:#166534;
}

/* PAGE WRAPPER */
.vc-page {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* CARD */
.vc-card {
    text-align: center;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* TITLE */
.vc-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.vc-subtitle {
    margin: 0 0 18px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* ALERT */
.vc-alert {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 12px;
}

/* CAPTCHA BOX */
.vc-captcha-box {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.vc-captcha-image {
    width: 100%;
    max-width: 260px;
    /* border-radius: 10px; */
    /* border: 1px solid #e5e7eb; */
}

/* INPUT */
.vc-input {
    width: 70%;
    padding: 12px 14px;
    margin-top: 10px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    outline: none;
    font-size: 14px;
    margin-bottom: 14px;
}

.vc-input:focus {
    border-color: #6366f1;
}

/* ACTIONS */
.vc-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.vc-actions button {
    width: 100%;
}

/* BUTTONS */
.vc-btn {
    flex: 1;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.2s;
}

/* PRIMARY */
.vc-btn-primary {
    background: #4f46e5;
    color: #fff;
}

.vc-btn-primary:hover {
    background: #4338ca;
}

/* SECONDARY */
.vc-btn-secondary {
    background: #e5e7eb;
    color: #111827;
}

.vc-btn-secondary:hover {
    background: #d1d5db;
}

@keyframes fade{

    from{
        opacity:0;
        transform:translateY(12px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

@media(max-width:768px){

    .info-grid{

        grid-template-columns:1fr;

    }

    .verify-success{

        flex-direction:column;
        text-align:center;

    }

    .table-info td:first-child,
    .table-detail td:first-child{

        width:130px;

    }

}
/* ===========================
   Tablet
=========================== */
@media (max-width: 992px) {

    .header-container{
        padding:0 16px;
    }

    .header-left{
        gap:12px;
    }

    .header-right{
        gap:12px;
    }

    .logo-komdigi{
        height:38px;
    }

    .header-title h1{
        font-size:20px;
    }

    .header-title p{
        font-size:10px;
    }

    .badge-verifikasi{
        padding:8px 16px;
        font-size:13px;
    }

}

/* ===========================
   Mobile
=========================== */
@media (max-width: 767px) {

    .header{
        height:64px;
    }

    .header-container{
        padding:0 12px;
    }

    .header-left{
        gap:10px;
        min-width:0;
        flex:1;
    }

    .header-right{
        gap:5px;
    }

    .icon-bsre {
        height: 24px;
    }

    .logo-komdigi{
        height:34px;
        flex-shrink:0;
    }

    .header-title{
        min-width:0;
    }

    .header-title h1{
        font-size:17px;
        white-space:nowrap;
    }

    .header-title p{
        font-size:9px;
        white-space:nowrap;
    }

    .badge-verifikasi{
        padding:7px 12px;
        font-size:12px;
        white-space:nowrap;
        flex-shrink:0;
    }

}

/* ===========================
   Small Mobile
=========================== */
@media (max-width: 480px) {

    .header{
        height:60px;
    }

    .header-container{
        padding:0 10px;
    }

    .header-left{
        gap:8px;
    }

     .header-left{
        gap:8px;
    }

    .logo-komdigi{
        height:30px;
    }

    .header-title h1{
        font-size:15px;
    }

    .header-title p{
        font-size:8px;
    }

    .badge-verifikasi{
        padding:6px 10px;
        font-size:11px;
    }

     .vc-actions {
        flex-direction: column;
    }

    .vc-btn {
        width: 100%;
    }

}

.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    animation: toast-in .3s ease, toast-out .3s ease 3.7s forwards;
}

.toast-error {
    background: #dc2626;
    color: #fff;
}

@keyframes toast-in {
    from { opacity: 0; transform: translate(-50%, -16px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes toast-out {
    to { opacity: 0; transform: translate(-50%, -16px); }
}