html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

main {
    margin-bottom: 100px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
}

.cart-container, .favorites-container, .mydocuments-container {
    position: relative;
    display: inline-block;
}

.logo {
    color: #61B6F6;
    margin-left: 10px;
    font-size: 16px;
    font-weight: bold;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn {
    border-radius: 4px !important;
}

.btn-cart-product-count {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
    width: 24px;
    font-size: 24px;
    border: 0px;
}

.btn-comparison-list {
    margin-top: 20px;
}

.btn-favorites-list {
    border: 0px;
    fill: #E35B59;
}

    .btn-favorites-list:hover {
        background-color: #E35B59;
    }

        .btn-favorites-list:hover svg {
            fill: white;
        }

.btn-favorites-list-page {
    border: 0px;
}

    .btn-favorites-list-page svg {
        fill: #E35B59;
    }

    .btn-favorites-list-page:hover svg {
        fill: white;
    }

    .btn-favorites-list-page:hover {
        background-color: #E35B59;
    }

.btn-cart-product-count:hover {
    background-color: #e8e8e8;
}

.btn-group-vertical > button {
    margin-bottom: 10px;
}

.btn-authorization {
    margin-top: 15px;
}

.btn-registration {
    border: 0px;
    margin-top: 5px;
}

    .btn-registration:hover {
        color: black;
        background-color: white;
    }

body {
    overflow: hidden; /* Prevent scrollbars */
}

.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allow clicks to pass through */
}

.snow {
    position: absolute;
    top: -10%;
    width: 10px;
    height: 10px;
    background: #d4ebf2;
    opacity: 0.8;
    border-radius: 50%;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100vh);
    }
}

/* Randomize snowflakes */
.snow:nth-child(1) {
    left: 10%;
    animation-duration: 3s;
    animation-delay: 0s;
}

.snow:nth-child(2) {
    left: 30%;
    animation-duration: 4s;
    animation-delay: 1s;
}

.snow:nth-child(3) {
    left: 50%;
    animation-duration: 5s;
    animation-delay: 2s;
}

.snow:nth-child(4) {
    left: 70%;
    animation-duration: 6s;
    animation-delay: 3s;
}

.snow:nth-child(5) {
    left: 90%;
    animation-duration: 7s;
    animation-delay: 4s;
}
.card {
    border-radius: 8px !important;
    box-sizing: border-box;
}

.card-favorites {
    border-radius: 8px !important;
    margin-top: 10px;
}

.card-link {
    color: #212529;
    text-decoration: none;
}

.card-price {
    margin-bottom: 1em;
}

.cart-product-count {
    display: flex;
    align-items: center;
    height: 40px;
}

.card-footer {
    background-color: #ffffff;
    border: 0px;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

.cart-product-count span {
    font-size: 16px;
    margin: 0 2px;
}
.document-icon{
    width:64px;
    height:64px;    
}
    .document-icon:hover {
        background-color: #f8f9fa;
        border: 2px solid lightgray;
        border-radius: 10px;
    }
.required-field-mark {
    color: #ff0000;
}

.page-title {
    margin-top: 20px;
}

.bike-parts-compare {
    margin-top: 10px;
}

.page-title-favorites-services {
    margin-top: 60px;
}

.small-badge {
    font-size: 0.75rem;
    padding: 0.25em 0.4em;
}

.search-group {
    position: relative;
    max-width: 700px;
}

.search-icon {
    width: 20px;
    height: 20px;
}

.chk-should-remember-me {
    margin-top: 20px;
}

.form-input {
    height: 35px;
    width: 75%;
}

.form-input-label {
    margin-top: 10px;
}

.form-center-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

    .form-center-input-wrapper label {
        width: 75%;
        text-align: left;
        margin-bottom: 5px;
    }

.admin-nav {
    width: 200px;
    padding: 0;
    margin-top: 20px;
    list-style-type: none;
    border: none;
}

.admin-nav-item {
    border: 1px solid #dee2e6;
    border-width: 1px 1px 0 1px;
    border-radius: 0;
    padding: 10px;
    margin: 0;
}

    .admin-nav-item:first-child {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .admin-nav-item:last-child {
        border-width: 1px;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }

.admin-nav-link {
    display: block;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.admin-nav-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #000;
}

    .admin-nav-item:hover .admin-nav-link {
        text-decoration: none;
        color: #000;
    }

.admin-menu-container {
    border: 1px solid #dee2e6;
    padding: 20px;
    border-radius: 5px;
    max-width: 100%;
    margin: 20px;
    background-color: #ffffff;
}


.employee-nav {
    width: 200px;
    padding: 0;
    margin-top: 20px;
    list-style-type: none;
    border: none;
}

.employee-nav-item {
    border: 1px solid #dee2e6;
    border-width: 1px 1px 0 1px;
    border-radius: 0;
    padding: 10px;
    margin: 0;
}

    .employee-nav-item:first-child {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .employee-nav-item:last-child {
        border-width: 1px;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }

.employee-nav-link {
    display: block;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.employee-nav-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #000;
}

    .employee-nav-item:hover .employee-nav-link {
        text-decoration: none;
        color: #000;
    }

.employee-menu-container {
    border: 1px solid #dee2e6;
    padding: 20px;
    border-radius: 5px;
    max-width: 100%;
    margin: 20px;
    background-color: #ffffff;
}


.order-container {
    border: 1px solid #dee2e6;
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    margin: 20px;
    background-color: #ffffff;
}

.order-detail {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

    .order-detail div:first-child {
        font-weight: bold;
        color: #838383;
    }

.order-thead {
    font-weight: bold;
    color: #838383;
}






/*  стили для тегов */
.hover-button {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #212529;
    border: 1px solid #212529;
    padding: 0.375rem 0.75rem;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth color transitions */
}

.hover-button .cross {
    /*  position: absolute; */
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
    color: white;
    display: none;
    transition: opacity 0.3s ease; /* Smooth fade-in effect */
}

.hover-button:hover {
    background-color: #212529; /* Change to orange background on hover */
    color: white; /* Change text color to black on hover */
}

    .hover-button:hover .cross {
        display: initial;
    }

.hover-button .cross:hover {
    background-color: #808080;
    border: 1px solid lightgray;
    margin: 2px;
    border-radius: 3px;
}