#myfp-canvas-container {
   
 
    margin-left: auto;
    margin-right: auto;
    margin-top: 1%;
    margin-bottom: 1%;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem; /* Equivalent of rounded-lg */
    box-shadow:0 0px 15px 2px rgb(147 147 147), 0 2px 4px -2px rgb(147 147 147);
    overflow: hidden;
    background-color: #ffffff; /* Equivalent of bg-white */
    flex-grow: 1;
    position: relative;
}
.thepersonalisation{
  padding: 3px;

}
.panel-body{
  overflow-x: hidden;
  height: 100%;
  overflow-y: scroll;
}
.mymaneclass {
  background:white;
  padding:15px;
  box-shadow: 0px 7px 13px 2px rgb(147 147 147), 0 2px 4px -2px rgb(147 147 147);
  border: 1px solid;
  border-radius: 21px;
}
body.no-scroll {
  overflow: hidden;
}
.btn-secondary{
  height: 100%;
  border-color: #4e4e4e;
}
.btn-secondary:hover {

  border-color: #545b62;
}
#export-btn{
  float:right;
}

#imageContainer{
  display: none;
}
#imageContainerverso{
  display: none;
}
.spinner {
  display: none;
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3; /* Light grey border */
  border-top: 5px solid #3498db; /* Blue top border to create the "gap" */
  border-radius: 50%; /* Makes the div a perfect circle */
  animation: spin 1s linear infinite; /* Applies the spin animation */
}
.spinner.is-visible {
  display: block; /* A class to make the spinner visible */
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.dotted-background {
  /* Set the background image using a radial gradient */
  background-image: radial-gradient(circle, #9e9e9e 1px, transparent 1px);
  width: 100%;
  /* Set the size of the repeating pattern */
  background-size: 20px 20px;
  
  /* Optional: Adjust the color */
  background-color: #fff;
  border: 3px dotted #bbbbbb;
}
.theicons{
  border: 3px dotted #bbbbbb;
    padding: 8%;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  color: black;
  background-color: #fece36;
  border-color: #4e555b;
}
.form-control{
  border-color: rgb(51 51 51 / 68%)!important;
}
.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show>.btn-secondary.dropdown-toggle {
 
  
  
  border-color: #4e4e4e!important;
}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover{
  border-color: #959595 #959595 #959595;
}
.row{
  box-sizing: content-box!important;
}
button.btn-settings {
  margin: 25px;
  padding: 20px 30px;
  font-size: 1.2em;
  background-color: #337ab7;
  color: white;
}
button.btn-settings:active {
  color: white;
}
.modal {
    overflow: hidden;
}
.modal-dialog {
    margin-right: 0;
    margin-left: 0;
    position: fixed; 
    
    /* Ensure the dialog starts centered (or wherever you want it) */
  
    transform: translateX(-50%);
    
    /* Ensure the dialog has space to move/resize */
    margin: 0; 
}
.modal-content {
  z-index: 1051; /* Slightly higher than Bootstrap's modal-backdrop default (1040) */
  position: relative; /* Needed for z-index and resize handles to work */
}

/* Optional: Improve drag handle cursor feedback */
.modal-header {
  cursor: move; /* Provide visual feedback that the header is the drag handle */
}
.modal-header {
  height:30px;
  padding: 20px;
  background-color:#18456b;
  color:white;
}
.modal-title {
  margin-top:-10px;
  font-size:16px;
}
.modal-header .close {
  margin-top:-10px;
  color:#fff;
}
.modal-body {
  color:#888;
  padding: 5px 35px 20px;
}
.modal-body h3 {
  text-align: center;
}
.modal-body p {
  padding-top:10px;
  font-size: 1.1em;
}
.tab-content{
  min-height: 300px;
  height: 100%;
  box-shadow: 0px 7px 13px 2px rgb(147 147 147), 0 2px 4px -2px rgb(147 147 147);
}
.form-group{
  margin-bottom: 0px;
}
input[type="file"] {
  display: none;
}

/* This styles the label to look like a button */
.custom-file-upload {
  display: inline-block;
  padding: 8px 12px;
  cursor: pointer; /* Changes the cursor to a hand on hover */

  color: black; /* Text color */
  border-radius: 4px; /* Rounded corners */

  font-family: Arial, sans-serif; /* Example font styling */
  text-align: center;
}

/* Optional: Add hover effect for better user experience */

.tab-pane{
  padding: 0% 3% 0% 3%;
}
.nav-tabs .nav-link{
  box-shadow:  0px 0px 7px 0px rgb(147 147 147), 0 2px 4px -2px rgb(147 147 147);
  color: black;
  text-decoration: none!important;
 
    display: block;
    padding: .4rem 0.4rem;
}
.scrollable-div {
  height: 100%; /* Or use max-height */

  overflow-y: scroll;
}
  
/* Header section styling */
.myfp-header {
    padding: 1rem;
    background-color: #e5e7eb; /* Equivalent of bg-gray-200 */
    text-align: center;
    font-weight: 700;
    color: #374151; /* Equivalent of text-gray-800 */
}

/* Canvas container styling */
.myfpCanvas{
  
}

/* Footer section styling */
.myfp-footer {
    padding: 1rem;
    background-color: #f3f4f6; /* Equivalent of bg-gray-100 */
    font-size: 0.875rem; /* Equivalent of text-sm */
    color: #4b5563; /* Equivalent of text-gray-600 */
}

.selected-icon-item {
 
  border: 1px solid #cdcdcd;
  display: flex
;
  flex-direction: column;
  align-items: center;
  padding: 5px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 53%);

}

.selected-icon-item i {
  font-size: 20px;
  margin-bottom: 5px;
  color: #4a6cf7;
}
  #draggables_cont {
   
  
 
  
  .draggable {
    width: 100px;
    height: 100px;
    border: 3px dotted #eee;
  }
  
  #canvas_cont {
    align-items: center;
  }
  
  #canvas {
    background: #ccc;
    margin: 0;
  }
  .canvas-container-wrapper {
    position: relative;
  
}
span {
    padding: 5px;
  }
  
  .flex {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .col {
    flex-direction: column;
    justify-content: center;
  }
  


.custom-checkbox-container {
    display: flex;
    gap: 10px;
}

.custom-checkbox-input {
    display: none; /* Hide the default checkbox */
}

.custom-checkbox-label {
    display: block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 5px;
    background-color: #f0f0f0;
    transition: background-color 0.2s;
}

.custom-checkbox-label i {
    font-size: 16px;
    color: #555;
}

/* Style for when the checkbox is checked */
.custom-checkbox-input:checked + .custom-checkbox-label {
    background-color: #007bff;
    border-color: #007bff;
}

.custom-checkbox-input:checked + .custom-checkbox-label i {
    color: #fff;
}
}
.settings-panel {
  position: absolute !important; /* Make it movable */
  top: 100%; /* Shared starting position */
  left: 0px; /* Shared starting position */
  width: 300px;
  z-index: 1050; /* Ensure it stays above other content */
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  min-height: 100px;
  background-color: #FFFFFF !important;
  border: 1px solid rgb(119 119 119);
  display: none; /* Initially hide all panels */
}

/* Removed specific ID positioning for individual panels */


/* Style the handle area */
.drag-handle {
  cursor: grab;
  padding: 0.5rem;
  margin: -1rem -1rem 1rem -1rem; /* Extend handle area */
  background-color: #e2e8f0; /* Light gray background for the handle */
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.drag-handle:active {
  cursor: grabbing;
}

.panel-title {
  font-weight: 600;
  font-size: 0.875rem; /* text-sm */
  color: #1f2937; /* Gray 800 */
}

.btn-toggle {
  background: none;
  border: none;
  color: #4b5563;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0 0.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-toggle:hover {
  color: #000;
}

.toggle-btn {
 
 
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  margin-right: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.toggle-btn:hover {

  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.toggle-btn[disabled] {
 

 
}

.toggle-btn[disabled]:hover {
 
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.toolbar {
  margin: 10px 0;
}

.undoredobutton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
canvas {
  border: 1px solid #ccc;
}