.world-map-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

select#select-month,
select#select-year {
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid var(--white-alpha-10);
  border-radius: 4px;
  width: 250px;
  background: #161616;
}

.world-map-filters button:hover {
  background-color: #005a87;
}

#orders-world-map {
  width: 100%;
  border: 1px solid var(--white-alpha-10);
  border-radius: 6px;
}

#tooltipmaporder {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 9999;
}
 
button#zoom-in,
button#zoom-out,
button#reset-view {
    all: unset;
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
    border: 1px solid var(--white-alpha-10);
    border-radius: 8px;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, transform 0.1s ease;
}

button#zoom-in:hover,
button#zoom-out:hover,
button#reset-view:hover {
  background-color: #c4c4c447;
  transform: scale(1.05);
}


.world-map-spinner {
  position: absolute;
  top: calc(50% - 30px);
  left: 50%;
  transform: translate(-50%, -50%); 
  width: 34px;
  height: 34px;
  border: 4px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}


/* CSS cho Account Dashboard Menu */
@media (min-width: 900px) {
  #dashboard-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 75vh;
    margin-top: 5px;
    justify-content: center;
  }
}
@media (max-width: 899px) {
  #dashboard-container {
    display: block;
    width: auto;
min-height: 75vh;
    margin: 0 auto;
    padding: 10px 20px;     
  }
  #dashboard-menu {
      display: none; /* Ẩn menu */
  }  
}



#dashboard-menu {
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  padding-right: 20px;
  padding-top: 10px;
  flex-shrink: 0; /* Nếu dùng flexbox */
}

#dashboard-menu #avatar-section {
  /*text-align: center;*/
  margin-bottom: 5px;
}

#dashboard-menu #avatar-section img {
  border-radius: 50%;
  width: 140px;
  height: 140px;
  border: 3px solid #ddd;
}

#dashboard-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  text-transform: capitalize;
}

#dashboard-menu ul li {
  margin: 10px 0;
}

#dashboard-menu ul li a {
  text-decoration: none;
  
  font-size: 14px;
  /*text-transform: uppercase;*/
}

#dashboard-menu ul li.active a {
  font-weight: bold;
  color: red;
}

#dashboard-content {
  /*flex-grow: 1;*/
  /*padding: 0 40px;*/
  width: 800px;
  /*margin: 0 auto;*/
}
img.avatar.avatar-96 {
  width: 190px;
  height: 190px;
  object-fit: cover;
}

textarea[name="about_me"] {
  width: 100%;
  height: 80px;
  resize: vertical;
  font-family: Helvetica, sans-serif;
  border: 1px solid var(--white-alpha-10);
  border-radius: 5px;
  padding: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #ddd;  
}

.full-width {
  grid-column: span 3; /* Cho phép mục này chiếm cả 3 cột */
}

input#lostpassword-identifier {
  width: 95%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid var(--white-alpha-10);
  border-radius: 5px;
  font-size: 14px;
}

/* Tổng thể form */
#profile-form {
  max-width: 900px;
  margin: 0 auto;
  font-family: Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--white-alpha-10);
}

/* Khoảng cách giữa các khối */
.form-section {
  margin-bottom: 20px;
  padding: 20px;

  border: 1px solid var(--white-alpha-10);
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 20px;  
}

/* Tiêu đề mỗi phần */
.form-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  
  border-bottom: 2px solid red;
  padding-bottom: 5px;
}

/* Grid cho các trường */
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px; /* Khoảng cách giữa các ô */
  margin-bottom: 5px;
}

.form-grid div {
  display: flex;
  flex-direction: column;
}

/* Input và Label */
#profile-form label {
  margin-bottom: 5px;
  font-weight: bold;
}
.profile-form input {
  color: #ddd !important;
}

#profile-form input[type="text"],
#profile-form input[type="email"],
#profile-form input[type="password"],
#profile-form input[type="url"],
#profile-form input[type="date"] {
  padding: 10px;
  border: 1px solid var(--white-alpha-10);
  border-radius: 5px;
  font-size: 14px;
  width: 100%; 
}




