/* Preloader Container */
#tatneft-preloader {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999999;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    /* Setup font */
}

/* Visibility Class */
body.is-loading #tatneft-preloader {
    display: block;
}

/* Badge Container (Capsule shape now) */
.tatneft-loader-badge {
    background: white;
    border-radius: 50px;
    /* Capsule */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 10px 15px;
    /* Right padding for text */
    gap: 12px;
    animation: badge-slide-up 0.3s ease-out;
}

/* The Oil Drop - Outlined / Vector Style */
.tatneft-drop {
    width: 24px;
    height: 24px;
    border: 2.5px solid #009e49;
    /* Green Stroke */
    background: transparent;
    /* No fill */
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    position: relative;
    margin-top: 3px;
    box-sizing: border-box;
}

/* Inner fill animation */
.tatneft-drop::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: #009e49;
    border-radius: 0 50% 50% 50%;
    opacity: 0.2;
    animation: drop-fill-pulse 1.5s infinite ease-in-out;
}

/* Loading Text */
.tatneft-text {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    animation: text-pulse 1.5s infinite ease-in-out;
}

/* Animations */
@keyframes drop-fill-pulse {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    50% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(0.6);
        opacity: 0;
    }
}

@keyframes text-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes badge-slide-up {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}