body {
  width: 100%;
  height: 100vh;
  margin: 0;

  color: white;
  overflow: hidden;
}

p {
  margin: 0;
}

button {
  background: none;
  border: none;
}

.pmbdft {
  background-color: #333 !important;
  border: 1px solid #424242 !important;
  color: white !important;

  padding: 10px;
}

.pmbdft:hover {
  background-color: #444 !important;
  transition: background-color 0.2s ease-in-out;

  cursor: pointer;
}

.round {
  border-radius: 999px;
}

#page {
  background-color: #222;
}

#ls {
  position: fixed;
  left: 0;
  top: 0;
  width: 250px;
  height: 100vh;

  border-right: 1px solid #333;
  background-color: #292929;
  z-index: 11;
}

.abcd {
  padding: 10px;
}

#profile-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;

  border-bottom: 1px solid #333;

  margin-bottom: 10px;

  cursor: pointer;
}

#profile-label:hover {
  background-color: rgb(53, 53, 53);
  transition: background-color 0.2s ease-in-out;
}

#label-pfp {
  aspect-ratio: 1/1;
  width: 40px;
}

#ls-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-icon {
  width: 20px;

  padding-left: 10px;
}

.gallery-icon {
  width: 15px;

  padding-left: 10px;
}

.lsl-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;

  text-align: left;

  color: white;

  height: 40px;
}

.lsl-button:hover {
  background-color: rgb(53, 53, 53);

  cursor: pointer;
}

.lsl-button.active {
  background-color: rgb(48, 48, 48);
}

.lsl-button.active .home-icon path {
  fill: currentColor;
}

.lsl-button.active .gallery-icon rect {
  fill: currentColor;
}

.lsl-button.active .courses-icon path {
  fill: currentColor;
}

#storage-container {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #333;
  padding: 20px 20px 0 20px;
}

#storage-title {
  font-size: 14px;
  font-weight: bold;
  color: white;
}

#storage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

#storage-header {
  display: flex;
  justify-content: flex-end;
}

#storage-value {
  font-size: 12px;
  color: #ccc;
}

#storage-bar {
  width: 100%;
  height: 8px;
  background-color: #444;
  border-radius: 4px;
  overflow: hidden;
}

#storage-progress {
  height: 100%;
  background-color: #4CAF50;
  width: 0%;
  transition: width 0.3s ease, background-color 0.3s ease;
}

#storage-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #ccc;
}

#maps-used, #free-space {
  display: flex;
  align-items: center;
}

.storage-text {
  padding-left: 6px;
}

.storage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.grey-dot {
  background-color: #666;
}

#storage-description {
  font-size: 11px;
  color: #999;
  line-height: 1.4;
  margin-top: 5px;
}

#cont {
  position: absolute;
  top: 61px;
  left: 251px;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background-color: #222;
  z-index: 5;
}

#cont::-webkit-scrollbar {
  width: 12px;
}

#cont::-webkit-scrollbar-track {
  background: #1a1a1a;
}

#cont::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 0px;
}

#cont::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#cont-1::-webkit-scrollbar,
#cont-2::-webkit-scrollbar,
#cont-3::-webkit-scrollbar,
#cont-gallery::-webkit-scrollbar,
#cont-courses::-webkit-scrollbar {
  width: 12px;
}

#cont-1::-webkit-scrollbar-track,
#cont-2::-webkit-scrollbar-track,
#cont-3::-webkit-scrollbar-track,
#cont-gallery::-webkit-scrollbar-track,
#cont-courses::-webkit-scrollbar-track {
  background: #1a1a1a;
}

#cont-1::-webkit-scrollbar-thumb,
#cont-2::-webkit-scrollbar-thumb,
#cont-3::-webkit-scrollbar-thumb,
#cont-gallery::-webkit-scrollbar-thumb,
#cont-courses::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 0px;
}

#cont-1::-webkit-scrollbar-thumb:hover,
#cont-2::-webkit-scrollbar-thumb:hover,
#cont-3::-webkit-scrollbar-thumb:hover,
#cont-gallery::-webkit-scrollbar-thumb:hover,
#cont-courses::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#cont-hd {
  position: fixed;
  top: 0;
  left: 251px;
  right: 0;
  z-index: 10;
  background-color: #222;
  box-sizing: border-box;
  height: 61px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  padding: 10px 15px;

  border-bottom: 1px solid #333;
}

#create-map-btn {
  background-color: #16457a;
  border: 1px solid #195396;
  color: white;

  padding: 8px 10px;
}

