.profile-green-full {
  background: #d1dec4;
  width: 100%;
  height: 100vh;
  min-height: 400px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-page {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-green {
  background: #d1dec4;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 18px;
}
#mapThemeBoxTopRight {
  display: none !important;
}
.map-topright-btns {
  position: absolute;
  top: 0.5em;
  right: 2em;
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  z-index: 1100;
}
#mapPinBoxTopRight,
#mapThemeBoxTopRight {
  width: 38px;
  height: 38px;
  background: #fde8e8;
  border: 2px dashed #4caf50;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
#mapPinBoxTopRight .pin-emoji {
  font-size: 1.3em;
  line-height: 1;
}
#mapThemeBoxTopRight .theme-switch-btn {
  font-size: 1.1em;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 0.1em 0.3em;
  cursor: pointer;
  color: #bfa76f;
  transition: background 0.15s;
}
#mapThemeBoxTopRight .theme-switch-btn:hover {
  background: #f3e2c2;
}
#mapPinBoxTopRight {
  position: absolute;
  top: 0.5em;
  right: 0;
  display: flex;
  flex-direction: row;
  gap: 0.4em;
  z-index: 1100;
}
#mapPinBoxTopRight,
#mapThemeBoxTopRight {
  width: 40px;
  height: 40px;
  background: #fde8e8;
  border: 2px dashed #4caf50;
  border-radius: 10px;
  box-shadow: 0 2px 8px #0001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  aspect-ratio: 1 / 1;
}
#mapPinBoxTopRight {
  border-radius: 10px;
}
#mapPinBoxTopRight .pin-emoji {
  font-size: 1.2em;
  line-height: 1;
}
#mapThemeBoxTopRight .theme-switch-btn {
  font-size: 1.1em;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  color: #bfa76f;
  transition: background 0.15s;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bfa76f;
  transition: background 0.15s;
}
.theme-switch-btn:hover {
  background: #f3e2c2;
}

.map-search-bar {
  position: absolute;
  top: 1.2em;
  left: 2em;
  transform: none;
  z-index: 1002;
  display: flex;
  align-items: center;
  background: #fde8e8;
  border-radius: 16px;
  box-shadow: 0 2px 8px #0001;
  height: 40px;
  padding: 0 1.1em 0 0.7em;
  border: 2px dashed #4caf50;
  width: 90%;
  max-width: 480px;
}
.map-search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-family: 'Cabin Sketch', cursive;
  color: #2d3a1a;
  outline: none;
  padding: 0.5em 0.3em;
}
.map-search-bar button {
  background: none;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
  color: #2d3a1a;
  margin-left: 0.3em;
  padding: 0.2em 0.4em;
  border-radius: 8px;
  transition: background 0.15s;
}
.map-search-bar button:hover {
  background: #f8fbe7;
}
@media (max-width: 600px) {
  .map-search-bar {
    max-width: 98vw;
    padding: 0.2em 0.5em;
  }
  .map-search-bar input {
    font-size: 1em;
  }
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-top: 0.2em;
}
.sidebar-menu-item {
  display: flex;
  align-items: center;
  font-family: 'Just Me Again Down Here', cursive, 'Segoe UI', sans-serif;
  letter-spacing: 2px;
  font-size: 1.35rem;
  font-weight: bold;
  color: #f89090;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0.6em 1.1em;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  outline: none;
}
.sidebar-menu-item:hover,
.sidebar-menu-item:focus {
  background: #f8fbe7;
  color: #f89090;
}
.sidebar-menu-item.active {
  background: #e6f2dc;
  color: #f89090;
  box-shadow: 0 2px 8px #0001;
  font-weight: bold;
}
.map-theme-dropdown {
  position: absolute;
  top: 1.2em;
  right: 1.2em;
  z-index: 1001;
  background: #f8fbe7ee;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(60, 40, 20, 0.08);
  padding: 0.5em 1em 0.5em 1em;
  border: 2px dashed #bca98a;
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.map-theme-dropdown select {
  font-size: 1.1rem;
  font-family: 'Segoe UI', 'Georgia', serif;
  border-radius: 6px;
  border: 1.5px solid #bca98a;
  background: #fff9f3;
  color: #3a2c1a;
  padding: 0.2em 0.7em;
  margin-left: 0.2em;
}
.flashback-cute {
  font-family: 'Just Me Again Down Here', cursive;
  font-size: 3.1rem;
  color: #f89090;
  background: none;
  padding: 0;
  border: none;
  box-shadow: none;
  letter-spacing: 1.5px;
  font-weight: normal;
  display: block;
  margin-bottom: 0;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Georgia', serif;
  background: #066920;
  color: #3a2c1a;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: hidden;
}

main,
header,
footer {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
}

main {
  flex: 1;
  padding: 32px 24px 24px 24px;
}

header {
  padding: 48px 24px 0 24px;
  text-align: center;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Georgia', serif;
  background: #f7f3ef;
  color: #3a2c1a;
  display: flex;
  flex-direction: column;
}

main.main-flex {
  display: flex;
  flex: 1;
  min-height: 70vh;
  width: 100vw;
  max-width: 100vw;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.sidebar {
  width: 340px;
  min-width: 260px;
  max-width: 400px;
  background: #fde8e8;
  padding: 2em 1.5em 1.5em 1.5em;
  margin: 0;
  height: calc(100vh - 12em);
  margin-bottom: 7em;
  padding-bottom: 2em;
  border-radius: 0 0 0 0;
  box-shadow: 0 2px 8px rgba(60, 40, 20, 0.04);
  border: 3px dashed #066920;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  height: 100vh;
  justify-content: flex-start;
}

.map-section {
  flex: 1 1 auto;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
  height: 100vh;
  width: 100%;
}

#map {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(60, 40, 20, 0.04);
  margin: 0;
}

@media (max-width: 900px) {
  main.main-flex {
    flex-direction: column;
  }
  .sidebar {
    width: 95vw;
    margin: 2em auto 0 auto;
    background: #fde8e8;
  }
  .map-section {
    margin: 2em auto;
    width: 95vw;
  }
  #map {
    width: 100%;
    min-width: 0;
    min-height: 300px;
  }
}

