.dashboard-page .profile2-loading-shell {
  display: none !important;
}

.dashboard-page .section-heading {
  font-family: var(--sda-font-family, inherit);
  font-size: var(--sda-heading-3, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

.dashboard-page .section-description {
  font-size: var(--sda-text-base, 1rem);
  line-height: 1.5;
  margin: 0 0 1rem;
}

#map > .dashboard-map-loader {
  display: none;
  position: absolute !important;
  inset: 0;
  z-index: 15;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#map > .dashboard-map-loader::before,
#map > .dashboard-map-loader::after {
  content: none;
  display: none;
}

#map > .dashboard-map-loader.is-active,
#map > .dashboard-map-loader[style*="display: block"] {
  display: flex !important;
}

#map > .dashboard-map-loader .profile2-loading-mark {
  flex-shrink: 0;
}

#map .mapboxgl-ctrl-bottom-right {
  bottom: 12px;
  right: 12px;
  z-index: 5;
}

#map .mapboxgl-ctrl-bottom-left,
#map .mapboxgl-ctrl-attrib {
  display: none !important;
}

.dash-map-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(100% - 40px);
  margin: 20px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background: #000;
}

.dashboard-page .dash-map-shell {
  margin-top: var(--profile2-header-gap);
}

.dashboard-page.is-user-stealth .dash-map-shell {
  margin-top: 0;
}

.dashboard-page.is-user-stealth .stealth-toolbar {
  margin-top: var(--profile2-header-gap);
}

.dashboard-page .section.dashboard.babe {
  padding-top: var(--profile2-header-gap);
  padding-bottom: 0;
  text-align: left;
}

.dashboard-page.is-user-stealth .section.dashboard.babe {
  padding-top: 0;
}

.dashboard-page .dash-map-shell #map {
  height: clamp(560px, 70vh, 820px);
}

.dashboard-page .dash-map-shell .map-container {
  flex: 1 1 auto;
  min-height: 0;
}