#create-map-btn:hover {
  background-color: #195396;

  cursor: pointer;

  transition: background-color 0.2s ease-in-out;
}

#center-hd {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-icon {
  aspect-ratio: 1/1;
  width: 20px;
  vertical-align: middle;
}

#rs-chd {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  height: fit-content;
}

#login-btn,
#signup-btn {
  padding: 8px 10px;
}

#cont-1,
#cont-3 {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-top: 60px;
}

#cont-courses #global {
  width: auto !important;
  height: auto !important;
  margin-top: 0 !important;
}

#cont-courses body {
  width: auto !important;
  height: auto !important;
}

#cont-courses {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

#cont-courses .map-grid {
  grid-template-rows: repeat(2, 1fr) !important;
}

#nt[style*="width: 0"] ~ #cont #cont-courses .map-grid,
#nt[style*="width:0"] ~ #cont #cont-courses .map-grid {
  grid-template-rows: repeat(3, 1fr) !important;
}

@media (min-width: 1096px) {
  #cont-courses .map-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1634px) {
  #cont-courses .map-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 2172px) {
  #cont-courses .map-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

#profile-page #map-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 970px) {
  #profile-page #map-grid {
    grid-template-columns: 1fr !important;
  }
}

#profile-page-pfp {
  aspect-ratio: 1 / 1;
}

/* Profile page container */
#profile-page {
  background-color: #292929 !important;
  flex-direction: column !important;
  gap: 20px !important;
  padding: 20px !important;
}

#profile-info {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 30px !important;
}

#cont-courses #nav-bar {
  width: calc(100% - 250px);
  height: 62px;
  position: fixed;
  align-items: center;
  left: 250px;
  background-color: #303030;
  border-bottom: 1px solid #333;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 4;
}

#cont-courses #nav-left {
  display: flex;
  margin-left: 10px;
  gap: 10px;
}

#cont-courses #nav-right {
  display: flex;
  margin-right: 10px;
  gap: 10px;
  align-items: center;
}

#hamburger-btn.pmbdft, #left-sidebar-btn.pmbdft {
  background-color: #333 !important;
  border: 1px solid #424242 !important;
}

#hamburger-btn.pmbdft:hover, #left-sidebar-btn.pmbdft:hover {
  background-color: #444 !important;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
}

#filters-btn {
  padding: 8px 16px !important;
}

#cont-courses .sidebar {
  top: 124px !important;
}

#cont-hd.unified-header ~ #cont #cont-courses .sidebar {
  top: 135px !important;
}

.lucide-search-icon {
  aspect-ratio: 1/1;
  width: 16px;
}

#c1-wrap-input {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;

  border: 1px solid #333;
  background-color: #292929;

  padding: 8px 20px;
}

#c1-input {
  border: none;
  background: none;

  width: 300px;

  color: #ffffff
}

#c1-input:focus {
  border: none;
  outline: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

input[type="search"]::-ms-clear,
input[type="search"]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

#cont-title {
  margin-bottom: 10px;
}

#recent-maps {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

#cont-2 {
  margin-top: 30px;
}

#new-map,
#rm-1,
#rm-2,
#rm-3 {
  width: 170px;
  height: 85px;

  border: 1px solid #333;
  background-color: #292929;
  
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
}

#new-map:hover,
#rm-1:hover,
#rm-2:hover,
#rm-3:hover {
  border: 1px solid rgb(70, 70, 70);
  background-color: #353535;
  cursor: pointer;

  transition: background-color 0.1s ease-in-out;
  transition: background-color 0.1s ease-in-out;
}

.add-icon {
  font-size: 30px;
}

#mrc-map {
  display: flex;
  flex-direction: column;
}

#recent-map-card {
  background-color: #292929;
  border: 1px solid #333;
  
  height: 300px;

  display: flex;
  flex-direction: row;
  gap: 20px;
  
  padding: 20px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

#recent-thumbnail {
  height: 100%;
  object-fit: contain;
}

#recent-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-name {
  margin-bottom: 20px;
}

#map-info {
  color: rgb(177, 177, 177);
}

.p-label {
  color: rgb(214, 214, 214);
  margin-bottom: 20px;
}

#nt {
  position: fixed;
  right: 0;
  top: 0;
  width: 0;
  height: 100vh;

  border-left: 1px solid #333;
  background-color: #292929;

  overflow: hidden;
  z-index: 11;
}

#close-bar {
  display: flex;
  justify-content: end;

  height: 39.5px;

  padding: 10px 15px;

  border-bottom: 1px solid #333;
}

