
.domain-dropdown {
  position: relative;
  width: 100%;
  max-width: 420px;
  font-family: Arial, sans-serif;
  z-index: 100;
}

.domain-details {
  position: relative;
}

.domain-dropdown-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  background: #087a43;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
}

.domain-dropdown-btn::-webkit-details-marker {
  display: none;
}

.dropdown-arrow {
  transition: transform .25s ease;
}

.domain-details[open] .dropdown-arrow {
  transform: rotate(180deg);
}

.domain-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 35px rgba(0,0,0,.15);
  z-index: 9999;
  box-sizing: border-box;
}

.domain-dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 7px;
  color: #263238;
  text-decoration: none;
  font-size: 14px;
}

.domain-dropdown-menu a:hover {
  background: #e9f7ef;
  color: #087a43;
}

@media (max-width: 480px) {
  .domain-dropdown {
    max-width: 100%;
  }
}

/* DROPDOWN MARUGAME UDON - FIX */
.domain-dropdown {
  position: relative !important;
  display: block !important;
  width: 100%;
  max-width: 420px;
  font-family: inherit;
  z-index: 100;
}

.domain-dropdown .domain-details {
  display: block;
  width: 100%;
}

.domain-dropdown .domain-dropdown-btn {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: #087a43;
  color: #fff !important;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  box-sizing: border-box;
}

.domain-dropdown .domain-dropdown-btn::marker {
  content: "";
}

.domain-dropdown .domain-dropdown-btn::-webkit-details-marker {
  display: none;
}

.domain-dropdown .dropdown-arrow {
  transition: transform .2s ease;
}

.domain-dropdown .domain-details[open] .dropdown-arrow {
  transform: rotate(180deg);
}

/* MENU DROPDOWN */
.domain-dropdown .domain-dropdown-menu {
  display: block !important;
  position: absolute !important;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  padding: 8px;
  margin: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,.12);
  box-sizing: border-box;
  z-index: 99999;
}

/* PAKSA SETIAP LINK KE BARIS BARU */
.domain-dropdown .domain-dropdown-menu a {
  display: block !important;
  float: none !important;
  clear: both;
  width: 100% !important;
  padding: 11px 12px !important;
  margin: 0 !important;
  color: #263238 !important;
  background: transparent;
  text-align: left !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  box-sizing: border-box;
  border-radius: 6px;
}

.domain-dropdown .domain-dropdown-menu a:hover {
  background: #e9f7ef !important;
  color: #087a43 !important;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .domain-dropdown {
    max-width: 100%;
  }

  .domain-dropdown .domain-dropdown-menu {
    max-height: 250px;
  }
}