﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --logo-purple-dark: #66257f;
    --rz-selectbar-color: #4f4f50;
    --success: #008000;
    --danger: #dc3545;
    --formiris-purple: #67207f;
    --formiris-green: #61934a;
    --formiris-gris: #e9eaed;
    --card-gray: #444444;
    --gray-background: #f2f2f2;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: none !important;
}

a, .btn-link {
    color: #0366d6;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid var(--danger) !important;
}

.validation-message {
    color: var(--danger);
}

form .validation-message {
    font-size: small;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "Une erreur s'est produite."
}

.whiteColor {
    color: white;
}

.spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #d3d3d39c;
    left: 0;
    top: 0;
    border-radius: 10px;
}

.icon-bottom {
    vertical-align: bottom;
}

.rz-tabview-panels {
    border: none !important;
}

.rz-tabview-nav li {
    background-color: white !important;
}

.rz-tabview-top > .rz-tabview-nav .rz-tabview-selected {
    border-top-color: var(--logo-purple-dark) !important;
}

.rz-selectbutton .rz-button.rz-button-md.rz-state-active {
    background-color: rgb(160 119 175 / 14%) !important;
    color: #66257f !important;
}

.default-selected-item.custom-selected .rz-button.rz-button-md.rz-state-active {
    background-color: var(--formiris-purple) !important;
    color: white !important;
}

.card {
    font-size: 14px;
    margin: 5px 10px;
    -webkit-box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
    background-color: #f2f2f2 !important;
    position: relative;
    display: block;
    padding: 30px 30px 30px 30px;
    min-height: 250px;
    max-width: 40rem;
    color: #444444;
}

.status {
    border-radius: 5px;
    font-weight: bold;
    font-size: smaller;
    font-style: italic;
    padding: 6px 8px;
}

.icon-statut {
    vertical-align: text-bottom !important;
    font-size: small !important;
}

.synthese {
    display: flex;
    align-items: center;
    padding: 0 0.25rem 0 0;
    gap: 0.25rem;
    text-transform: none;
}

.custom-selected {
    width: 100%;
}

.custom-selected .rz-button {
    background-color: #e0dfdf !important;
    color: var(--rz-text-body1-color) !important;
    border-radius: 5px !important;
    flex: 1;
}

.custom-selected .rz-button.rz-button-md.rz-state-active {
    background-color: var(--formiris-purple) !important;
    color: white !important;
    border-radius: 5px !important;
}

.rz-selectbar .rz-button.rz-state-active {
    background-color: var(--formiris-purple) !important;
    color: white !important;
}

.vertical-select {
    flex-direction: column !important;
}

.outline-btn {
    background-color: white !important;
    color: var(--formiris-purple) !important;
    border-radius: 5px !important;
    border: 2px solid var(--formiris-purple) !important;
}

.right-icon-in-button {
    padding: 0 0 0 6px;
}

.margin-top-10 {
    margin-top: 10px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.date-selection {
    .date-associee {
        background-color: var(--formiris-purple) !important;
    }

    .date-non-associee {
        background-color: #e0dfdf !important;
        color: var(--rz-selectbar-color) !important;
    }

    .rz-button {
        border-color: none !important;
        outline: none !important;
        border-radius: 5px !important;
    }

}

.form-control:disabled, .form-control[readonly] {
    background-color: #e0dfdf !important;
    padding: 20px;
}

.rz-textbox {
    background-color: #ffffff !important;
    border-radius: 5px !important;
    padding: 20px !important;
}

.rz-badge-success.rz-shade-default {
    background-color: var(--formiris-green) !important;
}

.rz-chkbox-box .rzi {
    color: var(--formiris-purple) !important;
}

a, .btn-link {
    color: var(--formiris-purple) !important;
}

.infos-formation {
    color: var(--formiris-purple);
    font-size: 22px !important;
    vertical-align: text-bottom;
    margin-right: 0.5em;
}

.product-title {
    min-height: 72px;
    background-color: var(--gray-background);
}

.price-badge {
    font-size: 16px !important;
    font-weight: bold !important;
    line-height: 20px !important;
    padding: 8px !important;
}

.recap-frais {
    .justificatif:hover {
        color: var(--formiris-purple) !important;
    }

    .rz-badge-secondary.rz-shade-lighter {
        color: var(--formiris-purple) !important;
        background-color: #e2beef !important;
    }

    .explication-simulation {
        font-style: italic;
    }

    .rz-text-h6 {
        font-size: large !important;
    }
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: normal !important;
}

.rz-dialog-confirm-buttons {
    flex-direction: row-reverse !important;
    justify-content: center !important;
}

.rz-dialog-confirm-buttons .rz-button {
    flex: none !important;
}

.rz-dialog-confirm {
    max-width: none !important;
}

.rz-dialog-confirm-buttons .rz-primary {
    background-color: var(--formiris-purple) !important;
}

.rz-dialog-confirm-buttons .rz-secondary {
    background-color: var(--formiris-gris) !important;
    color: var(--gray) !important;;
}

.menu-custom {
    gap: 1rem;
}

.rz-navigation-item-text {
    font-family: WeissenhofGrotesk, sans-serif;
    font-weight: 600;
    font-size: small;
}

.rz-navigation-item-wrapper {
    padding: 0.25em;
}

.rz-navigation-item-icon-children {
    color: #80808096 !important;
    margin-left: 2px;
}

.rz-navigation-item-wrapper:hover {
    background-color: rgba(0, 0, 0, 0.12) !important;

    .a {
    }

    .rzi {
        color: var(--rz-menu-top-item-color) !important;
    }

    .rz-navigation-item-link {
        color: var(--rz-menu-top-item-color) !important;
    }

    .rz-navigation-item-icon {
        color: var(--rz-menu-top-item-color) !important;
    }

    .rz-navigation-item-text {
        color: var(--rz-menu-top-item-color) !important;
    }
}

.rz-progressbar-indeterminate .rz-progressbar-circular-value {
    stroke: var(--formiris-purple) !important;
}

#user-icon {
    color: var(--rz-menu-top-item-color) !important;
    font-size: medium;
    vertical-align: bottom;
    padding-bottom: 3px;
    padding-right: 2px;
}

.icon-moncompte {
    font-size: large;
    margin-right: 0.5em;
    margin-top: 0.1em;
}

.empty-moncompte {
    font-style: italic;
    margin-top: 1px;
    color: #80808096 !important;
}

.rz-dialog-confirm-buttons .secondary {
    background-color: var(--rz-base-200) ! important;
    color: var(--rz-text-color) !important;
}

.menu-active {
    background-color: var(--gray-background);
}

.rz-progressbar-indeterminate .rz-progressbar-circular-value {
    stroke: var(--formiris-purple) !important;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

html {
    scroll-behavior: smooth;
}

.bouton-primary {
    cursor: pointer !important;
    background-color: var(--formiris-purple) !important;
    width: max-content !important;;
}

.object-fit-contain {
    object-fit: contain;
}

@media (max-width: 640.98px) {
    .type-demandes-selectbar {
        flex-direction: column !important;
    }
}

.rz-chkbox-box {
    border-color: var(--logo-purple-dark) !important;
}

.rz-growl-message p {
    font-size: larger !important;
}

.rz-growl-image.rzi-times {
    color: #FFF176 !important;
}

.rz-growl-image.rzi-times::before {
    content: "warning" !important;
}