.close-btn {
  color: white;
}

#hamburger-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 15;
}

#left-sidebar-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: none;
  z-index: 15;
}

#nav-bar {
  top: 61px !important;
}

#logout-btn {
  min-height: 33px;
  padding: 8px 10px;
}

@media (max-width: 1480px) {
  #nt {
    width: 0;
    position: absolute;
    right: 0;
    top: 0;
    height: 100vh;
    z-index: 20;
  }
  
  #cont {
    right: 0;
  }
  
  #cont-hd {
    right: 0;
  }

  #cont-courses {
    margin-right: 0;
  }

  #cont-courses #nav-bar {
    width: calc(100% - 250px);
  }
}

@media (max-width: 1250px) {
  #ls {
    left: -250px;
    width: 250px;
    overflow: visible;
    z-index: 999;
  }
  
  #cont {
    left: 0 !important;
  }
  
  #cont-hd {
    left: 0 !important;
  }

  #cont-courses {
    margin-left: 0 !important;
  }

  #nav-bar {
    left: 0 !important;
    width: 100% !important;
  }
  
  #left-sidebar-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  #cont-hd {
    flex-direction: column;
    height: auto;
    padding: 10px;
    gap: 10px;
  }
  
  #center-hd {
    order: -1;
  }
  
  #rs-chd {
    justify-content: center;
    gap: 10px;
  }
  
  .create-map-modal-content {
    width: 95%;
    margin: 10px;
  }
  
  #create-map-content {
    flex-direction: column;
  }
  
  .cmm-l, .cmm-r {
    flex: none;
  }
  
  .gallery-list-container.grid-view {
    grid-template-columns: repeat(2, 1fr);
  }
  
  #recent-maps {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 10px;
  }
}

@media (max-width: 570px) {
  #gallery-options .pmbdft {
    padding-left: 8px !important;
    padding-right: 8px !important;
    white-space: normal;
    text-align: left;
    font-size: 14px;
    flex-shrink: 0;
  }
  
  #gallery-options {
    flex-direction: column !important;
    gap: 10px;
    align-items: stretch;
  }
  
  .gallery-option-set {
    justify-content: flex-start;
    width: 100%;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  
  .pmbdft {
    padding: 12px 16px;
    min-height: 44px;
    font-size: 14px;
  }
  
  /* Ensure announcements sidebar is hidden on mobile */
  #nt {
    width: 0 !important;
    transform: translateX(100%);
  }
  
  #ls {
    left: -250px !important;
    transform: translateX(0);
    transition: transform 0.3s ease, left 0.3s ease;
    z-index: 999;
  }
  
  body.left-sidebar-open #ls {
    transform: translateX(250px);
  }
  
  #hamburger-btn, #left-sidebar-btn {
    width: 50px;
    height: 50px;
    bottom: 15px;
  }
  
  #hamburger-btn {
    right: 15px;
  }
  
  #left-sidebar-btn {
    left: 15px;
  }
  
  #cont-hd {
    padding: 8px;
  }
  
  #cont-title {
    font-size: 18px;
  }
  
  #c1-wrap-input {
    width: 100%;
    max-width: 280px;
    padding: 10px 15px;
  }
  
  #c1-input {
    width: 100%;
    font-size: 16px;
  }
  
  .create-map-modal-content {
    width: 100%;
    height: 100%;
    margin: 0;
  }
  
  #create-map-content {
    flex: 1;
    min-height: 0;
  }
  
  .cmm-r {
    padding: 15px;
  }
  
  .cmm-r input, .cmm-r select {
    font-size: 16px;
    padding: 12px;
  }
  
  .button-container .pmbdft {
    padding: 15px;
    font-size: 16px;
  }
  
  #recent-maps {
    grid-template-columns: 1fr;
  }
  
  #recent-maps > div {
    margin-bottom: 10px;
  }
  
  .gallery-list-container.grid-view {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .gallery-item .vt-one {
    width: 100%;
    align-items: flex-start;
    gap: 8px;
    display: flex;
    flex-direction: column;
  }
  
  .gallery-item .enroll-btn,
  .gallery-item .view-btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    order: 10;
  }
  
  .gallery-item .number-enrolled,
  .gallery-item .number-viewed {
    text-align: left;
    margin-top: 4px;
    order: 11;
  }
  
  .gallery-item .course-price {
    order: 5;
  }
  
  .gallery-item .post-description {
    order: 4;
  }
  
  .gallery-item .post-title {
    order: 3;
  }
  
  #storage-container {
    padding: 15px 15px 0 15px;
  }
  
  #storage-details {
    font-size: 11px;
  }
  
  #recent-map-card {
    flex-direction: column;
    height: auto;
    gap: 15px;
    align-items: center;
    text-align: center;
  }
  
  #recent-thumbnail {
    width: 200px;
    height: auto;
    max-height: 120px;
    object-fit: cover;
  }
  
  .announcement-element {
    padding: 15px 10px;
  }
  
  #ls {
    width: 280px !important;
  }
  
  #nt {
    width: 280px !important;
  }
}

