.bg-login-image {
    background: url(../img/stjacquesa.jpg);
    background-position: center;
    background-size: cover;
	background-border: 1px black;
}
.bg-register-image {
    background: url(https://source.unsplash.com/Mv9hjnEUHR4/600x800);
    background-position: center;
    background-size: cover;
}
.bg-password-image {
    background: url(https://source.unsplash.com/oWTW-jNGl9I/600x800);
    background-position: center;
    background-size: cover;
}

#map {
	width: 100%;
}

#svg-container {
	width: 100%;
	height: 600px;
	border: 1px solid #ccc;
	margin: 20px auto;
	overflow: hidden;
}
.zoom-controls {
	text-align: center;
	margin-bottom: 10px;
}

#interactiveSVG-container svg {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

#interactiveSVG-container svg:active {
    cursor: grabbing;
}

svg * {
    pointer-events: all;
}

.interactive-group:hover{
    cursor: pointer;
}

.interactive-group:hover * {
    stroke: #000000 !important;
    stroke-width: 1 !important;
    filter: brightness(1.2) saturate(1.5);
}

.custom-tooltip-card {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    background-color: #fff;
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    min-width: 200px;
    overflow: hidden;
}

.tooltip-header {
    background-color: #4e73df; /* Couleur primaire SB Admin 2 */
    color: white;
    padding: 8px 12px;
    font-weight: bold;
    font-size: 0.9rem;
    border-bottom: 1px solid #e3e6f0;
}

.tooltip-body {
    padding: 8px 12px;
    font-size: 0.8rem;
}

.tooltip-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    border-bottom: 1px solid #f8f9fc;
}

.tooltip-row:last-child {
    border-bottom: none;
}

.tooltip-label {
    font-weight: 600;
    color: #858796;
    margin-right: 15px;
}

.tooltip-value {
    color: #5a5c69;
    text-align: right;
}

.label-text {
    /* CRUCIAL : Permet à la souris de "passer au travers" du texte */
    /* pour que le survol du groupe fonctionne toujours */
    pointer-events: none;

    /* Centrage horizontal et vertical par rapport au point x,y calculé */
    text-anchor: middle;
    dominant-baseline: middle;

    /* Style du texte */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 32px; /* Ajustez selon la taille de votre plan */
    font-weight: 600;
    fill: #333333; /* Couleur du texte (gris foncé) */
    
    /* Optionnel : Petit contour blanc pour lisibilité si le fond est foncé */
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff;
    
    /* Empêche la sélection du texte à la souris */
    user-select: none;
}

/* Transition de fondu et léger zoom */
.fade-slide-enter-active,
.fade-slide-leave-active {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* État de départ (quand le nouveau plan arrive) */
.fade-slide-enter-from {
    opacity: 0;
    transform: scale(0.98) translateY(10px);
}

/* État de fin (quand l'ancien plan s'en va) */
.fade-slide-leave-to {
    opacity: 0;
    transform: scale(1.02) translateY(-10px);
}

.label-text {
    opacity: 0;
    animation: fadeInLabel 0.5s forwards;
    pointer-events: none; /* Pour ne pas gêner le clic sur les pièces */
}

@keyframes fadeInLabel {
    to { opacity: 1; }
}

.sidebar .nav-item .nav-link{
	padding-top:0 !important;
	padding-bottom:0 !important;
}