.hidden {
  display: none;
}

#popup-overlay, #popup-vn2000-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
/*  display: flex;*/
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#login-register-popup, #popup-vn2000-popup {
  background: #fff;
  padding: 14px;
  width: 270px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  left: 50%;
  top: 70px;
  transform: translate(-50%, 0);
}

.close-btn {
  position: absolute;
  top: -16px;
  right: -16px;
  background: none;
  border-radius: 50% !important;
  width: 30px;
  height: 30px;
  padding: 0 !important;
  line-height: 30px;
  background-color: #000 !important;
  opacity: 0.8;
}

#popup-overlay input, #popup-vn2000-overlay input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

#popup-overlay button, #popup-vn2000-overlay button {
  padding: 6px 12px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

#popup-overlay button:hover, #popup-vn2000-overlay button:hover {
  background-color: #0056b3;
}

.open-popup {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  position: fixed;
  top: 145px;
  right: 10px;
  z-index: 999;
  color: #fff;
  text-align: center;
  padding: 0;
}

.open-popup .fa {
  font-size: 20px;
  color: #0098DA;
  width: 100%;
  height: 100%;
  line-height: 44px;
}

#logout-form button {
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#logout-form button .fa {
  color: #dc3545 !important;
  width: 100%;
  height: 100%;
  line-height: 44px;
}

#login-btn, #register-btn {
  margin-bottom: 10px;
  width: 100%;
}

#find-vn2000-btn {
  width: 100%;
}

#popup-overlay .error, #popup-vn2000-overlay .error  {
  color: red;
  font-size: 12px;
  text-align: left;
  margin-bottom: 10px;
}

#popup-overlay .input-error, #popup-vn2000-overlay .input-error  {
  border: 1px solid red;
}

#popup-overlay .account-already, #popup-vn2000-overlay .account-already {
  margin: 0;
}

#popup-overlay .legend, #popup-vn2000-overlay .legend {
    font-size: 11px;
}

.processing {
  background-color: grey !important;
}

/* vi tri cac nut */

#open-home {
  top: 90px;
}

.leaflet-top.leaflet-right {
    top: 190px !important;
}

/*.leaflet-container .leaflet-control-gps {
    bottom: 150px;
}

.leaflet-control-zoom.leaflet-bar.leaflet-control {
  bottom: 50px;
}*/
/* vi tri cac nut */




/* packages list */
.package {
  border: 1px solid #ddd;
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  background: #f9f9f9;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.package h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333;
}
.package p {
  margin: 10px 0;
  font-size: 1em;
  color: #555;
}
.package a {
  display: inline-block;
  padding: 6px 12px;
  text-decoration: none;
  background: #007bff;
  color: white;
  border-radius: 5px;
  transition: background 0.3s ease;
  font-size: 13px;
}
.package a:hover {
  background: #0056b3;
  color: #fff;
  text-decoration: none;
}

/* packages list */


/* vn2000 converter */
#open-popup-vn2000.open-popup {
    width: 250px;
    top: 64px;
    text-decoration: none;
    background-color: yellow;
    left: 50%;
    transform: translate(-50%, 0);
    height: 30px;
    line-height: 22px;
    color: red;
    font-weight: 600;
    border: 3px solid #de660a;
}

#open-popup-vn2000.open-popup:hover {
  background-color: yellow;
  color: red;
  border: 3px solid #d58b04;
}

.coordinate_title {
  margin-bottom: 4px;
  text-align: left;
  display: block;
  font-size: 13px;
}

.bacsonghong {
  width: 300px;
}

.bacsonghong p {
  font-size: 13px !important;
}

.open-popup-package-detail {
    display: none;
}
/* vn2000 converter */


@media screen and (max-width: 580px) {
  #open-popup-vn2000.open-popup {
    width: 200px;
    border: 2px solid #de660a;
    font-size: 11px;
    line-height: 25px;
  }

  .mobile-browser #open-popup-vn2000, .mobile-browser #popup-vn2000-popup {
    top: 110px;
  }

  .mobile-browser .leaflet-geosearch-bar {
      margin: 60px auto 0 !important;
  }
}

@media screen and (-webkit-min-device-pixel-ratio:0) { 
  select,
  textarea,
  input {
    font-size: 16px;
  }
}