/* Very small mobile adjustments */
@media (max-width: 360px) {
  #cont-hd {
    padding: 5px;
  }
  
  .pmbdft {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  #cont-title {
    font-size: 16px;
  }
  
  .create-map-modal-content {
    font-size: 13px;
  }
  
  .cmm-r {
    padding: 10px;
  }
  
  #hamburger-btn, #left-sidebar-btn {
    width: 45px;
    height: 45px;
    border-radius: 6px;
  }
  
  #ls, #nt {
    width: 260px !important;
  }
  
  /* Force hide announcements on very small screens */
  #nt {
    display: none !important;
  }
  
  #hamburger-btn {
    display: none !important;
  }
}

#nt-content {
  height: calc(100vh - 59.5px); /* Subtract close bar height including padding */
  overflow-y: auto;
  margin-top: 10px;
}

#nt-content::-webkit-scrollbar {
  width: 12px;
}

#nt-content::-webkit-scrollbar-track {
  background: #2a2a2a;
}

#nt-content::-webkit-scrollbar-thumb {
  background: #555;
}

#nt-content::-webkit-scrollbar-thumb:hover {
  background: #777;
}

#no-announcements {
  text-align: center;
  padding: 20px 15px;
  color: #888;
  font-size: 14px;
}

.ann-date {
  color: #888;
  font-size: 12px;
  margin-top: 10px;
}

.close-btn:hover {
  color: rgb(219, 219, 219);

  cursor: pointer;
}

#ann-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#ann-title {
  margin: 10px 0px;
}

.announcement-element {
  display: flex;
  flex-direction: row;

  padding: 20px 15px;

  border-bottom: 1px solid #333;
}

.announcement-element:hover {
  background-color: #333;

  cursor: pointer;
}

.announcement-element.read {
  opacity: 0.6;
}

.announcement-thumbnail {
  width: 100%;
}

.announcement-title {
  margin: 10px 0px;
}

.announcement-description {
  color: rgb(177, 177, 177);
}

.clear-ann-btn {
  margin-bottom: 20px;
}

.ann-dot {
  padding: 0px 8px 0px 0px;
}

#cont-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 0px 50px;
  margin-top: 50px;
}

#gallery-list {
  display: flex;
  flex-direction: column;

  width: 100%;
}

#gallery-options {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#gallery-options .pmbdft {
  white-space: nowrap;

  padding: 5px 20px;

  display: flex;
  align-items: center;
  gap: 8px;
}

#gallery-options .pmbdft:hover {
  background-color: #444 !important;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
}

.gallery-option-set {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

#gallery-title {
  margin-bottom: 20px;
}

.gos-icon {
  aspect-ratio: 1/1;
  width: 16px;
}

.flex-center {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.pmbdft.active {
  border-color: rgb(90, 90, 90);
  background-color: rgb(71, 71, 71);
}

.view-text {
  display: none;
}

.pmbdft.active .view-text {
  display: inline;
}

#list-view-btn:not(.active),
#grid-view-btn:not(.active) {
  padding: 5px;
  width: 36px;
  aspect-ratio: 1/1;

  display: flex;
  justify-content: center;
}

.gallery-divider {
  width: 100%;
  height: 1px;
  background-color: #333;
  margin: 20px 0;
}

.gallery-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border: 1px solid #424242
}

.gallery-table th,
.gallery-table td {
  padding: 12px;
  text-align: left;
}

.gallery-table th {
  background-color: #333;
  color: white;
  font-weight: bold;
}

.gallery-table tbody tr:nth-child(odd) {
  background-color: #333;
}

.gallery-table tbody tr:nth-child(even) {
  background-color: #3a3a3a;
}

.gallery-table tbody tr:hover {
  background-color: #444;
}

.gallery-list-container {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  padding-bottom: 50px;
}

.gallery-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 12px;
  border: 1px solid #333;
  background-color: #292929;
  margin-bottom: 10px;
  position: relative;
}

