@font-face {
    font-family: Poppins-regular;
    src: url("../font/Poppins/Poppins-Regular.ttf");
}

@font-face {
    font-family: Nunito_sans;
    src: url("../font/Nunito_Sans/NunitoSans-Regular.ttf");
}

/* Codes couleurs pour le texte */
.text-black {
    color: #091723;
}

.text-g0 {
    color: #1e4b70;
}

.text-g1 {
    color: #537490;
}

.text-g2 {
    color: #859eb1;
}

.text-g3 {
    color: #bccbd4;
}

.text-g4 {
    color: #e8edf0;
}

.text-g5 {
    color: #f6f8f9;
}

.text-primary {
    color: #39a0ed;
}

.text-secondary {
    color: #94b0da;
}

.text-status-alert {
    color: #ef233c;
}

.text-status-success {
    color: #3ec300;
}

.text-alert {
    font-size: 18px;
}

/* Codes couleurs pour le fond */
.bg-black {
    background-color: #091723;
}

.bg-g0 {
    background-color: #1e4b70;
}

.bg-g1 {
    background-color: #537490;
}

.bg-g2 {
    background-color: #859eb1;
}

.bg-g3 {
    background-color: #bccbd4;
}

.bg-g4 {
    background-color: #e8edf0;
}

.bg-g5 {
    background-color: #f6f8f9;
}

.bg-style-primary {
    background-color: #39a0ed;
}

.bg-style-secondary {
    background-color: #94b0da;
}

.bg-status-alert {
    background-color: #ef233c;
}

.bg-status-success {
    background-color: #3ec300;
}

.border-black {
    border-color: #091723;
    border-width: 2px;
}

/* Code couleur pour les bordures */
.border-g0 {
    border-color: #1e4b70;
    border-width: 1px;
}

.border-g1 {
    border-color: #537490;
    border-width: 1px;
}

.border-g2 {
    border-color: #859eb1;
    border-width: 1px;
}

.border-g3 {
    border-color: #bccbd4;
    border-width: 1px;
}

.border-g4 {
    border-color: #e8edf0;
    border-width: 1px;
}

body {
    font-family: Nunito_sans, serif;
}

header {
    font-family: Poppins-regular, serif;
}

.list-group.compact>.list-group-item {
    border: 0 none;
    padding: .7rem .25rem;
}

.list-group.compact>.list-group-item:first-child {
    padding-top: 0;
}

.list-group.compact>.list-group-item:last-child {
    padding-bottom: 0;
}

.dropdown-item {
    font-size: 14px;
}

.table-contrats {
    height: 500px !important;
    overflow: auto !important;
}

.table-users {
    height: 450px !important;
    overflow: auto !important;
}

.table-sinistres {
    overflow: auto !important;
}

.img-der {
    width: 400px;
}

.footer-connexion {
    margin-top: 250px;
}

.formulaire-connexion {
    margin-top: 50px;
}

.card-courtier {
    font-size: 20px;
}

.numTel-courtier {
    font-size: 40px;
}

.hidden {
    display: none;
}

.other-powers {
    text-decoration: underline #e8edf0;
}


/* Gestion écrans mobiles */
@media screen and (max-width: 480px) {
    ul .btn {
        display: block;
    }

    .nav-link {
        margin: 0 !important;
        display: flex;
        justify-content: center;
    }

    .btn-menu {
        display: inline-block;
    }

    .footer-connexion {
        margin-top: 85px;
    }

    .font-size-stats-dashboard {
        font-size: 12px;
    }

    .div-map {
        display: none !important;
        margin-top: 12px;
    }

    #map {
        display: none;
    }

    .entete-detail-sinistre-titre {
        font-size: 12px !important;
    }

    .cards-detail-sinitre {
        font-size: 10px !important;
    }

    .gestionnaire-titre-detail-sinistre {
        font-size: 12px !important;
    }

    .actionIntitule {
        display: none;
    }

    .actionUpload {
        display: none;
    }

}

/* Gestion écrans tablettes */
@media screen and (max-width: 900px) {
    .nav-link {
        margin: 0 !important;
    }

    .font-size-stats-dashboard {
        font-size: 13px;
    }

    .col-md-4 {
        max-width: 100% !important;
        flex: none !important;
    }

    .entete-detail-sinistre-titre {
        font-size: 20px;
    }

    .cards-detail-sinitre {
        font-size: 14px;
    }

    .gestionnaire-titre-detail-sinistre {
        font-size: 20px;
    }

    .div-map {
        margin-top: 20px;
    }

    .actionIntitule {
        display: none;
    }

    .modalSinistreRefClient {
        display: none;
    }
}

#divShadow {
    box-shadow: 5px 10px 30px dimgrey;
}

#badgeDashboard {
    box-shadow: 5px 10px 20px #1e4b70;
}

#divContrats {
    box-shadow: 5px 10px 30px dimgrey;
}

#divSinistres {
    box-shadow: 5px 10px 30px dimgrey;
}

/* Animations */
#actionsContrats,
#actionsSinistres {
    animation: bounce 0.5s ease infinite alternate;
    box-shadow: 5px 10px 20px #1e4b70;
}

@keyframes bounce {
    from {
        transform: rotateX(0);
    }

    to {
        transform: rotateX(30deg);
    }
}

#header {
    animation: zoom 0.5s ease alternate;
}

#navbar-main {
    position: relative;
}

.zoom {
    transition: transform .2s;
    /* Animation */
}

