.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.6s ease-in forwards;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skeleton-loader {
    background: #f6f7f8;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton {
    background: linear-gradient(90deg, #e0e0e0 25%, #f6f6f6 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 5px;
}

/* Skeleton for Image */
.skeleton.image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
}

/* Skeleton for Text Elements */
.skeleton.text {
    width: 80%;
    height: 15px;
    margin: 5px auto;
}

/* Skeleton for Auction Number */
.skeleton.auction-number {
    width: 50%;
    height: 20px;
    margin: 10px auto;
}

/* Skeleton for Small Countdown Boxes */
.skeleton.small-box {
    width: 40px;
    height: 25px;
    margin: auto;
}

/* Skeleton for High Bid Amount */
.skeleton.high-bid {
    width: 60%;
    height: 20px;
    margin: auto;
}

/* Skeleton for Storage Facility Name */
.skeleton.storage-name {
    width: 70%;
    height: 18px;
    margin: 10px auto;
}

/* Skeleton for Address */
.skeleton.address {
    width: 90%;
    height: 14px;
    margin: 5px auto;
}

/* Skeleton for Button */
.skeleton.button {
    width: 50%;
    height: 30px;
    margin: auto;
}

/* Skeleton Loading Animation */
@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 768px) {

    /* Targets small screens */
    .login-popup {
        margin-top: 20px !important;
    }
}

.alertNotification {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    /* Centering on the viewport */
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centering trick */
    margin: 4px 10px;
    color: inherit;
    flex: 1 1 auto;
    white-space: pre-line;
    background: #fff;
    color: #363636;
    line-height: 1.3;
    will-change: transform;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
    max-width: 500px;
    pointer-events: auto;
    padding: 8px 10px;
    border-radius: 8px;
    z-index: 9999;
    /* Ensures it stays on top */
}

.bootstrap-switch-handle-on.bootstrap-switch-primary {
    color: #fff;
    background: #1C421D !important;
}


.table-skeleton-overlay {
    position: absolute;
    background: #f0f0f0;
    opacity: 0.7;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
    pointer-events: none;
    animation: shimmer 1.2s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

.swiper-container {
    width: 100%;
    height: 260px; /* Adjust based on your image height */
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}
