.floating-container {
  position: absolute;
  right: -70px;
  bottom: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
  .floating-container {
    right: 20px;
    bottom: 30px;
  }
}
@media (max-width: 1199.98px) {
  .floating-container {
    position: fixed;
    right: 20px;
    bottom: 30px;
  }
}

.floating-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 20px;
  padding: 0;
}
.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.floating-btn:active {
  transform: scale(0.95);
}
.floating-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.btn-top {
  background-color: #fff;
  color: #002f6c;
  border: 1px solid #dee2e6;
  opacity: 0.9;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.btn-menu-toggle {
  background-color: #ffbc00;
  color: #000;
  font-size: 24px;
  z-index: 2;
}
.btn-menu-toggle i {
  transition: transform 0.3s ease;
}
.btn-menu-toggle.active i {
  transform: rotate(90deg);
}
.btn-share {
  background-color: #6c757d;
  color: #fff;
  font-size: 20px;
}
.btn-event {
  background-color: #ff5252;
  color: #fff;
  font-size: 20px;
}

.floating-menu-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  bottom: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  align-items: center;
}
.floating-menu-items.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.menu-item {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: "GmarketSansBold", sans-serif;
  color: #333;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s;
  cursor: pointer;
}
.menu-item:hover {
  transform: scale(1.1);
}
.menu-item span {
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.menu-kb {
  border-color: #ffbc00;
  color: #5a4b00;
}
.menu-db {
  border-color: #00b050;
  color: #00602b;
}
.menu-hi {
  border-color: #003674;
  color: #003674;
}
.menu-review {
  border-color: #e83e8c;
  color: #e83e8c;
  font-weight: bold;
}
.menu-hw {
  border-color: #f7941d;
  color: #e67e22;
}
.menu-axa {
  border-color: #00008f;
  color: #00008f;
}
.menu-share {
  border-color: #6c757d;
  color: #6c757d;
}

.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.custom-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.modal-title {
  font-family: "GmarketSansBold", sans-serif;
  font-size: 18px;
  color: #333;
}
.btn-close-modal {
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}
.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