/* Nút Submit */
.button-primary {
  background: #5b5b5b;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.button-primary:hover, a.author-link-ajax.nut-hukh:hover {
  background: #4b2323;
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  #profile-form {
    padding: 15px;
  }
}
.profile-form .form-section input[type="text"] {
  padding: 10px;
  border: 1px solid var(--white-alpha-10);
  border-radius: 5px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  background: #f9f9f900;
  color: #ddd;  
}

.url-input {
  border: 1px solid var(--white-alpha-10);
  border-radius: 5px;
  padding: 10px;
  font-size: 14px;
  width: 95%;
}

.url-input:focus {
  border-color: red; /* Màu xanh khi focus */
}

.url-input.error {
  border-color: red; /* Màu đỏ khi có lỗi */
}

.overview-dashboard {
  font-family: Helvetica, sans-serif;
  line-height: 1.5;
  flex-wrap: wrap;
  gap: 10px; /* Khoảng cách giữa các ô */
}

.overview-row {
  display: flex;
  width: 100%;
  gap: 20px;
}


@media (max-width: 899px) {
  #dashboard-content {
    padding: 0;
    width: 100%;
  }  
  .overview-row {
    flex-direction: column;
  }
  .overview-dashboard-col{
    padding: 0!important;
  }
  .form-grid {
      display: flex;
      gap: 15px;
      margin-bottom: 5px;
      flex-direction: column;
  }    
}

 
.overview-dashboard-col {
  flex: 1 1 calc(33.333% - 20px); /* Chiếm 1/3 chiều rộng, trừ khoảng cách */
  
  border: 1px solid var(--white-alpha-10);
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.overview-dashboard-col-full {
  flex: 1 1 100%; /* Chiều rộng toàn phần */
  
  border: 1px solid var(--white-alpha-10);
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  line-height: 2;
}
.overview-dashboard-col-full-2 {
  flex: 1 1 100%; /* Chiều rộng toàn phần */
  
  border: 1px solid var(--white-alpha-10);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.overview-pi {
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}

.overview-header {
  font-size: 14px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  padding-bottom: 8px;
  
}

.overview-body h3 {
  font-size: 1.5em;

  margin: 0;
  
}

.nut-hukh {
  background-color: #5b5b5b;
  border-color: #007bff;
  color: white !important;
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  margin: 5px;
}

.nut-hukh:hover {
  background-color: #0056b3;
  color: white !important;
  border-color: #4b2323;
}

div.wpforms-container-full .wpforms-form .wpforms-field-label {
  display: block;
  font-weight: 400 !important;
  font-size: 14px !important;
  float: none;
  line-height: 1.3;
  margin: 0 0 4px 0;
  padding: 0;
  word-break: break-word;
  word-wrap: break-word;
}

#dashboard-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#dashboard-menu li {
  display: flex;
  align-items: center;
  font-size: 14px;
}

#dashboard-menu li a {
  text-decoration: none;
  
  margin-left: 10px;
}

#dashboard-menu li.active {
  color: white;
  font-weight: bold;
}

#dashboard-menu li.active a {
  color: white;
}

#dashboard-menu li i {
  font-size: 14px;
  
  margin-right: 10px;
}

.profile-form input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--white-alpha-10);
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

/* Thêm hiệu ứng khi tập trung vào ô Email */
.profile-form input[type="email"]:focus {
  border-color: red;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
}

#dashboard-menu .menu-group-title {
  font-weight: bold;
  font-size: 14px;
  color: fff;
  /*text-transform: uppercase;*/
}

#dashboard-menu .sub-item {
  padding-left: 15px;
}
body.page-id-2356 h1.page-title,
body.page-id-61929 h1.page-title {
  display: none;
}
select#billing_country,
select#billing_state,
select#gender{

    padding: 4px;
    font-size: 14px;
    border: 1px solid var(--white-alpha-10);
    border-radius: 5px;
    background-color: #313131;
}