.map-placeholder {
  background: #f0e6db;
  border-radius: 18px;
  padding: 3em 0;
  text-align: center;
  color: #bca98a;
  font-size: 2rem;
  margin-bottom: 2em;
  border: 3px dashed #bca98a;
}

.pin-form {
  margin: 2em 0;
  padding: 1.5em;
  background: #f8fbe7;
}

.pin-form h2 {
  font-size: 1.3rem;
  margin-bottom: 1em;
  color: #7a5c2e;
}

.pin-form label {
  display: block;
  margin-bottom: 1em;
  font-size: 1.1rem;
}

.pin-form input,
.pin-form textarea {
  width: 100%;
  padding: 0.5em;
  border-radius: 8px;
  border: 1.5px solid #bca98a;
  background: #fff9f3;
  margin-top: 0.3em;
  font-size: 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.pin-form button {
  background: #e6cfa7;
  color: #3a2c1a;
  border: 2px solid #bca98a;
  border-radius: 10px;
  padding: 0.7em 2em;
  font-size: 1.1rem;
  font-family: 'Georgia', serif;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(60, 40, 20, 0.06);
  transition: background 0.2s, border 0.2s;
}
.pin-form button:hover {
  background: #d1b07a;
  border-color: #e6cfa7;
}

.pins-list {
  margin: 2em 0;
  padding: 1.5em;
  background: #f8fbe7;
}

.pins-list h2 {
  font-size: 1.3rem;
  margin-bottom: 1em;
  color: #7a5c2e;
}

.pins-list ul {
  list-style: none;
  padding: 0;
}

.pins-list li {
  background: #fff9f3;
  border: 2px dashed #bca98a;
  border-radius: 12px;
  margin-bottom: 1em;
  padding: 1em;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 1em;
}

.pins-list img {
  max-width: 80px;
  max-height: 80px;
  border-radius: 10px;
  border: 2px solid #e6cfa7;
  background: #fff;
}

footer {
  text-align: center;
  color: #bca98a;
  font-size: 1.1rem;
  margin: 0;
  font-family: 'Georgia', serif;
}

.scrapbook-border {
  border: 3px dashed #4caf50;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(60, 40, 20, 0.04);
}
