/* FloatingButtons.css */




/* Container for Floating Buttons */
.floating-buttons-container {
   position: fixed;
  top: 30%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 99999;
}

.floating-btn {
    background: #092c5c;
  color: #ffcc00;
  border: none;
  border-radius: 8px 0 0 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  width: 48px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: background 0.2s, color 0.2s;
  transform: translateX(0);
  white-space: nowrap;
  padding: 0;
   writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(360deg);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05rem;
   margin-bottom: 10px;
}

.floating-btn:hover,
.floating-btn:focus {
  background-color: #ffeb99;
  color: #080947;
  outline: none;
  box-shadow: 0 4px 14px rgba(93, 60, 0, 0.3);
}


/* Modal overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(60, 40, 10, 0.15);
  align-items: center;
  justify-content: center;
  z-index: 99999;
  outline: none;
}

/* Add gap between modal header and modal body */
.modal-body {
  position: relative; /* Needed for layering */
  background: rgba(255, 248, 225, 0.9); /* Slightly translucent background for modal body */
  border-radius: 8px;
  padding: 12px 15px;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px); /* Blur behind modal body content */
}

/* Add backdrop blur behind entire modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(60, 40, 10, 0.25);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
z-index: 99999;
  outline: none;
}

/* Optional: add slight transition */
.modal-overlay.show {
  display: flex; /* Use JS to toggle this class instead of inline styles */
  transition: opacity 0.25s ease-in-out;
}


/* Modal content */
.modal-content {
  background: #fff8e1;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(120, 90, 30, 0.3);
  /* max-width: 320px; */
  width: 90vw;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.floting-modal-content{
  max-width: 320px;
}

/* Modal header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f2e4c2;
  padding-bottom: 8px;
}

.modal-header h3 {
  font-size: 20px;
  color: #080947;
  margin: 0;
}

/* Modal close button */
.modal-close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: #080947;
  cursor: pointer;
  padding: 0 5px;
  transition: color 0.3s ease;
}
.modal-close-btn:hover,
.modal-close-btn:focus {
  color: #ffd54f;
  outline: none;
}

/* Modal body buttons */
.modal-body button {
  width: 100%;
  padding: 12px 10px;
  font-size: 16px;
  color: #eede04;
  background-color: #080947;
  border: 1.5px solid #f2e4c2;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  text-align: center;
   margin-bottom: 10px;
}
.modal-body button:hover,
.modal-body button:focus {
  background-color: #080947;
  border-color: #ffca28;
  outline: none;
}