.dash-map-actions {
  display: none;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  background: rgba(12, 12, 14, 0.42);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.dash-map-actions.is-visible {
  display: block;
}

.dash-map-shell.is-list-view .dash-map-actions {
  background: rgba(4, 4, 6, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dash-map-actions__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

.dash-map-actions__views {
  flex: 0 0 auto;
}

.dash-map-actions__nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dash-map-actions__promo {
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    90deg,
    rgba(255, 110, 173, 0.22),
    rgba(31, 200, 219, 0.22)
  );
}

.dash-map-actions__promo.is-visible {
  display: flex;
}

.dash-map-actions__promo .requestsAmount {
  margin: 0;
}

.dash-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  text-align: inherit;
}

.dash-toolbar-panel {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px;
  margin: auto;
  background: linear-gradient(
    90deg,
    rgba(255, 110, 173, 0.22),
    rgba(31, 200, 219, 0.22)
  );
  box-shadow: none;
  text-align: center;
}

.dash-toolbar input[type="button"],
.dash-toolbar-panel input[type="button"],
.dash-toolbar button,
.dash-toolbar-panel button {
  margin-bottom: 0;
}

button.dash-toolbar-btn,
input[type="button"].dash-toolbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 6px;
  box-sizing: border-box;
  height: 35px;
  min-width: 0;
  width: auto;
  padding: 0 12px;
  margin: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

button.dash-toolbar-btn:hover,
button.dash-toolbar-btn:focus,
input[type="button"].dash-toolbar-btn:hover,
input[type="button"].dash-toolbar-btn:focus {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  outline: 0;
}

button.dash-toolbar-btn--primary,
input[type="button"].dash-toolbar-btn--primary {
  background-image: linear-gradient(to right, var(--profile2-accent-soft, #ff6ead), var(--profile2-cyan, #1fc8db)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

button.dash-toolbar-btn--primary:hover,
button.dash-toolbar-btn--primary:focus,
input[type="button"].dash-toolbar-btn--primary:hover,
input[type="button"].dash-toolbar-btn--primary:focus {
  filter: brightness(1.05);
  background-image: linear-gradient(to right, var(--profile2-accent-soft, #ff6ead), var(--profile2-cyan, #1fc8db)) !important;
  border-color: transparent !important;
}

button.dash-toolbar-btn--accent,
input[type="button"].dash-toolbar-btn--accent {
  background: var(--profile2-cyan, #1fc8db) !important;
  border-color: var(--profile2-cyan, #1fc8db) !important;
  color: #fff !important;
  height: 40px;
}

button.dash-toolbar-btn--accent:hover,
button.dash-toolbar-btn--accent:focus,
input[type="button"].dash-toolbar-btn--accent:hover,
input[type="button"].dash-toolbar-btn--accent:focus {
  background: var(--profile2-accent-soft, #ff6ead) !important;
  border-color: var(--profile2-accent-soft, #ff6ead) !important;
}

button.dash-toolbar-btn--compact,
input[type="button"].dash-toolbar-btn--compact {
  font-size: 12px;
  padding: 0 10px;
}

button.dash-toolbar-btn i,
input[type="button"].dash-toolbar-btn i {
  font-size: 14px;
  line-height: 1;
}

input[type="button"].dash-location-btn {
  float: left;
  width: auto;
  min-width: 85px;
  height: 29px;
  line-height: 27px;
  font-size: 10px;
  font-weight: 600;
  margin-top: 3px;
  padding: 0 10px;
}

.map-profile {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(100%, 320px);
  max-width: 320px;
  z-index: 20;
  overflow: hidden;
  font-family: inherit;
}

.profile-bg {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.profile-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 48px 12px 20px;
  overflow-y: auto;
  text-align: center;
  color: #fff;
}

.map-profile button {
  box-sizing: border-box;
  margin: 0;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
}

.map-profile-close {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.map-profile-close:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
}

.map-profile-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid #fff;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  flex-shrink: 0;
}

.profile-username {
  margin: 12px 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: capitalize;
}

.profile-data {
  width: 100%;
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-boxes {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  text-align: left;
}

.profile-actions {
  width: 100%;
  padding: 16px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

button.profile-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  height: auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

button.profile-buttons:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
}

#profile-request {
  border-color: transparent;
  background-image: linear-gradient(to right, var(--profile2-accent-soft, #ff6ead), var(--profile2-cyan, #1fc8db));
}

#profile-request:hover {
  filter: brightness(1.05);
}

#profile-chat {
  border-color: var(--profile2-cyan, #1fc8db);
  background: var(--profile2-cyan, #1fc8db);
}

#profile-chat:hover {
  background: #19b3c4;
  border-color: #19b3c4;
  filter: none;
}

#profile-favourite.is-favourited {
  border-color: var(--profile2-accent-soft, #ff6ead);
  background: rgba(255, 110, 173, 0.22);
}

.miniprofile-interest {
  display: none;
  width: calc(100% - 24px);
  margin: 12px 12px 0;
  padding: 10px 12px;
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
}

.miniprofile-text {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
}

.miniprofile-btngroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.miniprofile-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

button.miniprofile-yes,
button.miniprofile-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 32px;
  height: auto;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

button.miniprofile-yes {
  background-color: #16a34a;
  border-color: #16a34a;
}

button.miniprofile-no {
  background-color: #dc2626;
  border-color: #dc2626;
}

.miniprofile-response {
  display: none;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.miniprofile-loadr {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--profile2-cyan, #1fc8db);
  border-radius: 50%;
  animation: spinr 0.5s linear infinite;
}

@media (max-width: 480px) {
  .map-profile {
    width: 100%;
    max-width: none;
  }
}

.dashboard-view-switcher {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  margin: 0 !important;
  padding: 4px;
  background: #161618;
  border: 1px solid #3a3a3f;
  border-radius: 8px;
  text-align: center;
}

.view-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 88px;
  height: 32px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #3a3a3f;
  border-radius: 6px;
  background: #242428;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.view-switch-btn:hover:not(.active) {
  background: #2f2f35;
  border-color: #52525b;
}

.view-switch-btn.active {
  background: linear-gradient(
    to right,
    var(--profile2-accent-soft, #ff6ead),
    var(--profile2-cyan, #1fc8db)
  );
  color: #fff;
  border-color: transparent;
}

.view-switch-btn.active:hover {
  filter: brightness(1.05);
  border-color: transparent;
}

.view-switch-btn.active i {
  color: #fff;
}

.view-switch-btn i,
.view-switch-btn span {
  line-height: 1;
}

.view-switch-btn i {
  font-size: 14px;
}

.pagination-btn {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--profile2-border, #e5e7eb);
  border-radius: 6px;
  color: var(--profile2-text, #111827);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pagination-btn:hover {
  background: #f5f5f5;
  border-color: var(--profile2-cyan, #1fc8db);
  color: var(--profile2-cyan, #1fc8db);
}

.pagination-btn.active {
  background-image: linear-gradient(to right, var(--profile2-accent-soft, #ff6ead), var(--profile2-cyan, #1fc8db));
  border-color: transparent;
  color: #fff;
}

@media (max-width: 768px) {
  .dash-map-actions__inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }

  .dash-map-actions__views {
    flex: 0 0 auto;
  }

  .dash-map-actions__nav {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
  }

  .dashboard-view-switcher {
    padding: 3px;
    gap: 3px;
  }

  .view-switch-btn {
    min-width: 0;
    width: 2rem;
    flex: 0 0 2rem;
    height: 28px;
    padding: 0;
    font-size: 12px;
  }

  .view-switch-btn span {
    display: none;
  }

  .view-switch-btn i {
    font-size: 12px;
  }

  button.dash-toolbar-btn,
  input[type="button"].dash-toolbar-btn {
    flex: 0 0 auto;
    min-width: 0;
    height: 28px;
    padding: 0 8px;
    font-size: 11px;
    gap: 0;
  }

  button.dash-toolbar-btn .dash-toolbar-btn__label,
  input[type="button"].dash-toolbar-btn .dash-toolbar-btn__label {
    display: none;
  }

  button.dash-toolbar-btn i,
  input[type="button"].dash-toolbar-btn i {
    font-size: 12px;
  }

  button.dash-toolbar-btn--primary,
  input[type="button"].dash-toolbar-btn--primary {
    flex: 0 0 auto;
    width: 28px;
    padding: 0;
  }

  .dash-map-actions__promo {
    padding: 8px 10px;
    gap: 8px;
  }
}

@media (max-width: 400px) {
  .dash-map-actions__inner {
    gap: 6px;
    padding: 6px 8px;
  }

  .dash-map-actions__nav {
    gap: 4px;
  }

  .view-switch-btn {
    width: 1.75rem;
    flex-basis: 1.75rem;
    height: 26px;
  }

  button.dash-toolbar-btn,
  input[type="button"].dash-toolbar-btn {
    height: 26px;
    padding: 0 6px;
  }

  button.dash-toolbar-btn--primary,
  input[type="button"].dash-toolbar-btn--primary {
    width: 26px;
  }
}

.dash-map-shell .dashboard-list-view {
  width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.dashboard-list-view {
  display: none;
  width: calc(100% - 40px);
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.list-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.list-view-header h3 {
  margin: 0;
  color: #333;
  font-size: 24px;
}

.list-view-count {
  color: #666;
  font-size: 14px;
}

.list-view-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

@media (min-width: 480px) {
  .list-view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .list-view-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .list-view-content {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1280px) {
  .list-view-content {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1536px) {
  .list-view-content {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.user-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid #e0e0e0;
}

.user-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-color: var(--profile2-cyan, #1fc8db);
}

.user-card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f0f0f0;
}

.user-card-content {
  padding: 15px;
}

.user-card-username {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  text-transform: capitalize;
}

.user-card-location {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-card-location i {
  color: var(--profile2-cyan, #1fc8db);
}

.no-users-message {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 16px;
  grid-column: 1 / -1;
}

.list-view-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-ellipsis {
  padding: 8px 4px;
  color: #999;
}

@media (max-width: 768px) {
  .dashboard-view-switcher {
    margin: 0;
  }

  .dash-map-shell {
    width: calc(100% - 20px);
  }

  .dashboard-page .stealth-toolbar {
    width: calc(100% - 20px);
  }

  .list-view-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .dashboard-list-view {
    width: calc(100% - 20px);
    padding: 15px;
  }
}

.dash-new-users {
  background: #fff;
  padding: 1.25rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-new-users[hidden] {
  display: none !important;
}

.dash-new-users__head {
  margin-bottom: 1rem;
}

.dash-new-users__title {
  margin: 0;
  font-family: var(--sda-font-family, inherit);
  font-size: var(--sda-heading-4, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--profile2-text, #111827);
}

.dash-new-users__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.dash-new-user {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 5.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.dash-new-user__avatar {
  position: relative;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  border: 2px solid var(--profile2-border, #e5e7eb);
  background-color: #f3f4f6;
  overflow: visible;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.dash-new-user__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.dash-new-user:hover .dash-new-user__avatar,
.dash-new-user:focus-visible .dash-new-user__avatar {
  border-color: var(--profile2-cyan, #1fc8db);
  transform: translateY(-2px);
}

.dash-new-user__name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: capitalize;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--profile2-text, #111827);
}

.dash-new-user__flag {
  position: absolute;
  right: -0.1rem;
  bottom: -0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #fff;
  font-size: 0.85rem;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

@media (max-width: 768px) {
  .dash-new-users {
    padding: 1rem;
  }

  .dash-new-user {
    width: 4.75rem;
  }

  .dash-new-user__avatar {
    width: 4.25rem;
    height: 4.25rem;
  }
}
