/*
|----------------------------------------------------
| Fichier css pour composants ui
|----------------------------------------------------
*/



/*
* Imports
*/
@import url(components/buttons.css);

@import url(components/accordion.css);

@import url(components/links.css);

@import url(components/form.css);

@import url(components/inputs.css);

@import url(components/graph.css);

@import url(components/select.css);

@import url(components/video.css);

@import url(components/row.css);

@import url(components/tiny.css);

/*
 * General
 */
.text-opacity {
    opacity: .5;
}

.color-red {
    color: var(--red);
}

/*
 * Message error
 */
.ui-error-message-container {
    width: 100%;
    padding: 20px 15px 20px 25px;
    color: black;
    background: white;
    border-radius: 12px;
    box-shadow: 2px 2px 10px #00000026;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
}

.ui-error-message-container::before {
    content: "";
    min-width: 45px;
    min-height: 45px;
    background-image: url(../../resources/images/ui/exclamation.svg);
    background-size: 5px;
    background-color: var(--red);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}

.ui-error-message-container.true::before {
    content: "";
    min-width: 45px;
    min-height: 45px;
    background-image: url(../../resources/images/ui/check-white.svg);
    background-size: 18px;
    background-color: var(--green);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}

/*
 * Profile image
 */
.ui-profile-image-container {
    min-width: 75px;
    min-height: 75px;
    border: 1px solid #0000000f;
    border-radius: 50%;
    position: relative;
    max-width: 75px;
    max-height: 75px;
    overflow: hidden;
}

.ui-profile-image-content {
    min-width: 75px;
    max-width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 50%;
}

.ui-profile-image-container-upload-item {
    position: absolute;
    top: 5px;
    right: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--red);
    width: 35px;
    height: 35px;
    z-index: 20;
    border-radius: 50%;
}

.ui-profile-image-container-upload-item img {
    width: 18px;
    height: 18px;
}


.ui-vertical-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ui-horizontal-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 5px;
    color: var(--red);
}

.ui-vertical-item img {
    height: 15px;
}

.ui-vertical-item p {
    font-size: 14px;
    font-weight: 500;
    color: black;
}


.ui-horizontal-separator {
    height: 1px;
    width: calc(100% - 60px);
    background-color: var(--light-grey);
}


/*
 * Cta card item
 */
.ui-cta-card-item {
    padding: 15px;
    border: 1px solid var(--light-grey);
    border-radius: 10px;
}

.ui-cta-card-item.small-p {
    padding: 12px !important;
}

.ui-cta-card-item .profiling-card-item-left {
    min-width: 80px;
    min-height: 80px;
    width: 80px;
    height: 80px;
    border-radius: 6px;
}

.ui-cta-card-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 10px;
}

.ui-cta-card-item-top>img {
    min-width: 60px;
    max-height: 65px;
}

/*
 * Information importante
 */
.ui-warning-information-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fce3e3;
    border-radius: 15px;
    width: 100%;
}

.ui-warning-information-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    padding: 15px 25px;
    width: 100%;
}

.ui-warning-information-content-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ui-warning-information-content-left>svg {
    width: 30px;
    height: 30px;
}

.ui-warning-information-content-left>svg g {
    fill: var(--red);
}

.ui-warning-information-content-right>h4 {
    text-transform: uppercase;
}

.ui-primary-container-to-up {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background: white;
    position: fixed;
    z-index: 106;
    bottom: 0;
    left: 0;
    height: 80vh;
    border-radius: 25px 25px 0 0;
    width: 100%;

    animation: translateYAnim ease 400ms;
}

.ui-primary-content-to-up {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
    flex-direction: column;
    width: 100%;
}

.ui-primary-content-to-up-top {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.ui-primary-content-to-up-bottom {
    width: 100%;
    height: 70vh;
}

.ui-primary-content-to-up-top>img {
    cursor: pointer;
}

.ui-primary-content-to-up-bottom>img {
    width: 100%;
    max-height: 80vh;
}

.ui-primary-content-to-up-bottom>iframe {
    width: 100%;
    height: 100%;
}


@keyframes progressBar {
    0% {
        width: 2%;
    }

    100% {
        width: 60px;
    }
}

@keyframes inActive {
    0% {
        width: 7px;
        background-color: white;
    }

    100% {
        width: 60px;
        background-color: var(--light-red);
    }
}

@keyframes translateAnim {
    0% {
        transform: translate(-50%, -20%);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}