* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-weight: 300;
  }
  
  html, body {
    font-family: "Source Sans Pro", sans-serif;
    color: white;
    font-weight: 300;
    background: #50a3a2;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
  }
  body {
    color: white; /* Set the text color for the whole app */
    background: #f3f8f8; /* This sets a background color for the whole app */
  }
  
  .container {
    display: flex;
    flex-direction: column;
    height: 100vh; /* The container takes the full height of the viewport */
    width: 100vw; /* and the full width */
    overflow-y: auto;
  }
  
  .container h1 {
    font-size: 40px;
    font-weight: 200;
  }
  
  form {
    padding: 20px 0;
    position: relative;
  }
  form input {
    border: 1px solid rgba(252, 252, 252, 0.4);
    background-color: rgba(252, 252, 252, 0.2);
    width: 250px;
    border-radius: 3px;
    font-family: "Source Sans Pro", sans-serif;
    padding: 10px 15px;
    margin: 0 auto 10px auto;
    display: block;
    text-align: center;
    font-size: 18px;
    color: white;
    font-weight: 300;
  }
  
  form button {
      appearance: none;
      outline: 0;
      background-color: white;
      border: 0;
      padding: 10px 15px;
      color: #50a3a2;
      border-radius: 3px;
      width: 250px;
      font-size: 18px;
    }

    .map-container {
      position: relative;
      flex: 3;
      
    }
    
    .map {
      width: 100%;
      height: 100%;
    }

    

    .menu-button-up {
      position: absolute;
      top: 32px; /* Adjust as necessary */
      left: 32px; /* Adjust as necessary */
      background: white;
      border: none;
      font-size: 24px; /* Adjust as necessary */
      cursor: pointer;
      z-index: 10000; /* Ensure it's above the map */
    }

    .priority-button {
      position: absolute;
      top: 32px;
      right: 32px;
      font-size: 30px;
      border: none;
      cursor: pointer;
      z-index: 10000;
      transform: scale(0.75);
    }

    .menu-button-container {
      position: absolute;
      top: 32px; /* Adjust as necessary */
      left: 32px; /* Adjust as necessary */
      z-index: 10; /* Ensure it's above the map */
    }

    .priority-button-container {
      position: absolute;
      top: 32px;
      right: 32px;
      z-index: 10;
    }

    .menu-user {
      position: absolute; /* Added to position it properly */
      bottom: 32px; /* Adjust as necessary */
      width: 100%; /* Make it span the width of the map */
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: transparent;
      padding: 10px;
      z-index: 10000;
  }


    .menu-button {
      flex-basis: 0; /* Do not base size on content */
      flex-grow: 1; /* Grow to fill space */
      margin: 0 5px; /* Add a little margin between buttons */
      padding: 10px 20px; /* Make the buttons taller and wider */
      background-color: #50a3a2; /* Button background color */
      color: #fff; /* Button text color */
      border: none; /* Remove border */
      border-radius: 4px; /* Optionally round the corners */
      cursor: pointer; /* Change mouse cursor to pointer on hover */
    }
    
    .menu-button.para-quien {
      flex-grow: 2; /* Take up twice as much space as 'Reserva' */
    }
    
    .menu-button.reserva {
      flex-grow: 1;
    }

    .recojo-container {
      display: grid;
      grid-template-rows: repeat(11, 1fr); /* Creates 11 rows */
      gap: 10px; /* Adds space between rows */
      padding: 20px; /* Padding around the container */
      height: 100vh; /* Full height of the viewport */
      box-sizing: border-box; /* Includes padding in the height calculation */
    }

    .entrega-container {
      display: grid;
      gap: 10px; /* Adds space between rows */
      padding: 20px; /* Padding around the container */
      height: 100vh; /* Full height of the viewport */
      box-sizing: border-box; /* Includes padding in the height calculation */
    }

    .form-row {
      display: flex;
      justify-content: space-between;
      gap: 10px; /* Space between fields */
    }
    .form-field {
      flex: 1; /* Make fields take up available space equally */
    }

    
    
    /* Style for back arrow, calendar image, and other elements */
    .back-arrow {
      grid-row: 1;
    }
    
    .calendar-image {
      grid-row: 2 / 4;
    }
  

    .marker {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -100%);
      transition: all 0.5s ease; /* Adjusted for a smoother transition */
    }
    
    .marker.moving {
      transform: translate(-50%, -120%); /* Enhance lifting effect */
      
    }

    .search-container {
      position: absolute;
      top: 10px;
      left: 10px;
      z-index: 1;
      width: 50%;
      max-width: 600px;
  }

  .search-container-user {
    position: absolute;
    top: 25px;
    left: 15px;
    z-index: 1;
    width: 50%;
    max-width: 600px;
}
  
  .search-input {
      width: 100%;
      padding: 10px;
      border-radius: 20px;
      border: 1px solid #ccc;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  
  .search-results {
      background: white;
      border: 1px solid #ccc;
      max-height: 200px;
      overflow-y: auto;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
      border-radius: 0 0 20px 20px;
  }
  
  .search-result {
      padding: 10px;
      cursor: pointer;
      color: black
  }
  
  .search-result:hover {
      background: #f0f0f0;
  }

  /* MOdal and all related */

  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  .modal-overlay-entrega {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
  }
  
  .modal-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    max-width: 400px;
    width: 80%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .modal-message {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
  }
  
  .modal-close-button {
    padding: 10px 20px;
    background-color: #FF6F61; /* Use a color from your logo */
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 16px;
  }
  .modal-ok-button {
    padding: 10px 20px;
    background-color: rgb(11, 133, 11); /* Use a color from your logo */
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 16px;
  }

  .modal-cancel-button {
    padding: 10px 20px;
    background-color: black; /* Use a color from your logo */
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 16px;
  }
  
  .modal-close-button:hover {
    background-color: #FF4C39; /* Darken the color for hover effect */
  }

  .modal-button {
    padding: 10px 20px;
    cursor: pointer;
  }

  /* Style for MarkerText.jsx */

  .marker-text .MuiCard-root {
    position: relative;
}

.marker-text .MuiIconButton-root {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 255, 255, 0.8);
}


.pac-container {
  z-index: 10000 !important; /* Ensure the Google autocomplete dropdown is above everything */
  position: absolute !important; /* Ensure it doesn't get hidden by overflow or positioning */
  top: auto !important;
  left: auto !important;
  width: 100% !important; /* Ensure it matches the width of the input field */
}

