.parent-container:has(.react-container) {
    padding: 0 15px;
    max-width: none;
}

.react-container {
    width: 100%;
}

.mindmap-container {
    width: 100%;
    height: 80vh;
    background-color: #11ffee00;
    border: 4px solid #f5f5f5;
    border-radius: 12px;
    position: relative;
    padding: 0;
    top: auto;
    left: auto;
    z-index: auto;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mindmap-container.fullscreen {
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    border-radius: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.modal-content.glass {
    background: rgba(255, 255, 255, 0.73);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    border: 6px solid var(--dark-color);
}

.modal-header,
.modal-body,
.modal-footer {
    background: transparent;
    border: none;
}

.modal-content .form-control {
    background: transparent !important;
    border: 3px solid #666666;
}

.modal-content .form-control:focus {
    background: transparent !important;
    border: 3px solid #666666;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

.glass .btn--special {
    background: var(--dark-color);
    border: none;
    border-radius: 10px;
    font-weight: bold;
}

.picto-button--icone {
    width: 18px;
    height: auto;
}

.glass label {
    color: var(--dark-color);
    font-weight: bold;
}
.react-flow__pane {
    z-index: 0;
}
.react-flow__edges {
    z-index: 1;
}
.react-flow__nodes {
    z-index: 2;
}

.node-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
}
.truncate {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    white-space: normal;
    width: 100%;
    text-align: center;
}

.spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 9px solid #2d1e2f;
    animation:
        spinner-bulqg1 0.8s infinite linear alternate,
        spinner-oaa3wk 1.6s infinite linear;
}
@keyframes spinner-bulqg1 {
    0% {
        clip-path: polygon(
            50% 50%,
            0 0,
            50% 0%,
            50% 0%,
            50% 0%,
            50% 0%,
            50% 0%
        );
    }
    12.5% {
        clip-path: polygon(
            50% 50%,
            0 0,
            50% 0%,
            100% 0%,
            100% 0%,
            100% 0%,
            100% 0%
        );
    }
    25% {
        clip-path: polygon(
            50% 50%,
            0 0,
            50% 0%,
            100% 0%,
            100% 100%,
            100% 100%,
            100% 100%
        );
    }
    50% {
        clip-path: polygon(
            50% 50%,
            0 0,
            50% 0%,
            100% 0%,
            100% 100%,
            50% 100%,
            0% 100%
        );
    }
    62.5% {
        clip-path: polygon(
            50% 50%,
            100% 0,
            100% 0%,
            100% 0%,
            100% 100%,
            50% 100%,
            0% 100%
        );
    }
    75% {
        clip-path: polygon(
            50% 50%,
            100% 100%,
            100% 100%,
            100% 100%,
            100% 100%,
            50% 100%,
            0% 100%
        );
    }
    100% {
        clip-path: polygon(
            50% 50%,
            50% 100%,
            50% 100%,
            50% 100%,
            50% 100%,
            50% 100%,
            0% 100%
        );
    }
}
@keyframes spinner-oaa3wk {
    0% {
        transform: scaleY(1) rotate(0deg);
    }
    49.99% {
        transform: scaleY(1) rotate(135deg);
    }
    50% {
        transform: scaleY(-1) rotate(0deg);
    }
    100% {
        transform: scaleY(-1) rotate(-135deg);
    }
}
