
#browser_alert{
    display:none;	
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    #browser_alert {
        display:block;
    }
}

.login-register-background{
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    padding: 0 0 10% 0 !important;
}

.login-register {
    position: relative;
    overflow:auto; 
}

.login-box{
    text-align: center;
}


.nav-v-pills .nav-v-link{
	border-radius: .25rem;
	color: #007bff;
	text-decoration: none;
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
    display: block;
}

.nav-v-link {
    display: block;
    padding: .5rem 1rem;
}

.nav-v-pills .nav-v-link.active, .nav-v-pills .show > .nav-v-link {
    color: #fff;
    background-color: #007bff;
}

.thumbnail_cell img{
    max-width:100px;
}



#browser_alert{
    display:none;	
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    #browser_alert {
        display:block;
    }
}

#feedback_button{
    display:none;
}

.btn-full{
    width:100%;
    display: block;
}

.dashboard-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%; /* S'assure que la carte occupe toute la hauteur disponible */
}
.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.dashboard-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #007bff; /* Couleur de l'icône */
}
.dashboard-card h5 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}
.dashboard-card a {
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.frame_container {
    width: 100%;
}


.canvas-wrapper {
  position: relative;
  padding-left: 20px;  /* Pour laisser de la place à la règle verticale */
  padding-top: 20px;   /* Pour laisser de la place à la règle horizontale */
  width: 100%; 
  height: auto;
}
  
  .engraving-canvas {
    position: relative;
    width: 100% !important;
    height: auto;
    display: block;
    border:1px solid #aaa;
    z-index: 1;
  }
  
  .color_demo{
    display: inline-block;
    height: 1em;
    width: 1em;
  }

  .select2-results__option span {
    vertical-align: middle;
  }
  .select2-container--default .select2-selection--single {
    height: 38px;
    display: flex;
    align-items: center;
    position: relative;
  }
  .select2-selection__rendered {
    display: flex !important;
    align-items: center;
  }
  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    right: 10px; /* ajustable si besoin */
    display: flex;
    align-items: center;
    position: absolute;
  }
  
.ruler-x {
  position: absolute;
  top: 0;
  left: 20px;
  height: 20px;
  width: calc(100% - 40px);
  z-index: 2;
  background: #f8f8f8;
}

.ruler-y {
  position: absolute;
  top: 20px;
  left: 0;
  width: 20px;
  height: calc(100% - 20px);
  z-index: 2;
  background: #f8f8f8;
}

#svgPreviewContainer {
    width: 100%;
    max-width: 100%;
    overflow: auto;
    text-align: center;
}

#svgPreviewContainer svg {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.row.equal-height {
    display: flex;
    flex-wrap: nowrap;
}

.equal-height > [class^="col-"] {
    display: flex;
    flex-direction: column;
}

.tab-pane-scrollable {
    overflow-y: auto;
    flex: 1;
}

.tab-content.full-height {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Important pour éviter que .tab-pane déborde */
}

.table-responsive {
  overflow-x: auto;
}