/* Thanks POPUP */
#thankPopup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 92%;
    max-width: 400px;
    height:100%;
    max-height: 60vh;

    padding: 22px 18px;

    border-radius: 24px;

    background:
        linear-gradient(145deg,#07111d,#0d1b2d,#07111d);

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 20px 60px rgba(0,0,0,.65),
        0 0 30px rgba(255,170,0,.12);

    backdrop-filter: blur(14px);

    z-index: 99999;

    overflow-y: auto;

    display: none;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

#thankPopup.show {
    display: flex;
}

/* ===== Scroll ===== */
#thankPopup::-webkit-scrollbar{
    width: 4px;
}

#thankPopup::-webkit-scrollbar-thumb{
    background: rgba(255,179,0,.5);
    border-radius: 10px;
}

#thankPopup *{
    position: relative;
    z-index: 2;
}

/* ===== Title ===== */
#thankPopup h2{
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;

    margin-bottom: 10px;
}

/* ===== Subtitle ===== */
#thankPopup > p{
    color: rgba(255,255,255,.78);

    font-size: 15px;
    line-height: 1.6;

    margin-bottom: 20px;
}

/* ===== User Details ===== */
.user-details{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== Detail Row ===== */
.user-details .detail{
    margin: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    padding: 5px 14px;

    font-size: 15px;
    color: #fff;

    transition: .3s ease;
}


.user-details .detail b{
    color: #ffb300;
    white-space: nowrap;
}

.user-details .detail span{
    color: #fff;
    font-weight: 600;

    text-align: right;
    word-break: break-word;
}

/* ===== Login Button ===== */
#thankPopup a{
    width: 100%;
    margin-top: 18px;

    height: 50px;

    border-radius: 15px;

    background: linear-gradient(135deg,#ffb300,#ff8800);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    text-decoration: none;

    color: #fff !important;

    font-size: 18px;
    font-weight: 700;

    transition: .3s ease;

    box-shadow:
        0 10px 24px rgba(255,166,0,.28);
}

#thankPopup a:hover{
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(255,166,0,.4);
}

#thankPopup a svg{
    width: 20px;
    height: 20px;
}

/* ===== Mobile ===== */
@media(max-width:480px){

    #thankPopup{
        width: calc(100% - 24px);
        height: 65vh;

        padding: 18px 14px;

        border-radius: 20px;
    }

    #thankPopup h2{
        font-size: 24px;
    }

    #thankPopup > p{
        font-size: 14px;
    }

    .user-details .detail{
        font-size: 14px;
        padding: 11px 12px;
    }

    #thankPopup a{
        height: 48px;
        font-size: 16px;
    }
}

/* Notify container CSS: */
#notify-container {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    width: 100%;
    max-width: 385px;
}

.notify-box {
    width: 100%;
    background: #07182D;
    border-radius: 5px;
    padding: 18px 20px;
    margin-top: 10px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: 0 8px 20px rgb(51 45 45 / 8%);
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDown .4s forwards;
    position: relative;
    border: 1px solid #525252ba;
}

.notify-remove {
    position: absolute;
    right: 15px;
    top: 50%;
    cursor: pointer;
    transform: translateY(-50%);
}

.notify-icon {
    font-size: 22px;
    margin-top: 2px;
}

.notify-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.notify-content p {
    font-size: 14px;
    margin: 4px 0 0;
    opacity: .8;
    padding: 0 20px 0 0;
}

.notify-success {
    border-left: 4px solid #00c96d;
}

.notify-error {
    border-left: 4px solid #ff4d4d;
}

.notify-warning {
    border-left: 4px solid #ffcc00;
}

.notify-warning-msg {
    border-left: 2px solid #ffcc00;
    padding: 0 5px;
    color: #ffcc00;
}

.notify-error-msg {
    border-left: 2px solid #ff4d4d;
    padding: 0 5px;
    color: #ff4d4d;
}

.notify-info-msg {
    border-left: 2px solid #3fa7ff;
    padding: 0 5px;
    color: #3fa7ff;
}

.form-container>.notify-info-msg {
    display: block;
    margin: 0 0 15px 3px;
}

.notify-success-msg {
    border-left: 2px solid #00c96d;
    padding: 0 5px;
    color: #00c96d;
}

.notify-info {
    border-left: 4px solid #3fa7ff;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-box [class*=notify-] {
    margin: 0 0 0 15px;
    display: inline-block;
    text-align: center;
}

.small,
small {
    font-size: .8em;
}

.balance .total {
    margin-left: 5px;
}