﻿.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.flex-grow-1 {
    flex-grow: 1;
}

.ml-2 {
    margin-left: 0.5rem;
}

.hidden {
    display: none;
}

.position-relative {
    position: fixed;
}

.position-absolute {
    position: fixed;
    /*top: 90%;*/
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-icon {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #D20B0F; /* Red */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.scroll-top {
    position: fixed;
    bottom: 20px; /* Distance from the bottom of the page */
    left: 20px; /* Distance from the left side of the page */
    width: 40px; /* Width of the button */
    height: 40px; /* Height of the button */
    background-color: #D20B0F; /* Background color of the button */
    color: white; /* Color of the icon */
    border-radius: 50%; /* Make the button circular */
    text-align: center;
    line-height: 40px; /* Center the icon vertically */
    z-index: 1000; /* Ensure it is above other elements */
    display: none; /* Initially hidden */
    transition: all 0.3s ease; /* Smooth transition for appearance */
}

    .scroll-top i {
        font-size: 20px; /* Size of the icon */
    }

    .scroll-top.show {
        display: flex; /* Show the button when the 'show' class is added */
    }