.gallery-item:hover {
  border: 1px solid rgb(70, 70, 70);
  background-color: #353535;
  cursor: pointer;

  transition: background-color 0.1s ease-in-out;
  transition: background-color 0.1s ease-in-out;
}

.gallery-item.locked:hover {
  background-color: #292929 !important;
  cursor: not-allowed !important;
}

.lock-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.thumbnail-placeholder {
  width: 80px;
  height: 45px;
  background-color: #555;
  border: 1px solid #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-thumbnail {
  width: 80px;
  height: 45px;
  object-fit: cover;
}

.item-name {
  color: rgb(216, 216, 216);
  flex: 1;
}

.item-date,
.item-size,
.item-type {
  color: #5e5e5e;
  font-size: 14px;
}

.gallery-list-container.grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-list-container.grid-view .gallery-item {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 12px;
  margin-bottom: 0;
  gap: 8px;
}

.gallery-list-container.grid-view .thumbnail-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
}

.gallery-list-container.grid-view .item-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  object-fit: cover;
}

.gallery-list-container.grid-view .item-name {
  flex: none;
  font-size: 16px;
  margin-bottom: 12px;
}

/* Settings styles */

.settings-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.settings-popup-content {
  background: #2a2a2a;
  border-radius: 0px;
  width: 90%;
  max-width: 800px;
  height: 80%;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #444;
  position: relative;
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #444;
  position: relative;
}

.settings-header h2 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  flex: 1;
  text-align: left;
}

.settings-close {
  background: none !important;
  border: none !important;
  color: #aaa !important;
  font-size: 24px !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0 !important;
  transition: none !important;
  position: absolute !important;
  right: 20px !important;
  top: 20px !important;
  box-sizing: border-box !important;
  outline: none !important;
  transform: none !important;
}

.settings-close:hover {
  color: #fff !important;
  
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  font-size: 24px !important;
  position: absolute !important;
  right: 20px !important;
  top: 20px !important;
  box-sizing: border-box !important;
  outline: none !important;
  transform: none !important;
  transition: none !important;
}

.settings-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0; 
}

.settings-sidebar {
  width: 200px;
  background: #333;
  padding: 20px 0;
  border-right: 1px solid #444;
}

.settings-nav-item {
  padding: 12px 24px;
  cursor: pointer;
  color: #ccc;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.settings-nav-item:hover {
  background: #3a3a3a;
  color: #fff;
}

.settings-nav-item.active {
  background: #3a3a3a;
  color: #fff;
  border-left-color: #fff;
}

.settings-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.settings-tab {
  display: none !important;
}

.settings-tab.active {
  display: block !important;
}

.settings-tab h3 {
  margin: 0 0 24px 0;
  color: #fff;
  font-size: 1.25rem;
  border-bottom: 1px solid #444;
  padding-bottom: 12px;
}

.settings-group {
  margin-bottom: 32px;
}

.settings-group:last-child {
  margin-bottom: 0;
}

.settings-content::-webkit-scrollbar {
  width: 12px;
}

.settings-content::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.settings-content::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 0px;
}

.settings-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.cache-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.cache-item:last-child {
  margin-top: 16px;
  padding-top: 16px;
}

.cache-label {
  color: #e0e0e0;
  font-size: 15px;
  flex: 1;
}

.action-btn {
  background: #222 !important;
  color: #bbb !important;
  border: 1px solid #444 !important;
  border-radius: 0 !important;
  padding: 10px 16px !important;
  cursor: pointer !important;
  transition: none !important;
  font-size: 14px !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
  min-width: fit-content !important;
  max-width: none !important;
  width: auto !important;
  min-height: 32px !important;
  transform: none !important;
  position: relative !important;
}

.action-btn:hover {
  background: #444 !important;
  
  color: #bbb !important;
  border: 1px solid #444 !important;
  border-radius: 0 !important;
  padding: 10px 16px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
  min-width: fit-content !important;
  max-width: none !important;
  width: auto !important;
  min-height: 32px !important;
  transition: none !important;
  transform: none !important;
  position: relative !important;
}

.action-btn.clear-all {
  width: 100% !important;
  margin-left: 0 !important;
  margin-top: 8px !important;
}

.action-btn.clear-all:hover {
  width: 100% !important;
  margin-left: 0 !important;
  margin-top: 8px !important;
  background: #444 !important;
  color: #bbb !important;
  border: 1px solid #444 !important;
  border-radius: 0 !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  min-height: 32px !important;
  max-height: 32px !important;
  height: 32px !important;
  transition: none !important;
  transform: none !important;
  position: relative !important;
}