.zoom:hover {
    transform: scale(1.05);
    /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

#btn-header {
    animation: slide 0.5s ease alternate;
}

@keyframes slide {
    from {
        margin-right: 100%;
        width: 300%;
    }

    to {
        margin-right: 0;
        width: 100%;
    }
}

/*Animation texte d'information */
.message-box {
    position: absolute;
    top: 80px;
    overflow: hidden;
    width: 400px;
    height: 25px;
    font-family: 'Open Sans', 'sans-serif';
}

.item-1,
.item-2,
.item-3,
.item-4 {
    position: absolute;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 2;
    opacity: 0;
}

.item-1 {
    animation-name: anim-1;
}

.item-2 {
    animation-name: anim-2;
}

.item-3 {
    animation-name: anim-3;
}

.item-4 {
    animation-name: anim-4;
}

@keyframes anim-1 {
    0% {
        opacity: 0;
    }

    0%,
    8.3% {
        left: 15%;
        opacity: 0;
    }

    8.3%,
    15% {
        left: 25%;
        opacity: 1;
    }

    18.33%,
    100% {
        left: 30%;
        opacity: 0;
        display: none;
    }
}

@keyframes anim-2 {
    0% {
        opacity: 0;
    }

    1%,
    18.33% {
        left: 15%;
        opacity: 0;
    }

    33.33%,
    43.33% {
        left: 25%;
        opacity: 1;
    }

    46.33%,
    100% {
        left: 30%;
        opacity: 0;
    }
}

@keyframes anim-3 {
    0% {
        opacity: 0;
    }

    1%,
    46.33% {
        left: 15%;
        opacity: 0;
    }

    51.33%,
    61.33% {
        left: 25%;
        opacity: 1;
    }

    63.33%,
    100% {
        left: 30%;
        opacity: 0;
    }
}

@keyframes anim-4 {
    0% {
        opacity: 0;
    }

    1%,
    63.33% {
        left: 15%;
        opacity: 0;
    }

    68.33%,
    100% {
        left: 25%;
        opacity: 1;
    }

    100% {
        left: 30%;
        opacity: 0;
    }
}

.step-container {
    margin: auto;
    max-width: 1030px;
    width: 100%;
}

.step-container .step-number {
    font-size: 2rem;
    font-weight: 900;
    mix-blend-mode: difference;
    top: -20px;
    left: -5px;
}

.step-container .step-body {
    margin: auto;
    row-gap: 2rem;
}

.step-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.1rem;
    height: 2rem;
}

.step-container .step-card {
    max-width: 155px;
    gap: 0.7rem;
    margin: 0 auto;
}

.step-container .step-card .picto-img {
    width: 56px;
}

.step-container .img-pending {
    width: 50px;
}

.step-card:not(:first-child)::before {
    content: ">>";
    font-family: 'Poppins-regular';
    font-weight: bold;
    font-size: 2.5rem;
    letter-spacing: -6px;
    color: #f5e1d0;
    position: absolute;
    left: -20px;
    top: 25px;
}

/* MESSAGERIE */
#MessageDetails {
    position: relative;
    padding: 1.5rem;
    height: 76vh;
    padding-bottom: 11rem;
    padding-top: 3.5rem;
    border-radius: 0.5rem;
    overflow: s;
}

.messages-container {
    height: 100%;
    overflow-y: scroll;
    white-space: pre-line;
}

.sinistre-coming {
    opacity: 0.25;
}

.messages-container {
    scrollbar-width: thin;
    /* Pour Firefox */
    scrollbar-color: transparent transparent;
    /* Couleur de la poignée et de la piste */
}

.messages-container::-webkit-scrollbar {
    width: 0.5em;
}

.messages-container::-webkit-scrollbar-thumb {
    background-color: transparent;
}

.messages-container::-webkit-scrollbar-track {
    background-color: transparent;
}

.messages-container::-webkit-scrollbar-thumb:horizontal {
    background-color: transparent;
}

.messages-container::-webkit-scrollbar-thumb:vertical {
    background-color: transparent;
}

.messages-container::-webkit-scrollbar-track:horizontal {
    background-color: transparent;
}

.messages-container::-webkit-scrollbar-track:vertical {
    background-color: transparent;
}




.conversation__title {
    font-size: 1.4rem;
    position: absolute;
    top: 10px;
    font-weight: 700;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 90%;
    width: fit-content;
    margin-bottom: 1rem;
}

.message.msg-colbert {
    margin-left: auto;
}

.msg-client .message__content {
    background-color: #fff;
}

.msg-colbert .message__content {
    background-color: #004c73;
    color: #fff;
}

.message__content {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
}

.message__date {
    font-weight: 600;
    font-size: 0.8rem;
    padding-left: 9px;
}

.sender-form {
    position: absolute;
    bottom: 0;
    background-color: #f3f3f3;
    width: 100%;
    left: 0;
    padding: 1rem;
    height: fit-content;
}

.sender-form form {
    position: relative;
    display: flex;
    flex-direction: column;
}

.sender-form form textarea {
    resize: none;
    border: 1px solid #d8d8d8;
    border-radius: 0.5rem;
    height: 100px;
    padding: 1rem 90px 0 1rem;
}

.sender-form .input-group {
    margin-top: 0.5rem;
}

.sender-form form button {
    position: absolute;
    right: 15px;
    top: 50px;
}

.conversation-card {
    gap: 1rem;
}

.modal-dialog .card {
    width: fit-content;
    margin: auto;
    padding: 0.5rem 1rem;
}
