.cert-popup,
.loader-popup,
.error-popup{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:
    rgba(0,0,0,0.72);

    display:flex;

    align-items:center;
    justify-content:center;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:999999;

    backdrop-filter:blur(8px);

    padding:20px;
}

.show-popup{

    opacity:1 !important;

    visibility:visible !important;
}

.cert-popup-box{

    width:100%;
    max-width:440px;

    background:
    linear-gradient(
        145deg,
        rgba(12,20,35,0.95),
        rgba(18,32,52,0.95)
    );

    border-radius:28px;

    padding:38px 30px;

    text-align:center;

    border:1px solid
    rgba(255,255,255,0.08);

    box-shadow:
    0 0 50px rgba(0,255,174,0.18);

    transform:
    scale(.88)
    translateY(40px);

    transition:.35s;
}

.show-popup .cert-popup-box{

    transform:
    scale(1)
    translateY(0);
}

/* SUCCESS ICON */

.success-icon{

    width:110px;
    height:110px;

    margin:auto;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(0,255,174,0.18),
        rgba(0,255,174,0.02)
    );

    display:flex;

    align-items:center;
    justify-content:center;

    margin-bottom:22px;

    border:2px solid
    rgba(0,255,174,0.25);
}

.success-icon span{

    width:74px;
    height:74px;

    border-radius:50%;

    background:
    linear-gradient(
        135deg,
        #00ffae,
        #00d492
    );

    display:flex;

    align-items:center;
    justify-content:center;

    color:#03131f;

    font-size:36px;

    font-weight:800;
}

/* TITLE */

.cert-popup-box h2{

    color:white;

    font-size:32px;

    margin-bottom:10px;
}

.popup-subtitle{

    color:#9cb0c5;

    font-size:15px;

    margin-bottom:28px;

    line-height:1.7;
}

/* DETAILS */

.cert-details{

    background:
    rgba(255,255,255,0.04);

    border-radius:18px;

    padding:22px;

    text-align:left;

    margin-bottom:25px;
}

.detail-row{

    margin-bottom:18px;
}

.detail-row:last-child{

    margin-bottom:0;
}

.detail-label{

    display:block;

    color:#00ffae;

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:6px;
}

.detail-value{

    color:white;

    font-size:17px;

    font-weight:600;
}

/* BUTTON */

.popup-btn{

    width:100%;

    border:none;

    padding:15px;

    border-radius:16px;

    background:
    linear-gradient(
        135deg,
        #00ffae,
        #00d492
    );

    color:#04131f;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;
}

.popup-btn:hover{

    transform:translateY(-2px);

    box-shadow:
    0 12px 25px rgba(0,255,174,0.25);
}

/* LOADER */

.loader{

    width:75px;
    height:75px;

    border-radius:50%;

    border:5px solid
    rgba(255,255,255,0.08);

    border-top:5px solid #00ffae;

    animation:spin 1s linear infinite;
}

@keyframes spin{

    100%{
        transform:rotate(360deg);
    }
}

.loader-text{

    color:white;

    font-size:18px;

    margin-top:20px;

    text-align:center;
}

/* MOBILE */

@media(max-width:500px){

    .cert-popup-box{

        padding:32px 22px;
    }

    .cert-popup-box h2{

        font-size:27px;
    }

    .detail-value{

        font-size:15px;
    }
}