/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
  }
  
  /* Button styling */
  .openDrawerButton {
    margin: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
  }
  
  /* Single Drawer styles */
  .drawer {
    position: fixed;
    top: 0;
    left: -100%; /* Hidden offscreen initially */
    width: 75%; /* Takes 3/4 of the screen */
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
    transition: left 0.75s ease; /* Smooth slide-in animation */
    z-index: 1000;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    overflow: hidden;
  }
  
  /* Drawer visible state */
  .drawer.open {
    left: 0; /* Slide the drawer in from the left */
  }
  
  /* Ensure the iframe is fully interactive but hides the scrollbar */
  iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    overflow: hidden; /* Hides the scrollbar but allows scrolling */
    -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on mobile devices */
    scrollbar-width: none; /* For Firefox, hides scrollbar */
  }
  
  iframe::-webkit-scrollbar {
    display: none; /* Hides scrollbar for WebKit browsers */
  }
  
  /* Conspicuous and Graceful Close Button Styling */
  .close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px; /* Make the X larger */
    font-weight: bold;
    color: red; /* Make it red to be more noticeable */
    border: none;
    background: none;
    cursor: pointer;
    z-index: 2000; /* Ensure it is always on top of the iframe */
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for hover */
  }
  
  .close-button:hover {
    color: darkred; /* Darker red on hover */
    transform: scale(1.2); /* Slight zoom effect on hover */
  }
  
  /* Invisible overlay */
  .overlay {
    position: fixed;
    top: 0;
    left: 75%; /* Only covers the remaining 1/4 of the screen */
    width: 25%;
    height: 100%;
    background: none; /* Invisible but active */
    z-index: 999; /* Behind the drawer */
    display: none; /* Initially hidden */
    pointer-events: none; /* Interaction disabled */
  }
  
  /* Show the overlay when the drawer is open */
  .overlay.show {
    display: block;
    pointer-events: none; /* No interaction possible */
  }
  