﻿textarea {
    background: transparent;
}

.resizable {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 100px;
    left: 100px;
}

    /* Ajoutez ces styles pour le survol */
    .resizable:hover {
        border: 2px solid #4286f4;
        /* Autres styles pour le survol */
    }

    /* Styles spécifiques pour les éléments sélectionnés */
    .resizable.selected-element:hover {
        border: 0px;
    }
    /* Styles par défaut pour les éléments resizable */
    .resizable .resizers {
    }


    /* Styles spécifiques pour les éléments sélectionnés */
    .resizable.selected-element .resizers {
        display: block;
        width: 100%;
        height: 100%;
        border: 2px solid #4286f4;
        box-sizing: border-box;
    }

        .resizable.selected-element .resizers .resizer {
            /* Copiez les styles spécifiques des resizers ici */
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: white;
            border: 2px solid #4286f4;
            position: absolute;
        }

            .resizable.selected-element .resizers .resizer.top-left {
                /* Copiez les styles spécifiques du coin top-left ici */
                left: -5px;
                top: -5px;
                cursor: nwse-resize;
            }

            .resizable.selected-element .resizers .resizer.top-right {
                /* Copiez les styles spécifiques du coin top-right ici */
                right: -5px;
                top: -5px;
                cursor: nesw-resize;
            }

            .resizable.selected-element .resizers .resizer.bottom-left {
                /* Copiez les styles spécifiques du coin bottom-left ici */
                left: -5px;
                bottom: -5px;
                cursor: nesw-resize;
            }

            .resizable.selected-element .resizers .resizer.bottom-right {
                /* Copiez les styles spécifiques du coin bottom-right ici */
                right: -5px;
                bottom: -5px;
                cursor: nwse-resize;
            }

/* styles pour les composants */
.is-component:hover {
    border: 2px solid #39cf05;
}

.is-component.selected-element .resizers {
    border: 2px solid #39cf05 !important;
}

    .is-component.selected-element .resizers .resizer {
        border: 2px solid #39cf05;
    }

[contenteditable] {
    outline: 0px solid transparent;
}

/* ***************************************** */

.slidecontainer {
    width: 100%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 25px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

    .slider:hover {
        opacity: 1;
    }

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        background: #;
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        background: #4CAF50;
        cursor: pointer;
    }

html, body, #app, .mud-rtl-provider, .mud-main-content {
    height: 100%;
}

body {
    margin: 0 !important;
    height: 100vh;
    overflow: hidden;
}

/*#target {
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0px 2px 8px #c2c2c2;
    border: 1px solid #CCC;
    width: 210mm;
    min-width: 210mm;
    height: 297mm;
    min-height: 297mm;
    position: relative;
    background-color: white;*/
/*    overflow: auto;
    transform-origin: top left;*/
/*}

.workspace {
    flex: 1;
    display: flex;*/
/* height: -webkit-fill-available; */
/*overflow: auto;
}*/

.workspace {
    height: -webkit-fill-available;
}

.page {
    margin: 0;
    padding: 0;
    transform-origin: 0 0;
    overflow: auto;
    height: -webkit-fill-available;
    /*display: flex;*/ /* rajout pour centrer la feuille */
    justify-content: center; /* rajout pour centrer la feuille */
    /*align-items: center;*/ /* rajout pour centrer la feuille */
}

#target {
    display: block;
    width: 105mm;
    height: 148mm;
    margin: 0 !important;
    background: white;
    /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);*/
    position: relative;
    transform-origin: top left;
}

.textbox {
    background-color: transparent;
    font-size: 25px;
    border: none;
    outline: none;
}

.colors,
.bkcolors,
.shcolors {
    width: 26px;
    height: 26px;
    border: none;
    padding: 8px;
}

.mainholder {
    height: 100%;
    padding: 2%;
}

.controllers {
    padding-left: 15px;
}

.br-0 {
    border-radius: 0px !important;
}

.w-100 {
    width: 100%;
    height: 100%;
}

.p-0 {
    border: 1px solid #9c2424;
    background-color: brown;
    color: white;
    font-weight: 500;
    border: 1px solid #4f4f4f;
    background-color: #646464;
    font-size: 1.2vw;
}

    .p-0:hover {
        border: 1px solid #9c2424;
        background-color: white;
        color: black;
        font-weight: 5004caf50;
        border: 1px solid #4f4f4f;
    }

    .p-0:focus {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
    }

.h-add {
}

.fl {
    float: left;
}

.icons {
    margin-left: 11px;
    font-size: 20px;
}

::placeholder {
    color: var(--mud-palette-background);
    opacity: 1;
}

h2,
h3 {
    color: #397a87;
}

/* .selected-element {
    border: 2px solid blue;
} */

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #397a87;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}