.toggle-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.toggle-switch {
  width: 32px;
  height: 18px;
  background: #bbb;
  border-radius: 0;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s;
  border: 1px solid #ccc;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: #fff;
  top: 1px;
  left: 1px;
  transition: transform 0.2s;
  box-shadow: none;
  border: 1px solid #ccc;
}

.toggle-switch.active {
  background: #4af;
  border-color: #4af;
}

.toggle-switch.active::after {
  transform: translateX(15px);
}

.toggle-label {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.login-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 16px;
  background: #222 !important;
  color: #bbb !important;
  border: 1px solid #444 !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background 0.2s, color 0.2s !important;
  box-sizing: border-box;
  min-width: fit-content;
}

.login-prompt:hover {
  background: #444 !important;
  color: #fff !important;
  
}

.prompt-logo {
  width: 24px;
  height: 24px;
}

.prompt-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  background: #222;
  border: 1px solid #3f3f3f;
  color: #f0f6fc;
  font-size: 14px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: 1px solid #fff;
}

.form-group input:disabled {
  background: #333;
  color: #888;
  cursor: not-allowed;
  border-color: #444;
}

.username-availability {
  margin-top: 4px;
  font-size: 12px;
}

.username-availability.available {
  color: #28a745;
}

.username-availability.unavailable {
  color: #dc3545;
}

.username-availability.checking {
  color: #ffc107;
}

.color-options {
  display: flex;
  gap: 8px;
  align-items: center;
}

.color-option {
  width: 20px;
  height: 20px;
  border: 2px solid #555;
  cursor: pointer;
  position: relative;
}

.color-option.selected {
  border-color: #fff;
}

.color-option.selected::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

.color-option[data-color="#222"] {
  background: #222;
}

.color-option[data-color="#333"] {
  background: #333;
}

.color-option[data-color="#fff"] {
  background: #fff;
  border-color: #ccc;
}

.color-option[data-color="#fff"].selected {
  border-color: #fff;
}

.color-option[data-color="#fff"].selected::after {
  color: #000;
}

#colorPickerOption {
  background: conic-gradient(
    rgb(207, 46, 46), rgb(236, 236, 48), rgb(57, 209, 43), rgb(0, 183, 255), rgb(0, 89, 255), rgb(219, 23, 219), rgb(218, 51, 51)
  );
}

#colorPickerOption.selected::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

.settings-footer {
  flex-shrink: 0; 
  height: 56px;
  background: #2a2a2a;
  border-top: 1px solid #444;
  box-sizing: border-box;
}

.settings-footer-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
}

.settings-footer-buttons {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
}

.settings-btn.cancel,
.settings-btn.save {
  background: #222 !important;
  color: #bbb !important;
  border: 1px solid #444 !important;
  border-radius: 0 !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  transition: none !important;
  font-size: 14px !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
  min-width: fit-content !important;
  max-width: none !important;
  width: auto !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  transform: none !important;
  position: relative !important;
}

.settings-btn.cancel:hover,
.settings-btn.save:hover {
  background: #444 !important;
  
  color: #bbb !important;
  border: 1px solid #444 !important;
  border-radius: 0 !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
  min-width: fit-content !important;
  max-width: none !important;
  width: auto !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  transition: none !important;
  transform: none !important;
  position: relative !important;
}

.settings-btn.save {
  background: #0066cc;
}

.settings-btn.save:hover {
  background: #0077dd;
}

#toolbarAlignment {
  background: #333 !important;
  color: #fff !important;
  border: 1px solid #555 !important;
  border-radius: 0px !important;
  padding: 8px 12px !important;
  width: 200px !important;
  font-size: 14px !important;
  appearance: none !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 16px !important;
}

#toolbarAlignment:hover {
  background: #444 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 16px !important;
  border-color: #666 !important;
}

#toolbarAlignment:focus {
  outline: 2px solid #fff !important;
  outline-offset: -2px !important;
  background: #444 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 16px !important;
}

#toolbarAlignment option {
  background: #333 !important;
  color: #fff !important;
  padding: 8px !important;
}

#toolbarAlignment option:hover,
#toolbarAlignment option:checked:hover,
#toolbarAlignment option:focus,
#toolbarAlignment option:checked,
#toolbarAlignment option:selected {
  background: #555 !important;
  color: #fff !important;
}

#qualityRefresh {
  background: #333 !important;
  color: #fff !important;
  border: 1px solid #555 !important;
  border-radius: 0px !important;
  padding: 8px 12px !important;
  width: 200px !important;
  font-size: 14px !important;
  appearance: none !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 16px !important;
}

