.submenu-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	background: #fff;
	border: 1px solid #ddd;
	padding: 0;
	margin: 0;
	list-style: none;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	min-width: 180px;
	z-index: 9999;
	display: none;
	border-radius: 6px;
	overflow: hidden;
  width: 100%;
    min-width: 225px;
}

.submenu-dropdown li {
	border-bottom: 1px solid #eee;
}

.submenu-dropdown li:last-child {
	border-bottom: none;
}

.submenu-link {
	display: block;
	padding: 10px 15px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	transition: background 0.2s ease;
}

.submenu-link:hover {
	background: #f7f7f7;
}

.logout-link {
	color: #c00;
	font-weight: bold;
}

#popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	z-index: 999;
	display: none;
}

#price-mode-popup {
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 10px;
/*    padding: 25px;*/
    width: 600px;
    z-index: 1000;
    display: none;
    overflow: auto;
}
#price-mode-popup .popup-inner .popup-header{
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ededed;
}
#price-mode-popup .popup-inner .popup-header h4 {
  margin-top: 0;
  font-size: 18px;
  color: #333;
  margin-bottom: 0;
}
#price-mode-popup .popup-inner .popup-header .close-btn {
  background: #ff4d4d;
  color: #ffffff;
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: block;
/*  margin: 0 auto;*/
  text-align: center;
  padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-weight: 700;
}
#price-mode-popup .popup-inner .popup-header .close-btn:hover,
#price-mode-popup .popup-inner .popup-header .close-btn:focus {
  color: #ffffff;
  background: #171818;
  text-decoration: none;
}
#price-mode-popup .popup-inner .popup-body{padding: 30px 15px;}
#price-mode-popup .popup-inner .popup-body .popup-buttons button {
  background-color: #568186;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}
#price-mode-popup .popup-inner .popup-body .popup-buttons button:hover {
  background-color: #171818;
  color: #ffffff;
}

/*.close-btn {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  background: none;
}*/





/* Responsive adjustments */
@media (max-width: 600px) {
  .popup-inner {
    width: 95%;
    margin: 30% auto;
    padding: 15px;
  }

  .popup-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .popup-buttons button {
    margin-bottom: 10px;
  }
}


.popup-buttons {
	display: flex;
	gap:15px;
/*	margin-bottom: 20px;*/
}

.popup-buttons button {
	background: #0073aa;
	color: white;
	padding: 10px 15px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.2s ease;
  display: inline-block;
  width: 100%;
}

.popup-buttons button:hover {
	background: #005f8a;
}




