﻿.full-container {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.simple-container {
    padding: 1em;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 10px #00000029;
    border-radius: 10px;
    opacity: 1;
}

.simple-thin-border {
    border: 2px solid rgba(239,239,239,0.94);
}
.simple-3p-border {
    border: 3px solid rgba(239,239,239,0.94);
}

.simple-border {
    border: 2px solid rgb(70, 70, 70, .2);
    border-radius: 6px;
}

.solid-small-border {
    box-shadow: 0px 0px 6px #00000029;
    border-radius: 5px;
    opacity: 1;
}

.shadow-29 {
    box-shadow: 0px 0px 6px #00000029;
}

.link {
    cursor: pointer;
}

.required {
    color: red;
}

.required-success {
    color: #2eb82e;
}

.required-border-red {
    border-color: red;
}

.required-border-success {
    border-color: #2eb82e;
}

.width-1-2 {
    width: 50%;
}

.width-1-3 {
    width: 33%;
}

.width-1-4 {
    width: 25%;
}

.font-size-16 {
    font-size: 16px !important;
}

.font-size-18 {
    font-size: 18px !important;
}


/* Tooltip for discribe someting for user */

.b2b-tooltip-container {
    position: relative;
}

.b2b-tooltip {
    visibility: hidden;
    position: absolute;
    z-index: 1;
    display: inline-block;
    width: fit-content;
    padding: .3em .7em;
    color: #fff;
    background-color: rgb(105, 105, 105);
    border-radius: 5px;
    text-align: center;
    font-size: 13px;
    opacity: 0;
    transition: opacity 700ms;
}

    .b2b-tooltip-left {
        right: 100%;
    }

    .b2b-tooltip-left::after {
        content: " ";
        position: absolute;
        top: 20%;
        left: 100%; /* To the right of the tooltip */
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent transparent rgb(105, 105, 105);
    }

    .b2b-tooltip-right {
        left: 100%;
    }

        .b2b-tooltip-right::before {
            content: " ";
            position: absolute;
            top: 50%;
            right: 100%; /* To the left of the tooltip */
            border-width: 5px;
            border-style: solid;
            border-color: transparent rgb(105, 105, 105) transparent transparent;
        }
    
    .b2b-tooltip-top {
        top: 0;
        left: 50%;
    }
        .b2b-tooltip-top::after {
            content: " ";
            position: absolute;
            top: 100%;
            right: 50%; /* To the left of the tooltip */
            border-width: 5px;
            border-style: solid;
            border-color: rgb(105, 105, 105) transparent transparent transparent;
        }
        
    .b2b-tooltip-bottom {
        top: 100%;
        left: 50%;
    }
        .b2b-tooltip-bottom::before {
            content: " ";
            position: absolute;
            bottom: 100%;
            right: 50%; /* To the left of the tooltip */
            border-width: 5px;
            border-style: solid;
            border-color: transparent transparent rgb(105, 105, 105) transparent;
        }

.b2b-tooltip-container:hover .b2b-tooltip {
    visibility: visible;
    opacity: 1;
}


.promotions-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap: 0;
}

.promotion-item-container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    flex-basis: 33%;
    padding: .5em;
}

    .promotion-item-container:nth-child(3n) {
        padding-right: 0;
    }

    .promotion-item-container:nth-child(3n-2) {
        padding-left: 0;
    }

.promotion-item {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1em;
    width: 100%;
    height: 100%;
}

.promotion-item-main {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: .5em;
    width: fit-content;
    padding: 0;
}

.promotion-item-description {
    text-align: justify;
}

.promotion-item-countable {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: .2em .4em;
    background-color: #00aeef;
    color: #fff;
    width: fit-content;
    gap: .2em;
    border: none;
    border-radius: 6px;
    font-size: 14px;
}

.selected-promotion-item-counted {
    padding: .2em .4em;
    width: fit-content;
    border: none;
    border-radius: 6px;
    font-size: 14px;
}

.promotion-item-actions {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    justify-items: flex-start;
    width: auto;
    height: fit-content;
}

.promotion-item-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #fff;
    border: none;
    border-radius: 6px;
    width: fit-content;
    aspect-ratio: 1;
    font-size: 24px;
}

.promotion-item-add-btn {
    background-color: green;
}

.promotion-item-remove-btn {
    background-color: red;
}

.promotion-item-btn:hover {
    opacity: .7;
    cursor: pointer;
}