#qualityRefresh:hover {
  background: #444 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 16px !important;
  border-color: #666 !important;
}

#qualityRefresh:focus {
  outline: 2px solid #fff !important;
  outline-offset: -2px !important;
  background: #444 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 16px !important;
}

#qualityRefresh option {
  background: #333 !important;
  color: #fff !important;
  padding: 8px !important;
}

#qualityRefresh option:hover,
#qualityRefresh option:checked:hover,
#qualityRefresh option:focus,
#qualityRefresh option:checked,
#qualityRefresh option:selected {
  background: #555 !important;
  color: #fff !important;
}

.upload-overlay {
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

/* Settings styles end */

.create-map-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.create-map-modal-content {
  display: flex;
  flex-direction: column;

  background: #2a2a2a;
  border-radius: 0px;
  border: 1px solid #444;
}

#close-modal {
  border-bottom: white;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;

  border-bottom: 1px solid #444;

  padding: 10px
}

#close-modal-btn {
  cursor: pointer;
  color: #fff;
}

#create-map-content {
  display: flex;
  flex-direction: row;
}

.cmm-l,
.cmm-r {
  padding: 10px;
}

.cmm-l {
  flex: 2;
  display: flex;
  flex-direction: column;
}

.cmm-r {
  flex: 1;
  border-left: 1px solid #444;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.create-btn {
  padding-top: 8px;
  padding-bottom: 8px;
  width: 100%;
}

.upload-area {
  width: 100%;
  flex: 1;
  transition: border-color 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5e5e5e;
  font-size: 12px;
  text-align: center;
  padding: 20px;
  margin-top: 10px;
  box-sizing: border-box;
}

.upload-area.upload-mode {
  border: 2px dashed #555;
}

.upload-area.upload-mode:hover {
  border-color: #777;
}

.upload-area:hover {
  border-color: #777;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  justify-content: flex-start;
}

.button-container .pmbdft {
  width: 100%;
}

#create-map-content input {
  width: 100%;
  padding: 12px;
  background: #222;
  border: 1px solid #3f3f3f;
  color: #f0f6fc;
  font-size: 14px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

#create-map-content input:focus {
  outline: 1px solid #fff;
}

#create-map-content select {
  background: #333;
  color: #fff;
  border: 1px solid #555;
  border-radius: 0px;
  padding: 8px 12px;
  width: 100%;
  font-size: 14px;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
}

#create-map-content select:hover {
  background: #444;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  border-color: #666;
}

#create-map-content select:focus {
  outline: 2px solid #fff;
  outline-offset: -2px;
  background: #444;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
}

#create-map-content select option {
  background: #333;
  color: #fff;
  padding: 8px;
}

#create-map-content select option:hover,
#create-map-content select option:checked:hover,
#create-map-content select option:focus,
#create-map-content select option:checked,
#create-map-content select option:selected {
  background: #555;
  color: #fff;
}

.name-input {
  min-width: 200px;
}

.upload-area {
  min-width: 260px;
}

@media (max-width: 1480px) {
  #nt {
    width: 0;
    position: fixed;
    right: -300px;
    transition: right 0.3s ease;
  }
  
  #nt.open {
    right: 0;
  }
  
  #cont {
    right: 0;
  }
  
  #cont-hd {
    right: 0;
  }

  #hamburger-btn {
    display: block;
  }
}

/* Mobile-specific fixes */
@media (max-width: 768px) and (hover: none) and (pointer: coarse) {
  /* This specifically targets mobile devices */
  #nt {
    width: 0 !important;
    right: -100% !important;
    position: fixed !important;
    transform: translateX(0) !important;
  }
  
  #ls {
    left: -100% !important;
    position: fixed !important;
    transform: translateX(0) !important;
  }
  
  body.left-sidebar-open #ls {
    left: 0 !important;
    transform: translateX(0) !important;
  }
  
  body.right-sidebar-open #nt {
    right: 0 !important;
    width: 280px !important;
    transform: translateX(0) !important;
  }
  
  /* Ensure buttons work properly on mobile */
  #hamburger-btn, #left-sidebar-btn {
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  
  #ann-top button, .clear-ann-btn {
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    min-height: 44px !important;
    padding: 12px 16px !important;
  }
  
  #announcements-list {
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (max-width: 1250px) {
  #ls {
    overflow: hidden;
  }
  
  #cont {
    left: 0 !important;
  }
  
  #cont-hd {
    left: 0 !important;
  }
  
  #left-sidebar-btn {
    display: block;
  }
}

