 body {
            margin: 10;
            font-family: Arial, sans-serif;
            
            
            padding: 10;
        }
        .main-container {
            display: flex;
            flex-direction: row;
        }   
         .right-pane {
            width: 15%;
            padding: 10px;
            box-sizing: border-box;
            box-shadow: 0 0 20px 10px rgba(0,0,0,0.3);
            border-radius: 25px;
            background-color: #B5C8CBFF;    
        }
        .imageThumbnails{
            box-sizing: border-box;
    background-color: #F7FEFFFF; 
    height: calc(80vh - 120px);
    overflow-y: auto; /* Makes the div scrollable vertically */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width:212px;
        }
        
        .left_pane {
    width: 15%;
    padding: 10px;
    box-sizing: border-box;
    background-color: #F6FCFC; 
    height: calc(100vh - 120px);
    overflow-y: auto; /* Makes the div scrollable vertically */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left_pane > * {
    width: 100%;
    transform: scale(1.5); /* Adjust the scale value as needed */
    transform-origin: 0 0;
}
        .controls_pane {
    width: 100%; /* Full width across the top */
    padding: 20px;
    margin: 0; /* Remove margins to align with the top */
    box-sizing: border-box;
    background-color: #F6FCFC; 
    height: 120px; /* Fixed height for the top bar */
    overflow-x: auto; /* Makes the div scrollable horizontally */
    display: flex;
    flex-direction: row; /* Display items in a row */
    align-items: center; /* Center items vertically */
    justify-content: flex-start; /* Align items to the left (default) */
}

.controls_pane > * {
    width: 100%;
    transform: scale(0.5); /* Adjust the scale value as needed */
    transform-origin: 0 0;
}
        .center-pane {
            
            padding: 0px;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 3px solid blue;
            background-color:#ffffff;
            margin-left: auto;
            margin-right: auto;
        }
        




    canvas {
    display: block;
    margin: auto;
    z-index:1;
}
@font-face {
    font-family: 'Rubik_Glitch_Pop';
    src: url('/fonts/Rubik_Glitch_Pop/RubikGlitchPop-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Comic_Neue';
    src: url('/fonts/Comic_Neue/ComicNeue-Bold.ttf') format('ttf');
}
img:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease 0s;
}

img:active {
    transform: translateY(0px);
}
#canvasContainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    overflow-y: auto;
    padding: 0px;
    background-color:#D2FFFFFF;
    background-size: 20px 20px;
    width: 100%;      /* Make sure container takes full width */
    min-height: 100%; /* Ensure full height for scrolling */

  overflow-x: scroll;
  scrollbar-width: thick;
  scrollbar-color: green yellow;
}



.canvas-page {
    width: auto;      /* Remove fit-content and 100% conflict */
    margin: 3px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 5px solid red;
    padding: 5px;
}

.canvas-page.active {
    border-color: lime;
}


.page-label {
    position: absolute;
    top: -20px;
    left: 10px;
    background: #fff;
    padding: 2px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
}
/* Ensure the canvas supports the custom cursor */
canvas.upper-canvas {
    /* The cursor is set dynamically via JavaScript, so no static cursor rule is needed */
    /* Optional: Add a border for visibility */
    border: 1px solid #ccc;
}

/* Optional: Ensure the spray can cursor is prioritized when the spray brush is active */
.spray-active {
    cursor: url('spraycan.cur') 16 16, default;
}
/* -------- MOBILE FRIENDLY STYLES -------- */
@media screen and (max-width: 768px) {

  .main-container,
  .controls_pane,
  .left_pane,
  .right-pane,
  .center-pane,
  .imageThumbnails {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px;
    box-sizing: border-box;
  }

  .left_pane > *,
  .controls_pane > * {
    transform: scale(1) !important;
    width: 100% !important;
  }

  .center-pane {
    border: none;
    margin: 0 auto;
    padding: 5px;
  }

  .canvas-page {
    width: 100% !important;
    padding: 5px;
    border-width: 2px;
  }

  .modal-content {
    width: 90% !important;
    margin: 30% auto;
  }

  .dropdown,
  .login-dropdown {
    top: 5px;
    right: 5px;
    z-index: 1000;
  }

  .dropdown-content {
    right: 0;
    width: 100% !important;
  }

  .tooltip .tooltiptext {
    left: 50% !important;
    top: 130% !important;
    transform: translateX(-50%) !important;
  }

  #canvasContainer {
    padding: 10px;
    overflow-x: auto;
    width: 100% !important;
  }

  canvas {
    width: 100% !important;
    height: auto !important;
  }
}
