* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
  text-align: center;
}


#menu-modal {
  background-color: transparent;
}

#menu-modal .modal-content {
  position: fixed;
  right: 20px; 
  top: 60%; 
  transform: translateY(-50%) translateX(100%); 
  margin: 0;
  width: 80%;
  max-width: 110px; 
  height: auto;
  max-height: 380px; 
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  background: #fff;
  padding: 12px 0;
  overflow-y: auto;
  min-width: 110px;
  border: none;
}


#menu-modal .modal-content::-webkit-scrollbar {
  width: 6px;
}

#menu-modal .modal-content::-webkit-scrollbar-track {
  background: transparent;
}

#menu-modal .modal-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

#menu-modal .modal-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#menu-modal.show .modal-content {
  transform: translateY(-50%) translateX(0); 
}

.menu-modal-content {
  max-height: 100%;
  overflow-y: auto;
}

.modal-header {
  display: none; 
}

.modal-body {
  margin-top: 0;
}

.tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px; 
}

.tip-list li {
  margin-bottom: 4px;
}

.tip-list a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 12px 10px;
  transition: all 0.3s ease;
  font-size: 13px; 
  position: relative;
  left: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tip-list a:hover {
  background-color: #f0f0f0;
  color: orange;
  left: 0;
}

.tip-list a:hover:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px; 
  background-color: orange;
  transition: none; 
}

.notification-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000b3;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn .3s ease-in-out;
}

.notification-content {
  background: #fff;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px #0000004d;
  animation: slideIn .3s ease-out;
}

.notification-header {
  background: linear-gradient(135deg, #2196F3, #1778c7);
  color: #fff;
  padding: 15px;
  border-radius: 15px 15px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.notification-body {
  padding: 10px;
}

.notification-footer {
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 0 0 15px 15px;
  text-align: center;
  border-top: 1px solid #e9ecef;
}

.header-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notification-header h3 {
  margin: 0;
  font-size: 22px;
  text-align: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  right: 20px;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .3s;
}

.highlight-info {
  background: transparent;
  border-radius: 10px;
  margin-bottom: 0;
  border: none;
}

.important-notice {
  background: transparent;
  border-radius: 10px;
  border: none;
}

.highlight-info p {
  text-align: center;
  font-size: 1.2rem;
  margin: 8px 0;
  font-weight: 700;
  color: #2c3e50;
}

.important-notice p {
  margin: 8px 0;
  font-weight: 700;
  color: #2c3e50;
}

.notice-text {
  background: #fee2e2;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #fca5a5;
  color: #dc2626;
  font-size: 14px;
  margin-top: 10px !important;
}

.notification-footer p {
  margin: 0;
  font-size: 12px;
  color: #6c757d;
}