@media (max-width: 900px) {
  #cont-hd {
    padding: 15px 10px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: 60px;
  }
  
  #center-hd {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  #rs-chd {
    gap: 6px;
  }
  
  #rs-chd .pmbdft {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .create-map-modal-content {
    width: 80%;
    margin: 10px;
  }
  
  #create-map-content {
    flex-direction: column;
  }
  
  .cmm-l, .cmm-r {
    flex: none;
  }
  
  .gallery-list-container.grid-view {
    grid-template-columns: repeat(2, 1fr);
  }
  
  #recent-maps {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 6px;
    max-width: 400px;
    margin: 0 auto;
  }
  
  #new-map,
  #rm-1,
  #rm-2,
  #rm-3 {
    width: 100%;
    height: 70px;
  }
  
  #recent-map-card {
    flex-direction: column;
    height: auto;
    gap: 15px;
    align-items: flex-start;
    text-align: left;
    width: 65vw;
    margin: 0;
    padding: 25px;
  }
  
  #recent-thumbnail {
    align-self: flex-start;
  }
  
  #recent-info {
    width: 100%;
  }
  
  .resume-editing-btn {
    margin-top: 15px;
    width: 100%;
  }
  
  #recent-thumbnail {
    width: 200px;
    height: auto;
    max-height: 120px;
    object-fit: cover;
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  
  .pmbdft {
    padding: 12px 16px;
    min-height: 44px;
    font-size: 14px;
  }
  
  #hamburger-btn, #left-sidebar-btn {
    width: 50px;
    height: 50px;
    bottom: 15px;
  }
  
  #hamburger-btn {
    right: 15px;
  }
  
  #left-sidebar-btn {
    left: 15px;
  }
  
  #cont-title {
    font-size: 18px;
  }
  
  #c1-wrap-input {
    width: 100%;
    max-width: 280px;
    padding: 10px 15px;
  }
  
  #c1-input {
    width: 100%;
    font-size: 16px;
  }
  
  .create-map-modal-content {
    width: 100%;
    height: 100%;
    margin: 0;
  }
  
  #create-map-content {
    flex: 1;
    min-height: 0;
  }
  
  .cmm-r {
    padding: 15px;
  }
  
  .cmm-r input, .cmm-r select {
    font-size: 16px;
    padding: 12px;
  }
  
  .button-container .pmbdft {
    padding: 15px;
    font-size: 16px;
  }
  
  #recent-maps {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    max-width: 350px;
    margin: 0 auto;
  }
  
  #new-map,
  #rm-1,
  #rm-2,
  #rm-3 {
    width: 100%;
    height: 65px;
    font-size: 14px;
  }
  
  #recent-map-card {
    max-width: none;
    margin: 0;
    padding: 20px;
    align-items: flex-start;
    text-align: left;
    width: 65vw;
  }
  
  #recent-thumbnail {
    align-self: flex-start;
  }
  
  #recent-info {
    width: 100%;
  }
  
  .resume-editing-btn {
    margin-top: 15px;
  }
  
  .gallery-list-container.grid-view {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  #storage-container {
    padding: 15px 15px 0 15px;
  }
  
  #storage-details {
    font-size: 11px;
  }
  
  .announcement-element {
    padding: 15px 10px;
  }
  
  #ls {
    width: 280px !important;
  }
  
  #nt {
    width: 280px !important;
  }
}
/* Progressive Image Loading Styles */
.progressive-image-container {
  position: relative;
  overflow: hidden;
}

.thumbnail-blur {
  filter: blur(5px);
  transition: filter 0.3s ease;
  transform: scale(1.05); /* Slightly scale to hide blur edges */
}

.thumbnail-loaded {
  filter: blur(0);
  transform: scale(1);
}

.thumbnail-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Optimize image loading performance */
.item-thumbnail {
  will-change: filter, transform;
  content-visibility: auto;
}

/* Home page thumbnail placeholders */
.home-thumbnail-placeholder {
  height: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
  border: 1px solid #666;
  flex-shrink: 0;
}

.recent-map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

/* Context menu styles */
.context-menu-option {
  padding: 8px 10px;
  cursor: pointer;
  color: #fff;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  font-size: 12px;
  transition: background 0.2s;
}

.context-menu-option:hover:not(.disabled) {
  background: #444;
}

.context-menu-option.disabled {
  color: #888;
  cursor: not-allowed;
}

.context-divider {
  height: 0;
  border-top: 1px solid #444;
  margin: 0;
  width: 100%;
}
