﻿
.loading-state {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.loading {
    position: absolute;
    top: 40%;
    left: 46%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 10px solid #ddd;
    border-top-color: #8042CF;
    animation: loading 1s linear infinite;
    /*transform: translate(-50%, -50%);*/
}

@keyframes loading {
    to {
        transform: rotate(360deg);
    }
}

.popup {
    display: none;
    position: absolute;
    top: 50%; /* vertical center */
    left: 120px; /* horizontal center */
    transform: translate(-50%, -50%); /* perfect centering */
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 1px solid #ccc;
    padding: 10px;
    z-index: 1000;
    min-width: 150px;
    border-radius: 6px;
}

    /* 🔽 Arrow */
    .popup::before {
        content: "";
        position: absolute;
        left: -24px; /* arrow sticks out on left */
        top: 50%; /* vertically centered */
        transform: translateY(-50%);
        border-width: 13px;
        border-style: solid;
        border-color: transparent #ffffff transparent transparent;
    }

    /* Optional border for arrow */
    .popup::after {
        content: "";
        position: absolute;
        left: -25px;
        top: 50%;
        transform: translateY(-50%);
        border-width: 13px;
        border-style: solid;
        border-color: #00000000 #cccccc transparent transparent;
        z-index: -1;
    }

.popup-content h4 {
    margin: 0 0 8px;
    font-size: 14px;
}

.popup-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .popup-content ul li {
        margin: 5px 0;
    }

        .popup-content ul li a {
            color: #007bff;
            text-decoration: none;
        }

            .popup-content ul li a:hover {
                text-decoration: underline;
            }

.close-btn {
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

/*This is for popup msg of cookies*/

.bs-popup {
    position: fixed;
    bottom: 24px;
    right: 0;
    max-width: 538px;
    background: linear-gradient(rgb(0 0 0 / 65%), rgb(0 0 0 / 65%));
    background-size: cover;
    background-position: center;
    color: #001029;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 11px 11px 11px 11px;
    font-size: 14px;
    z-index: 1055;
    animation: slideUp 0.3s ease-out;
}

.bs-popup__header {
    position: absolute;
    right: 0;
    margin: 5px 5px;
}

.bs-popup__close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #d1d1d1;
    color: #4a4a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bs-popup__body {
    line-height: 26px;
    padding: 12px 6px 5px 10px;
    font-size: 13px;
    font-weight: 500;
    color: #2765c1;
}

.body_popup {
    background-color: white;
    width: 100%;
    border-radius: 5px;
    position: relative;
    padding-right: 20px;
}


@keyframes slideUp {
    from {
        transform: translateY(15px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/*pop up cookies message end*/