.bg-pri {
    background-color: #BE1244;
}

.bg-pri-l {
    background-color: #be1243b1;
    background-color: rgb(117, 142, 255);
}

.bg-secondary {
    background-color: #626365;
}

.bg-secondary-l {
    background-color: #626365c2;
}

.text-pri {
    color: #BE1244;
}

.text-pri-l {
    color: #BE1244b1;
}

.text-secondary {
    color: #626365;
}

.text-secondary {
    color: #626365c2;
}

.nowrap {
    text-wrap: nowrap;
    word-wrap: nowrap;
}

.z-div {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 996;
}

.switchTo {
    background: #BE1244;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.4s;
    color: #fff;
}

.switchTo:hover {
    background: #be1243de;
    color: #cabcff;
}

.demo-logo {
    width: 100%;
    height: 100px;
}

.demo-logo img {
    height: 100%;
}

img.animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}


.backendmodal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.backendmodal.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* Modal Dialog */
.backendmodal-dialog {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.20);
    max-width: 95vw;
    width: 750px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    position: relative;
    transform: translateY(-30px) scale(0.97);
    animation: modal-pop-in 0.28s cubic-bezier(.4, 1.7, .6, .85);
}

@keyframes modal-pop-in {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.93);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Close button */
.backendmodal-close {
    position: absolute;
    top: 8px;
    right: 14px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.15s;
    font-size: 1.3rem;
    z-index: 2;
    background-color: gray;
    padding: 2px;
    border-radius: 4px;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.backendmodal-close:hover {
    background-color: rgba(130, 130, 130, 0.596);
    color: #ff0000;
    transition: all 0.5s;
}

/* Responsive */
@media (max-width: 500px) {
    .backendmodal-dialog {
        max-width: 98vw;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }

    .backendmodal-close {
        top: 8px;
        right: 8px;
        font-size: 1.5rem;
    }
}

.backendmodal-content h2 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
}

.backendmodal-content p {
    margin-bottom: 1rem;
}

.backendmodal-action {
    padding: 0.5rem 1.2rem;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.18s;
    font-size: 1rem;
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.09);
}

.backendmodal-action:hover {
    background: #173f7b;
}






@-webkit-keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}


