@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Geist:wght@300;400;500;600;700&display=swap");
:root {
  --primary-color: #007bff;
  --primary-color-dark: #0056b3;
  --primary-color-darker: #004085;
  --primary-color-darkest: #002752;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

input, select, textarea {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 500;
  line-height: 1.2;
}

p {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  letter-spacing: -0.01em;
}

span {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  letter-spacing: -0.01em;
}

a, button {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  letter-spacing: -0.01em;
  font-size: 0.875rem;
}

body {
  background: #f8f9fa;
  margin: 0;
  padding: 0;
}
body ::selection {
  background: rgba(0, 123, 255, 0.2);
  color: #fff;
}
body ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
body ::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}
body ::-webkit-scrollbar-thumb {
  background: #e3e5e9;
  border-radius: 4px;
}
body ::-webkit-scrollbar-thumb:hover {
  background: #e3e5e9;
}
body ::-webkit-scrollbar-corner {
  background: #f8f9fa;
}
body.dark-mode body {
  background: #0f0f0f;
}

.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.app-content {
  display: flex;
  flex: 1;
  margin-top: 85px;
  position: relative;
  height: calc(100vh - 85px);
}

.app-sidebar {
  width: 350px;
  overflow-y: auto;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  margin: 0 0 16px 16px;
}
body.dark-mode .app-sidebar {
  background: #121212;
}
@media (max-width: 768px) {
  .app-sidebar {
    width: 100%;
  }
}

.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}

.app-main-header {
  z-index: 2;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .app-main-header {
    max-width: max-content;
    padding-top: 0 !important;
    padding: 16px;
  }
}
.app-main-content {
  flex: 1;
  z-index: 1;
  overflow-y: auto;
  position: relative;
  padding: 10px 10px 16px 16px;
  border-radius: 8px;
}

.app-plugins {
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  position: absolute;
}

.list-view .app-main-content {
  width: 100%;
}
.list-view .app-plugins {
  display: none;
}

.map-view .app-main-content {
  width: 425px;
}
.map-view .app-plugins {
  left: 425px;
  display: block;
  width: calc(100% - 450px);
}
@media (max-width: 768px) {
  .map-view .app-main {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .map-view .app-main-content {
    width: 100%;
    height: 60%;
    min-height: 60%;
    border-right: none;
    flex: 0 0 60%;
    order: 2;
  }
  .map-view .app-plugins {
    order: 1;
    top: auto;
    left: auto;
    width: 100%;
    height: 40%;
    min-height: 40%;
    flex: 0 0 40%;
    position: relative;
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .app-content {
    flex-direction: column;
  }
  .app-sidebar {
    display: none;
  }
  .app-main {
    width: 100%;
  }
}
.overflow-scroll {
  max-height: 500px;
  overflow-y: scroll;
}

.ov-content-header {
  margin-bottom: 16px;
}
.ov-content-header .ov-content-title {
  color: #666;
}
body.dark-mode .ov-content-header .ov-content-title {
  color: #999;
}

.ov-content-body {
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  border-radius: 8px;
}
.ov-content-body.ov-small {
  max-height: 350px;
}
.ov-content-body.ov-medium {
  max-height: 450px;
}
.ov-content-body.ov-large {
  max-height: 550px;
}

.ov-content-footer {
  margin-top: 16px;
}

.maintenance-lock {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #007bff;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.maintenance-lock .maintenance-lock-content {
  text-align: center;
  color: #fff;
  padding: 32px;
}
.maintenance-lock .maintenance-lock-content h1 {
  font-size: 1.875rem;
  margin-bottom: 24px;
}
.maintenance-lock .maintenance-lock-content p {
  font-size: 1.125rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .login-button-container {
    display: none !important;
  }
}
.transparent-btn, .add-btn, .danger-btn, .secondary-btn, .primary-btn {
  transition: all 0.2s;
  border-radius: 4px;
  padding: 8px 16px;
}
.transparent-btn i, .add-btn i, .danger-btn i, .secondary-btn i, .primary-btn i {
  vertical-align: middle;
}

.primary-btn {
  color: #fff;
  border: #007bff 1px solid;
  background: #007bff;
}
body.dark-mode .primary-btn {
  color: #fff;
  border: #007bff 1px solid;
  background: #007bff;
}
.primary-btn:hover {
  background: rgb(25.5, 136.2, 255);
  border-color: rgb(25.5, 136.2, 255);
}
body.dark-mode .primary-btn:hover {
  background: rgb(25.5, 136.2, 255);
  border-color: rgb(25.5, 136.2, 255);
}

.secondary-btn {
  color: #333;
  border: #e3e5e9 1px solid;
  background: #e3e5e9;
}
body.dark-mode .secondary-btn {
  color: #fff;
  border: #303030 1px solid;
  background: #303030;
}
.secondary-btn:hover {
  background: rgb(241.28, 242.26, 244.22);
  border-color: rgb(241.28, 242.26, 244.22);
}
body.dark-mode .secondary-btn:hover {
  background: rgb(60.75, 60.75, 60.75);
  border-color: rgb(60.75, 60.75, 60.75);
}

.danger-btn {
  color: #fff;
  border: #FF443E 1px solid;
  background: #FF443E;
}
.danger-btn:hover {
  background: rgb(255, 92.707253886, 87.5);
  border-color: rgb(255, 92.707253886, 87.5);
}

.add-btn {
  color: #fff;
  border: #00C754 1px solid;
  background: #00C754;
}
.add-btn:hover {
  background: rgb(0, 224.5, 94.7638190955);
  border-color: rgb(0, 224.5, 94.7638190955);
}

.transparent-btn {
  color: #666;
  border: 1px solid transparent;
  background: #f8f9fa;
}
body.dark-mode .transparent-btn {
  color: #999;
  border-color: transparent;
  background: #1e1e1e;
}
.transparent-btn.active {
  color: #fff !important;
  background: #007bff !important;
  border-color: #007bff;
}
.transparent-btn.active:hover {
  background: rgb(25.5, 136.2, 255) !important;
  border-color: rgb(25.5, 136.2, 255) !important;
}
.transparent-btn:hover {
  background: rgb(233.125, 236.25, 239.375);
}
body.dark-mode .transparent-btn:hover {
  background: rgb(42.75, 42.75, 42.75);
}

.header-icon {
  color: #666;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  font-size: 0.875rem;
}
body.dark-mode .header-icon {
  color: #999;
}
.header-icon:hover {
  color: #007bff;
}
body.dark-mode .header-icon:hover {
  color: #fff;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  border: 1px solid #ddd;
}
.modal-close i {
  opacity: 0.5;
}
.modal-close:hover {
  background: #f8f9fa;
}
.modal-close:hover i {
  opacity: 1;
}
body.dark-mode .modal-close {
  background: #1f1f20;
  border-color: #303030;
  color: #fff;
}
body.dark-mode .modal-close:hover {
  background: rgb(43.5476190476, 43.5476190476, 44.9523809524);
}

.remove-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
  background: #FF443E;
  border: 1px solid #FF443E;
}
.remove-btn i {
  transition: all 0.3s;
  color: #fff;
  font-size: 0.875rem;
}
.remove-btn:hover {
  background: transparent;
}
.remove-btn:hover i {
  color: #FF443E;
}
.remove-btn.rba {
  top: 5px;
  right: 5px;
  z-index: 2;
  position: absolute;
}

.scroll-arrow {
  top: 50%;
  width: 32px;
  height: 32px;
  position: absolute;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #fff;
  z-index: 1;
  font-size: 0.875rem;
}
body.dark-mode .scroll-arrow {
  background: #121212;
  color: white;
}
.scroll-arrow:hover {
  background: white;
}
body.dark-mode .scroll-arrow:hover {
  background: rgb(45, 45, 45);
}
.scroll-arrow.left {
  left: 4px;
}
.scroll-arrow.right {
  right: 4px;
}
.scroll-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

.view-toggle {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px;
  background: #fff;
  border-radius: 4px;
  width: fit-content;
}
body.dark-mode .view-toggle {
  background: #1f1f20;
}
.view-toggle button {
  display: flex;
  white-space: nowrap;
  align-items: center;
  transition: all 0.2s;
  gap: 4px;
  color: #666;
  font-size: 0.75rem;
  border-radius: 4px;
  padding: 8px 16px;
}
body.dark-mode .view-toggle button {
  color: #fff;
}
.view-toggle button i {
  font-size: 0.875rem;
}
.view-toggle button:hover:not(.active) {
  background: rgba(0, 0, 0, 0.05);
}
body.dark-mode .view-toggle button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
}
.view-toggle button.active {
  background: #007bff;
  color: #fff;
}

#removeSavedScreens {
  display: none;
}

.undo-btn,
.redo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}
.undo-btn:hover,
.redo-btn:hover {
  background: #f8f9fa;
}
.undo-btn.disabled,
.redo-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
body.dark-mode .undo-btn,
body.dark-mode .redo-btn {
  background: #1f1f20;
  border-color: #303030;
  color: #fff;
}
body.dark-mode .undo-btn:hover,
body.dark-mode .redo-btn:hover {
  background: rgb(43.5476190476, 43.5476190476, 44.9523809524);
}

.action-buttons {
  display: flex;
  gap: 8px;
}
@media (max-width: 768px) {
  .action-buttons {
    flex-flow: column;
    align-items: flex-start;
  }
}

.view-details-btn {
  display: none !important;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.modal.active {
  display: flex;
}

.modal-content {
  padding: 24px;
  border-radius: 8px;
  width: 90%;
  max-width: 700px;
  position: relative;
  background: #fff;
}
body.dark-mode .modal-content {
  background: #121212;
}

.modal-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.modal-header .modal-breadcrumb {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: fit-content;
  gap: 4px 8px;
  background: #f8f9fa;
  padding: 16px;
  border-radius: 4px;
}
body.dark-mode .modal-header .modal-breadcrumb {
  background: #1f1f20;
}
.modal-header .modal-breadcrumb .b-home {
  display: flex;
}
.modal-header .modal-breadcrumb svg {
  height: auto;
  width: 1.125rem;
}
.modal-header .modal-breadcrumb svg path {
  fill: #999;
}
body.dark-mode .modal-header .modal-breadcrumb svg path {
  fill: #999;
}
.modal-header .modal-breadcrumb span {
  font-size: 0.625rem;
  color: #999;
}
body.dark-mode .modal-header .modal-breadcrumb span {
  color: #999;
}

.gallery-modal {
  background: rgba(0, 0, 0, 0.9);
  z-index: calc(100 + 1);
}
.gallery-modal .modal-body {
  overflow: hidden;
  padding: 32px 0 !important;
}

.modal-gallery-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.modal-gallery-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
}

.modal-gallery-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-gallery-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.settings-group {
  margin-bottom: 24px;
}
.settings-group h3 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 16px;
  font-weight: 500;
}
body.dark-mode .settings-group h3 {
  color: #fff;
}

.settings-option {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}
.settings-option:last-child {
  border-bottom: none;
}
body.dark-mode .settings-option {
  border-color: #303030;
}

.settings-label {
  font-size: 0.875rem;
  color: #333;
}
body.dark-mode .settings-label {
  color: #fff;
}

.settings-value {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.settings-value select {
  min-width: 120px;
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  font-size: 0.875rem;
  color: #333;
  cursor: pointer;
}
body.dark-mode .settings-value select {
  background: #121212;
  border-color: #303030;
  color: #fff;
}
.settings-value select:focus {
  border-color: #007bff;
  outline: none;
}
.settings-value span {
  color: #666;
  font-size: 0.875rem;
}
body.dark-mode .settings-value span {
  color: #999;
}

.storage-info {
  font-size: 0.75rem;
  color: #999;
  margin-top: 4px;
  font-style: italic;
}
body.dark-mode .storage-info {
  color: #999;
}

.info-section {
  margin-bottom: 32px;
}
.info-section:last-child {
  margin-bottom: 0;
}
.info-section h3 {
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 16px;
}
body.dark-mode .info-section h3 {
  color: #fff;
}
.info-section p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 16px;
}
body.dark-mode .info-section p {
  color: #999;
}

.report-button {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  padding: 8px;
  transition: all 0.2s;
  margin-top: 16px;
  font-size: 0.875rem;
  background: #007bff;
  border-radius: 4px;
}
.report-button:hover {
  background: rgb(0, 98.4, 204);
  transform: translateY(-1px);
}
.report-button i {
  font-size: 0.875rem;
}

.notice-banner {
  display: none;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  animation: slideDown 0.3s ease-out;
}
.notice-banner.active {
  display: block;
}
body.dark-mode .notice-banner {
  background: #1f1f20;
}

.notice-content {
  padding: 16px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
}
.notice-content i {
  color: #FF443E;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.notice-text h3 {
  margin: 0 0 8px 0;
  font-size: 1.125rem;
  color: #333;
}
body.dark-mode .notice-text h3 {
  color: #fff;
}
.notice-text p {
  margin: 0;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.4;
}
body.dark-mode .notice-text p {
  color: #999;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.data-modal-content {
  max-width: 800px;
}

.data-controls {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.select-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 4px;
  flex: 1;
}
.select-group label {
  font-size: 0.875rem;
  color: #666;
}
body.dark-mode .select-group label {
  color: #999;
}

.data-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .data-content {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-content.full-page {
  height: 90%;
  display: flex;
  max-width: 1200px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
}
.modal-content.full-page .modal-header {
  top: 0;
  position: sticky;
}
.modal-content.full-page .modal-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
.modal-content.full-page .modal-body .modal-body-content {
  max-width: 800px;
  margin: 0 auto;
}
.modal-content.full-page .modal-body .modal-body-content.has-sidebar {
  width: 100%;
  display: flex;
  gap: 16px;
  max-width: none;
  margin: auto;
}
@media (max-width: 768px) {
  .modal-content.full-page .modal-body .modal-body-content.has-sidebar {
    flex-direction: column;
  }
}
.modal-content.full-page .modal-body .modal-body-content.has-sidebar .is-sticky {
  position: sticky;
  top: 0;
}
.modal-content.full-page .modal-body .modal-body-content.has-sidebar .modal-content-main {
  flex: 0 0 70%;
  width: 70%;
}
@media (max-width: 768px) {
  .modal-content.full-page .modal-body .modal-body-content.has-sidebar .modal-content-main {
    flex: 1;
    width: 100%;
  }
}
.modal-content.full-page .modal-body .modal-body-content.has-sidebar .modal-content-sidebar {
  flex: 0 0 30%;
  width: 30%;
  padding-right: 32px;
}
@media (max-width: 768px) {
  .modal-content.full-page .modal-body .modal-body-content.has-sidebar .modal-content-sidebar {
    flex: 1;
    width: 100%;
    padding-right: 0;
    margin-top: 16px;
  }
}
@media (min-width: 768px) {
  .modal-content.full-page .modal-body .modal-body-content.has-form .modal-content-main {
    flex: 0 0 60%;
    width: 60%;
  }
}
@media (min-width: 768px) {
  .modal-content.full-page .modal-body .modal-body-content.has-form .modal-content-sidebar {
    flex: 0 0 40%;
    width: 40%;
  }
}

.gallery-image {
  height: 200px;
}
@media (min-width: 480px) and (max-width: 767px) {
  .gallery-image {
    height: 150px;
  }
}
@media (max-width: 480px) {
  .gallery-image {
    height: 180px;
  }
}

.gallery-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100%;
}

.gallery-slides {
  display: flex;
  height: 100%;
  transition: transform 0.3s;
}

.gallery-slide {
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-dot.active {
  background: white;
  transform: scale(1.2);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  color: white;
  z-index: 2;
  transition: all 0.2s;
}
.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}
.gallery-arrow.gallery-prev {
  left: 8px;
}
.gallery-arrow.gallery-next {
  right: 8px;
}

.gallery-view-btn {
  z-index: 2;
  border: none;
  display: flex;
  cursor: pointer;
  position: absolute;
  align-items: center;
  gap: 4px;
  bottom: 8px;
  right: 8px;
  padding: 8px;
  transition: all 0.2s;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  font-size: 0.875rem;
  border-radius: 4px;
}
.gallery-view-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.875rem;
  color: #333;
}
body.dark-mode .form-group label {
  color: #fff;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=search],
textarea,
select {
  width: 100%;
  padding: 16px;
  font-size: 0.875rem;
  transition: all 0.2s;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #f8f9fa;
  color: #333;
}
body.dark-mode input[type=text],
body.dark-mode input[type=email],
body.dark-mode input[type=tel],
body.dark-mode input[type=search],
body.dark-mode textarea,
body.dark-mode select {
  background: #1f1f20;
  border-color: #1f1f20;
  color: #fff;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=search]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #007bff;
}
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=tel]::placeholder,
input[type=search]::placeholder,
textarea::placeholder,
select::placeholder {
  color: #999;
}
body.dark-mode input[type=text]::placeholder,
body.dark-mode input[type=email]::placeholder,
body.dark-mode input[type=tel]::placeholder,
body.dark-mode input[type=search]::placeholder,
body.dark-mode textarea::placeholder,
body.dark-mode select::placeholder {
  color: #999;
}
input[type=text]:disabled,
input[type=email]:disabled,
input[type=tel]:disabled,
input[type=search]:disabled,
textarea:disabled,
select:disabled {
  background-color: #f8f9fa;
  cursor: not-allowed;
}
body.dark-mode input[type=text]:disabled,
body.dark-mode input[type=email]:disabled,
body.dark-mode input[type=tel]:disabled,
body.dark-mode input[type=search]:disabled,
body.dark-mode textarea:disabled,
body.dark-mode select:disabled {
  background-color: #1f1f20;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

select {
  cursor: pointer;
  margin-bottom: 8px;
  appearance: none;
  background-image: none;
}
body.dark-mode select {
  color: #fff;
}
select:focus {
  border-color: transparent;
  outline: none;
}

.required {
  color: #FF443E;
  margin-left: 4px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.submit-btn:hover {
  background: rgb(0, 98.4, 204);
}

label[for*=required]::after,
label[for*=name]::after,
label[for*=email]::after,
label[for*=message]::after {
  content: " *";
  color: #FF443E;
}

Form validation .form-group input:invalid:not(:placeholder-shown),
Form validation .form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #FF443E;
}

.mapboxgl-popup-content, .screen-item {
  display: flex;
  flex-direction: column;
  padding: 16px;
  transition: all 0.3s;
  border-radius: 12px;
}
.mapboxgl-popup-content .screen-image, .screen-item .screen-image {
  height: 160px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: #e3e5e9;
  border-radius: 8px;
}
body.dark-mode .mapboxgl-popup-content .screen-image, body.dark-mode .screen-item .screen-image {
  background: #1f1f20;
}
.mapboxgl-popup-content .screen-image img, .screen-item .screen-image img {
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
}

.screen-item {
  background: #fff;
  overflow: visible;
  padding: 16px;
  transition: all 0.2s ease;
  position: relative;
  border: 2px solid transparent;
}
body.dark-mode .screen-item {
  background: #1f1f20;
}
.screen-item:hover {
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .screen-item {
    padding: 8px;
  }
}
.screen-item .screen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
}
.screen-item .screen-header {
  margin: 16px 0 0;
}
.screen-item .screen-header h3 {
  flex: 1;
  margin: 0;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
  font-size: 0.875rem;
}
body.dark-mode .screen-item .screen-header h3 {
  color: #fff;
}
.screen-item .screen-header-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.screen-item .screen-header-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.screen-item .screen-data {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}
.screen-item .screen-data .data-section {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #666;
}
body.dark-mode .screen-item .screen-data .data-section {
  color: #fff;
}
.screen-item .screen-data .data-section i {
  width: 20px;
  margin-right: 4px;
  vertical-align: middle;
  font-size: 0.875rem;
  color: #666;
}
body.dark-mode .screen-item .screen-data .data-section i {
  color: #fff;
}
.screen-item .screen-data .data-section[data-section=circulation], .screen-item .screen-data .data-section[data-section=impressions], .screen-item .screen-data .data-section[data-section=circulation] i, .screen-item .screen-data .data-section[data-section=impressions] i {
  color: #00C754;
}
body.dark-mode .screen-item .screen-data .data-section[data-section=circulation], body.dark-mode .screen-item .screen-data .data-section[data-section=impressions], body.dark-mode .screen-item .screen-data .data-section[data-section=circulation] i, body.dark-mode .screen-item .screen-data .data-section[data-section=impressions] i {
  color: #00C754;
}
@media (max-width: 768px) {
  .screen-item .screen-data .data-section[data-section=categories] {
    display: none;
  }
}
.screen-item .screen-data .screen-meta {
  margin-top: 16px;
}
.screen-item .screen-data .category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.screen-item .screen-data .category-tags .category-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px 2px 2px;
  gap: 4px;
  color: #666;
  font-size: 0.625rem;
  background: #f8f9fa;
  border: 1px solid #f8f9fa;
  border-radius: 4px;
}
body.dark-mode .screen-item .screen-data .category-tags .category-tag {
  color: #999;
  background: #303030;
  border: 1px solid #303030;
}
.screen-item .screen-data .category-tags .category-tag img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}
.screen-item .button-container {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  margin-top: 32px;
}
.screen-item .button-container button, .screen-item .button-container a {
  flex: 1;
  gap: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.save-btn {
  width: 40px;
  height: auto;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: transparent;
  color: #666;
}
body.dark-mode .save-btn {
  color: #999;
}
body.dark-mode .save-btn.active {
  color: #FF443E;
}
.save-btn:hover {
  transform: scale(1.1);
}
.save-btn.active {
  color: #FF443E;
}
.save-btn i {
  font-size: 1.5rem;
}

.view-map-btn {
  width: 75px !important;
  flex: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
}
.list-view .view-map-btn {
  display: none !important;
}
.view-map-btn::before {
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #007bff;
  display: inline-block;
}
.view-map-btn.category-highway::before {
  background: #00C754;
}
.view-map-btn.category-street::before {
  background: #7856FF;
}
.view-map-btn.category-transit::before {
  background: #FFD400;
}
.view-map-btn.category-urban-pathway::before {
  background: #F91880;
}

.view-details-new-tab {
  display: none !important;
}

.mapboxgl-popup-content {
  width: 300px;
}
body.dark-mode .mapboxgl-popup-content {
  background: #1f1f20;
}
.mapboxgl-popup-content h3 {
  padding-right: 32px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.mapboxgl-popup-content .save-btn {
  position: absolute;
  top: 8px;
  right: 8px;
}
.mapboxgl-popup-content .contact-btn,
.mapboxgl-popup-content .view-map-btn {
  margin-top: 8px;
}

.screen-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-tag {
  gap: 6px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  padding: 8px;
  font-size: 0.75rem;
  color: #333;
  background: #fff;
  border: 1px solid #333;
  border-radius: 100px;
}
body.dark-mode .meta-tag {
  color: #fff;
  background: #303030;
  border: 1px solid #303030;
}
.meta-tag i {
  font-size: 0.75rem;
}
.meta-tag.impressions {
  color: #00C754;
  background: #00C754;
  color: #fff;
  border-color: #00C754;
}
body.dark-mode .meta-tag.impressions {
  background: #00C754;
  color: #fff;
  border-color: #00C754;
}

[data-tooltip]::before, .header-icon .tooltip {
  position: absolute;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  transition: all 0.2s;
  z-index: 100;
}

.header-icon .tooltip {
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  opacity: 0;
  visibility: hidden;
}
body.dark-mode .header-icon .tooltip {
  background: rgba(255, 255, 255, 0.9);
  color: #1f1f20;
}
.header-icon:hover .tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -35px;
}

[data-tooltip] {
  position: relative;
}
[data-tooltip]::before {
  content: attr(data-tooltip);
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  opacity: 0;
  visibility: hidden;
}
body.dark-mode [data-tooltip]::before {
  background: rgba(255, 255, 255, 0.9);
  color: #1f1f20;
}
[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header {
  margin: 16px;
  z-index: 10;
  transition: all 0.3s;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  background-color: #fff;
  padding: 8px 16px;
}
body.dark-mode .header {
  background: #121212;
}

.logo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.logo svg {
  width: 60px;
  height: auto;
}
.logo svg path {
  fill: #007bff;
}
body.dark-mode .logo svg path {
  fill: #999;
}

.header-icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .header-icons .header-icon .tooltip {
    display: none;
  }
}

.header-icon {
  position: relative;
  width: 40px;
  height: 40px;
  color: #666;
  transition: all 0.2s;
}
body.dark-mode .header-icon {
  color: #999;
}
.header-icon:hover {
  color: #007bff;
}
body.dark-mode .header-icon:hover {
  color: #fff;
}
.header-icon i {
  font-size: 1.2rem;
}
.header-icon#savedBtn:hover {
  color: #FF443E;
}
.header-icon#savedBtn.active {
  color: #FF443E;
}
.header-icon#savedBtn i {
  transition: transform 0.2s;
}
.header-icon#savedBtn:active i {
  transform: scale(1.2);
}

.login-button-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}
@media (max-width: 768px) {
  .login-button-container {
    display: none !important;
  }
}

.user-menu {
  position: relative;
  margin-left: 1rem;
}
.user-menu.active .user-menu-dropdown {
  display: block;
}

.user-menu-trigger {
  display: flex;
  cursor: pointer;
  align-items: center;
  gap: 4px;
  background-color: #f8f9fa;
  padding: 8px 16px;
  border-radius: 12px;
}
body.dark-mode .user-menu-trigger {
  background: #1f1f20;
}
.user-menu-trigger:hover {
  background-color: rgb(233.125, 236.25, 239.375);
}
body.dark-mode .user-menu-trigger:hover {
  background: rgb(43.5476190476, 43.5476190476, 44.9523809524);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-avatar i {
  font-size: 1.25rem;
}
.user-menu-dropdown {
  right: 0;
  top: 100%;
  width: 240px;
  display: none;
  z-index: 1000;
  overflow: hidden;
  position: absolute;
  margin-top: 16px;
  border-radius: 8px;
  background-color: #fff;
}
body.dark-mode .user-menu-dropdown {
  background-color: #121212;
}

.user-info {
  padding: 24px;
}

.user-name {
  font-weight: 600;
  font-size: 0.875rem;
}
.user-email {
  font-size: 0.75rem;
}
.user-menu-items {
  padding: 0.5rem 0;
}

.user-menu-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  text-decoration: none;
  cursor: pointer;
  gap: 8px;
  font-size: 0.75rem;
}
.user-menu-item i {
  font-size: 0.875rem;
}
.user-menu-item .toggle-switch.small {
  width: 36px;
  height: 20px;
  margin-left: auto;
}
.user-menu-item .toggle-switch.small .toggle-slider:before {
  width: 14px;
  height: 14px;
}
.user-menu-item .toggle-switch.small input:checked + .toggle-slider:before {
  transform: translateX(16px);
}

.header-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}
.header-login-btn:hover {
  background-color: var(--color-primary);
  color: white;
}
.header-login-btn i {
  margin-right: 6px;
}

.search-container {
  position: relative;
}
body.dark-mode .search-container {
  background: #121212;
}
.search-container i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 1.1rem;
  pointer-events: none;
}
body.dark-mode .search-container i {
  color: #999;
}
.search-container input {
  width: 100%;
  font-size: 0.875rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.2s;
  padding: 16px 16px 16px calc(32px + 1.1rem);
}
body.dark-mode .search-container input {
  background: #1e1e1e;
  border-color: #1e1e1e;
  color: #fff;
}
body.dark-mode .search-container input::placeholder {
  color: #999;
}
.search-container input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.category-scroll-container {
  position: relative;
  margin: 0 -16px;
  padding: 16px 16px;
}

.category-scroll {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
  margin-top: 16px;
  padding-bottom: 8px;
}
.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-items: center;
  min-width: 100px;
  padding: 8px;
  color: #666;
  gap: 8px;
  transition: all 0.2s;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
}
body.dark-mode .category-item {
  color: #999;
}
.category-item:hover {
  color: #007bff;
  background: rgba(0, 123, 255, 0.05);
}
.category-item:hover .category-icon {
  transform: scale(1.05);
}
.category-item.active {
  color: #007bff;
  background: rgba(0, 123, 255, 0.1);
  border: 1px solid #007bff;
}
.category-item.active .category-icon {
  transform: scale(1.1);
}
.category-item span {
  text-align: center;
  font-weight: 500;
  padding-top: 8px;
  font-size: 0.625rem;
}
.category-item span::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  margin-right: 5px;
  background: #007bff;
  display: inline-block;
}
.category-item.highway span::before {
  background: #00C754;
}
.category-item.street span::before {
  background: #7856FF;
}
.category-item.transit span::before {
  background: #FFD400;
}
.category-item.urban-pathway span::before {
  background: #F91880;
}

.category-icon {
  width: 48px;
  height: 48px;
  transition: all 0.2s;
}
body.dark-mode .category-icon {
  filter: invert(1);
}
.category-icon:hover {
  transform: scale(1.05);
}

.screen-list-tools {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.helper-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.saved-notice {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  display: none;
}
.saved-notice.active {
  display: flex;
}
.saved-notice i {
  margin-right: 4px;
}

.bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 16px;
  transform: translateY(100%);
  transition: transform 0.3s;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.dark-mode .bottom-action-bar {
  background: #121212;
}
.bottom-action-bar.active {
  transform: translateY(0);
}
.bottom-action-bar .selected-count {
  font-size: 0.875rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}
body.dark-mode .bottom-action-bar .selected-count {
  color: #fff;
}
.bottom-action-bar .selected-count i {
  color: #007bff;
}
.bottom-action-bar .selected-count .deselect-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: none;
  background: rgba(255, 68, 62, 0.1);
  color: #FF443E;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s;
  margin-left: 8px;
}
.bottom-action-bar .selected-count .deselect-all-btn:hover {
  background: rgba(255, 68, 62, 0.2);
}
.bottom-action-bar .selected-count .deselect-all-btn i {
  color: #FF443E;
  font-size: 0.875rem;
}
body.dark-mode .bottom-action-bar .selected-count .deselect-all-btn {
  background: rgba(255, 68, 62, 0.2);
}
body.dark-mode .bottom-action-bar .selected-count .deselect-all-btn:hover {
  background: rgba(255, 68, 62, 0.3);
}

.filter-container {
  border-radius: 8px;
  transition: all 0.3s;
}

.filter-toggle {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 8px 0;
  color: #666;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color 0.2s;
}
body.dark-mode .filter-toggle {
  color: #fff;
}
.filter-toggle i {
  transition: transform 0.3s;
}
.filter-toggle.collapsed i {
  transform: rotate(-180deg);
}

.filter-content {
  transition: max-height 0.3s ease-out;
}
.filter-content.collapsed {
  max-height: 0;
}

.filter-group {
  position: relative;
  margin-bottom: 16px;
}
.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  display: block;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 4px;
}
body.dark-mode .filter-label {
  color: #999;
}

.filter-select {
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.875rem;
  margin-bottom: 8px;
  transition: all 0.2s;
  padding: 8px 16px;
  padding-right: calc(16px * 2 + 1rem);
  appearance: none;
  background-image: none;
  position: relative;
  width: 100%;
}
.filter-select:focus {
  border-color: #007bff;
  outline: none;
}
.filter-select:disabled {
  background-color: #f8f9fa;
  cursor: not-allowed;
}
body.dark-mode .filter-select:disabled {
  background-color: #1f1f20;
}
.filter-select:disabled + .select-icon {
  opacity: 0.5;
}

.cf-container {
  z-index: 1;
  bottom: -20px;
  position: sticky;
  padding: 16px;
  background-color: #fff;
}
body.dark-mode .cf-container {
  background-color: #121212;
}

.clear-filters {
  width: 100%;
}

.screen-list {
  list-style: none;
  padding: 0;
}
.screen-list .screen-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.list-view .screen-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  grid-auto-rows: min-content;
}
@media (min-width: 768px) {
  .list-view .screen-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .list-view .screen-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.map-view .screen-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 480px) and (max-width: 767px) {
  .map-view .screen-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .map-view .screen-list .screen-item {
    margin-bottom: 0;
  }
}

.screen-loader {
  width: 100%;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .screen-loader {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .screen-loader {
    grid-template-columns: repeat(3, 1fr);
  }
}
.map-view .screen-loader {
  display: flex;
  flex-direction: column;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.screen-item.skeleton {
  width: 100%;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
.screen-item.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  animation: shimmer 1.5s infinite;
  background-size: 200% 100%;
}
.screen-item.skeleton .skeleton-image {
  width: 100%;
  height: 240px;
  background: var(--surface-hover);
  flex-shrink: 0;
}
.screen-item.skeleton .skeleton-content {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.screen-item.skeleton .skeleton-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 8px;
}
.screen-item.skeleton .skeleton-header .skeleton-line {
  height: 12px;
  background: var(--surface-hover);
  border-radius: 4px;
}
.screen-item.skeleton .skeleton-header .skeleton-line:first-child {
  width: 120px;
}
.screen-item.skeleton .skeleton-header .skeleton-line:last-child {
  width: 32px;
}
.screen-item.skeleton .skeleton-title {
  height: 24px;
  width: 70%;
  background: var(--surface-hover);
  border-radius: 4px;
  margin-bottom: 16px;
}
.screen-item.skeleton .skeleton-meta {
  margin-bottom: 16px;
}
.screen-item.skeleton .skeleton-meta .skeleton-line {
  height: 12px;
  width: 50%;
  background: var(--surface-hover);
  border-radius: 4px;
}
.screen-item.skeleton .skeleton-footer {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.screen-item.skeleton .skeleton-footer .skeleton-line {
  height: 32px;
  flex: 1;
  background: var(--surface-hover);
  border-radius: 4px;
}

.screen-list-container.no-results {
  display: none;
}

.no-results-container {
  margin: 16px;
}
.no-results-container p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #666;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.2s;
}
body.dark-mode .no-results-container p {
  color: #999;
  background: #1f1f20;
}

.map-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
#map {
  width: 100%;
  height: 100%;
}

.marker {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  background: #007bff;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.marker i {
  font-size: 8px;
}
.marker:hover {
  transform: scale(1.2);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
.marker.selected {
  background: #00C754;
  transform: scale(1.2);
}
.marker.category-highway {
  background: #00C754;
}
.marker.category-street {
  background: #7856FF;
}
.marker.category-transit {
  background: #FFD400;
}
.marker.category-urban-pathway {
  background: #F91880;
}

.map-style-control {
  top: 10px;
  right: 55px;
  position: absolute;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1;
  display: flex;
  padding: 4px;
  gap: 4px;
}
body.dark-mode .map-style-control {
  background: #121212;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.map-style-btn {
  border: none;
  display: flex;
  cursor: pointer;
  background: none;
  line-height: normal;
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  font-size: 0.75rem;
  border-radius: 4px;
  padding: 8px 16px;
}
.map-style-btn i {
  font-size: 0.875rem;
}
.map-style-btn:hover {
  background: rgba(0, 123, 255, 0.05);
  color: #007bff;
}
.map-style-btn.active {
  background: #007bff;
  color: white;
}
body.dark-mode .map-style-btn {
  color: #999;
}
body.dark-mode .map-style-btn:hover {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
}
body.dark-mode .map-style-btn.active {
  background: #007bff;
  color: white;
}

.mapboxgl-ctrl-group {
  border: none !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  border-radius: 8px !important;
  overflow: hidden;
}
.mapboxgl-ctrl-group button {
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  border: none !important;
  color: #666 !important;
}
body.dark-mode .mapboxgl-ctrl-group button {
  background: #121212 !important;
  color: #fff !important;
}
body.dark-mode .mapboxgl-ctrl-group button:hover {
  background: #1f1f20 !important;
  color: #007bff !important;
}
.mapboxgl-ctrl-group button:hover {
  background: rgba(0, 123, 255, 0.05) !important;
  color: #007bff !important;
}
.mapboxgl-ctrl-group button .ph {
  font-size: 1.125rem;
  line-height: 1;
}
body.dark-mode .mapboxgl-ctrl-group {
  background: #121212 !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.mapboxgl-popup .mapboxgl-popup-content {
  padding: 0 !important;
  border-radius: 12px !important;
}
.mapboxgl-popup .mapboxgl-popup-tip {
  display: none !important;
}

.mapboxgl-ctrl-group button .ph {
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.mapboxgl-ctrl-zoom-in,
.mapboxgl-ctrl-zoom-out,
.mapboxgl-ctrl-compass,
.mapboxgl-ctrl-fullscreen {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

#listingModal {
  z-index: 100;
}
#listingModal .listing-gallery {
  height: 450px;
  border-radius: 12px;
  margin-bottom: 24px;
}
#listingModal .listing-tools {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
#listingModal .listing-title {
  margin-bottom: 16px;
}
#listingModal .listing-title h2 {
  color: #333;
  font-size: 1.5rem;
}
body.dark-mode #listingModal .listing-title h2 {
  color: #fff;
}
#listingModal .listing-address {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  color: #666;
  margin-bottom: 24px;
  border-radius: 8px;
  transition: all 0.2s;
}
body.dark-mode #listingModal .listing-address {
  color: #999;
}
#listingModal .listing-address i {
  padding-top: 5px;
  font-size: 1.125rem;
}
#listingModal .listing-address p {
  font-size: 0.875rem;
}
#listingModal .listing-address span {
  display: block;
  margin-top: 8px;
  font-size: 0.625rem;
}
#listingModal .listing-content .data-section {
  margin-bottom: 64px;
}
#listingModal .listing-content .data-section h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 24px;
}
body.dark-mode #listingModal .listing-content .data-section h4 {
  color: #fff;
}
#listingModal .listing-content .data-section .specs-grid,
#listingModal .listing-content .data-section .pricing-grid,
#listingModal .listing-content .data-section .analytics-grid,
#listingModal .listing-content .data-section .audit-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  #listingModal .listing-content .data-section .specs-grid,
  #listingModal .listing-content .data-section .pricing-grid,
  #listingModal .listing-content .data-section .analytics-grid,
  #listingModal .listing-content .data-section .audit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  #listingModal .listing-content .data-section .specs-grid,
  #listingModal .listing-content .data-section .pricing-grid,
  #listingModal .listing-content .data-section .analytics-grid,
  #listingModal .listing-content .data-section .audit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
#listingModal .listing-content .data-section .spec-item .spec-label,
#listingModal .listing-content .data-section .spec-item .price-label,
#listingModal .listing-content .data-section .spec-item .analytics-label,
#listingModal .listing-content .data-section .spec-item .audit-label,
#listingModal .listing-content .data-section .pricing-item .spec-label,
#listingModal .listing-content .data-section .pricing-item .price-label,
#listingModal .listing-content .data-section .pricing-item .analytics-label,
#listingModal .listing-content .data-section .pricing-item .audit-label,
#listingModal .listing-content .data-section .analytics-item .spec-label,
#listingModal .listing-content .data-section .analytics-item .price-label,
#listingModal .listing-content .data-section .analytics-item .analytics-label,
#listingModal .listing-content .data-section .analytics-item .audit-label,
#listingModal .listing-content .data-section .audit-item .spec-label,
#listingModal .listing-content .data-section .audit-item .price-label,
#listingModal .listing-content .data-section .audit-item .analytics-label,
#listingModal .listing-content .data-section .audit-item .audit-label {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 4px;
  font-weight: 500;
}
body.dark-mode #listingModal .listing-content .data-section .spec-item .spec-label,
body.dark-mode #listingModal .listing-content .data-section .spec-item .price-label,
body.dark-mode #listingModal .listing-content .data-section .spec-item .analytics-label,
body.dark-mode #listingModal .listing-content .data-section .spec-item .audit-label,
body.dark-mode #listingModal .listing-content .data-section .pricing-item .spec-label,
body.dark-mode #listingModal .listing-content .data-section .pricing-item .price-label,
body.dark-mode #listingModal .listing-content .data-section .pricing-item .analytics-label,
body.dark-mode #listingModal .listing-content .data-section .pricing-item .audit-label,
body.dark-mode #listingModal .listing-content .data-section .analytics-item .spec-label,
body.dark-mode #listingModal .listing-content .data-section .analytics-item .price-label,
body.dark-mode #listingModal .listing-content .data-section .analytics-item .analytics-label,
body.dark-mode #listingModal .listing-content .data-section .analytics-item .audit-label,
body.dark-mode #listingModal .listing-content .data-section .audit-item .spec-label,
body.dark-mode #listingModal .listing-content .data-section .audit-item .price-label,
body.dark-mode #listingModal .listing-content .data-section .audit-item .analytics-label,
body.dark-mode #listingModal .listing-content .data-section .audit-item .audit-label {
  color: #999;
}
#listingModal .listing-content .data-section .spec-item .spec-value,
#listingModal .listing-content .data-section .spec-item .price-value,
#listingModal .listing-content .data-section .spec-item .analytics-value,
#listingModal .listing-content .data-section .spec-item .audit-value,
#listingModal .listing-content .data-section .pricing-item .spec-value,
#listingModal .listing-content .data-section .pricing-item .price-value,
#listingModal .listing-content .data-section .pricing-item .analytics-value,
#listingModal .listing-content .data-section .pricing-item .audit-value,
#listingModal .listing-content .data-section .analytics-item .spec-value,
#listingModal .listing-content .data-section .analytics-item .price-value,
#listingModal .listing-content .data-section .analytics-item .analytics-value,
#listingModal .listing-content .data-section .analytics-item .audit-value,
#listingModal .listing-content .data-section .audit-item .spec-value,
#listingModal .listing-content .data-section .audit-item .price-value,
#listingModal .listing-content .data-section .audit-item .analytics-value,
#listingModal .listing-content .data-section .audit-item .audit-value {
  font-size: 0.875rem;
  color: #333;
}
body.dark-mode #listingModal .listing-content .data-section .spec-item .spec-value,
body.dark-mode #listingModal .listing-content .data-section .spec-item .price-value,
body.dark-mode #listingModal .listing-content .data-section .spec-item .analytics-value,
body.dark-mode #listingModal .listing-content .data-section .spec-item .audit-value,
body.dark-mode #listingModal .listing-content .data-section .pricing-item .spec-value,
body.dark-mode #listingModal .listing-content .data-section .pricing-item .price-value,
body.dark-mode #listingModal .listing-content .data-section .pricing-item .analytics-value,
body.dark-mode #listingModal .listing-content .data-section .pricing-item .audit-value,
body.dark-mode #listingModal .listing-content .data-section .analytics-item .spec-value,
body.dark-mode #listingModal .listing-content .data-section .analytics-item .price-value,
body.dark-mode #listingModal .listing-content .data-section .analytics-item .analytics-value,
body.dark-mode #listingModal .listing-content .data-section .analytics-item .audit-value,
body.dark-mode #listingModal .listing-content .data-section .audit-item .spec-value,
body.dark-mode #listingModal .listing-content .data-section .audit-item .price-value,
body.dark-mode #listingModal .listing-content .data-section .audit-item .analytics-value,
body.dark-mode #listingModal .listing-content .data-section .audit-item .audit-value {
  color: #fff;
}
#listingModal .listing-content .data-section .analytics-item .analytics-value {
  font-weight: 600;
  font-size: 1.125rem;
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
#listingModal .listing-content .data-section .context-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  #listingModal .listing-content .data-section .context-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
#listingModal .listing-content .data-section .context-item {
  padding: 16px;
  border-radius: 8px;
  transition: all 0.2s;
  border: 1px solid #ddd;
}
body.dark-mode #listingModal .listing-content .data-section .context-item {
  border-color: #303030;
}
#listingModal .listing-content .data-section .context-item .context-label {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 4px;
  font-weight: 500;
}
body.dark-mode #listingModal .listing-content .data-section .context-item .context-label {
  color: #999;
}
#listingModal .listing-content .data-section .context-item .context-value {
  color: #333;
  font-size: 0.875rem;
}
body.dark-mode #listingModal .listing-content .data-section .context-item .context-value {
  color: #fff;
}
#listingModal .listing-content .data-section .categories-section {
  margin-bottom: 32px;
}
#listingModal .listing-content .data-section .categories-section .categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
#listingModal .listing-content .data-section .categories-section .categories-grid .category-tag {
  flex: 1;
  max-width: 150px;
  flex-direction: row;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 16px;
  transition: all 0.2s;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #f8f9fa;
  min-width: calc(50% - 16px);
}
@media (min-width: 576px) {
  #listingModal .listing-content .data-section .categories-section .categories-grid .category-tag {
    min-width: calc(33.33% - 16px);
  }
}
@media (min-width: 768px) {
  #listingModal .listing-content .data-section .categories-section .categories-grid .category-tag {
    min-width: calc(25% - 16px);
  }
}
@media (min-width: 992px) {
  #listingModal .listing-content .data-section .categories-section .categories-grid .category-tag {
    min-width: calc(20% - 16px);
  }
}
body.dark-mode #listingModal .listing-content .data-section .categories-section .categories-grid .category-tag {
  background: #1f1f20;
  border-color: #1f1f20;
}
#listingModal .listing-content .data-section .categories-section .categories-grid .category-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#listingModal .listing-content .data-section .categories-section .categories-grid .category-tag img.category-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 8px;
  border-radius: 8px;
}
#listingModal .listing-content .data-section .categories-section .categories-grid .category-tag p {
  color: #666;
  font-size: 0.75rem;
}
body.dark-mode #listingModal .listing-content .data-section .categories-section .categories-grid .category-tag p {
  color: #999;
}
#listingModal .listing-content .data-section .listing-description p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #666;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.2s;
}
body.dark-mode #listingModal .listing-content .data-section .listing-description p {
  color: #999;
  background: #1f1f20;
}

#savedNotice {
  opacity: 0;
  visibility: hidden;
  display: none;
}
#savedNotice.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.saved-screens-banner {
  border-radius: 12px;
  margin: 16px 0;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  transition: transform 0.2s ease;
  background: #007bff;
}
body.dark-mode .saved-screens-banner {
  background: #007bff;
}
.saved-screens-banner:hover {
  transform: translateY(-2px);
}
.saved-screens-banner .banner-icon {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.saved-screens-banner .banner-icon i {
  font-size: 1.5rem;
  color: #fff;
  line-height: 1;
}
.saved-screens-banner .banner-content {
  flex: 1;
}
.saved-screens-banner .banner-content h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
}
.saved-screens-banner .banner-content p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.4;
}

#comparePage {
  display: none;
}
body.compare-mode #comparePage {
  display: block;
}
#comparePage .compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
#comparePage .compare-header .undo-redo-container {
  display: flex;
  gap: 4px;
}
#comparePage .compare-header .undo-redo-container button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8f9fa;
  border: 1px solid #ddd;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
#comparePage .compare-header .undo-redo-container button:hover:not(.disabled) {
  background: rgb(233.125, 236.25, 239.375);
}
#comparePage .compare-header .undo-redo-container button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#comparePage .compare-header .undo-redo-container button i {
  font-size: 1.25em;
}
body.dark-mode #comparePage .compare-header .undo-redo-container button {
  background: #1f1f20;
  border-color: #303030;
  color: #fff;
}
body.dark-mode #comparePage .compare-header .undo-redo-container button:hover:not(.disabled) {
  background: rgb(43.5476190476, 43.5476190476, 44.9523809524);
}

.select-check {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #007bff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.2s;
  z-index: 10;
}
.select-check i {
  font-size: 0.875rem;
}

body.select-mode .screen-list-container {
  position: relative;
}
body.select-mode .screen-item {
  cursor: pointer;
}
body.select-mode .screen-item:hover {
  border-color: rgba(0, 123, 255, 0.5);
}
body.select-mode .screen-item.selected {
  border-color: #007bff;
}
body.select-mode .screen-item.selected .select-check {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.compare-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  list-style: none;
  margin: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.compare-list::-webkit-scrollbar {
  display: none;
}

.compare-item {
  flex: 0 0 auto;
  width: 350px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: visible;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  overflow: hidden;
  border-radius: 12px;
}
.compare-item:hover {
  transform: translateY(-2px);
}
body.dark-mode .compare-item {
  background: #1f1f20;
}
.compare-item .compare-image {
  position: relative;
  width: 100%;
  height: 240px;
  margin: 0;
  flex-shrink: 0;
  background: #e3e5e9;
}
body.dark-mode .compare-item .compare-image {
  background: #303030;
}
.compare-item .compare-image::after {
  content: "DOOH";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #999;
  font-weight: bold;
  letter-spacing: 2px;
}
body.dark-mode .compare-item .compare-image::after {
  color: #999;
}
.compare-item .compare-image.has-gallery::after {
  content: none;
}
.compare-item .compare-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare-item .compare-content {
  padding: 16px;
}
.compare-item .compare-content h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
}
.compare-item .compare-content .location {
  display: block;
  color: #999;
  font-size: 0.75rem;
  margin-bottom: 16px;
}
body.dark-mode .compare-item .compare-content h3 {
  color: #fff;
}
body.dark-mode .compare-item .compare-content .location {
  color: #999;
}
.compare-item .compare-details .detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.75rem;
}
.compare-item .compare-details .detail-row:last-child {
  margin-bottom: 0;
}
.compare-item .compare-details .detail-row .label {
  color: #999;
}
.compare-item .compare-details .detail-row .value {
  color: #333;
  font-weight: 500;
}
body.dark-mode .compare-item .compare-details .detail-row .label {
  color: #999;
}
body.dark-mode .compare-item .compare-details .detail-row .value {
  color: #fff;
}
@media (max-width: 768px) {
  .compare-item {
    width: 85vw;
    max-width: 350px;
  }
}

.compare-scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: all 0.2s;
}
.compare-scroll-arrow:hover {
  background: #f8f9fa;
}
.compare-scroll-arrow.left {
  left: 16px;
}
.compare-scroll-arrow.right {
  right: 16px;
}
.compare-scroll-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}
body.dark-mode .compare-scroll-arrow {
  background: #1f1f20;
  border-color: #303030;
  color: #fff;
}
body.dark-mode .compare-scroll-arrow:hover {
  background: rgb(43.5476190476, 43.5476190476, 44.9523809524);
}
@media (max-width: 768px) {
  .compare-scroll-arrow {
    display: none;
  }
}

body.compare-mode .screen-list-tools {
  justify-content: flex-end;
}
body.compare-mode .app-sidebar,
body.compare-mode .view-toggle,
body.compare-mode #selectToggle,
body.compare-mode .screen-list,
body.compare-mode .screen-loader,
body.compare-mode #compareBtn {
  display: none;
}

.share-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.share-item {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .share-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.share-item-info h3 {
  font-weight: 400;
  font-size: 0.875rem;
}

.share-item-url {
  display: flex;
  width: 100%;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .share-item-url {
    width: 60%;
  }
}

.share-url-container {
  display: flex;
  width: 100%;
  margin: 1rem 0;
  gap: 0.5rem;
}

.share-url {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  background-color: var(--input-bg);
  color: var(--text-color);
  font-size: 0.875rem;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-share-buttons {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.social-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}
.social-share-btn i {
  font-size: 1.25rem;
  color: white;
}
.social-share-btn:hover {
  transform: translateY(-2px);
}
.social-share-btn.facebook {
  background-color: #1877F2;
}
.social-share-btn.facebook:hover {
  background-color: rgb(11.4549180328, 95.1639344262, 203.5450819672);
}
.social-share-btn.twitter {
  background-color: #1DA1F2;
}
.social-share-btn.twitter:hover {
  background-color: rgb(11.9665271967, 133.4728033473, 208.0334728033);
}
.social-share-btn.linkedin {
  background-color: #0A66C2;
}
.social-share-btn.linkedin:hover {
  background-color: rgb(7.5, 76.5, 145.5);
}
.social-share-btn.email {
  background-color: #EA4335;
}
.social-share-btn.email:hover {
  background-color: rgb(213.7757847534, 37.0403587444, 22.2242152466);
}

.group-share, .individual-share {
  margin-bottom: 2rem;
}
.group-share h2, .individual-share h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.dark-mode .share-item {
  background-color: var(--card-bg);
}
.dark-mode .share-url {
  background-color: var(--input-bg);
  color: var(--text-color);
  border-color: var(--border-color);
}

.toast-container {
  position: fixed;
  right: 24px;
  z-index: 100;
}

.toast-mini {
  top: 24px;
}
.toast-mini .toast {
  font-size: 0.75rem;
}
.toast-mini .toast i {
  font-size: 1.125rem;
}

.toast-large {
  bottom: 24px;
}
.toast-large .toast {
  min-width: 300px;
  max-width: 500px;
  padding: 24px;
  font-size: 0.875rem;
}
.toast-large .toast i {
  font-size: 1.25rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  color: #666;
}
body.dark-mode .toast {
  color: #fff;
  background: #1f1f20;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast-info {
  border-left: 4px solid #007bff;
}
.toast-info i {
  color: #007bff;
}
.toast-error {
  border-left: 4px solid #FF443E;
}
.toast-error i {
  color: #FF443E;
}
.toast-success {
  border-left: 4px solid #00C754;
}
.toast-success i {
  color: #00C754;
}

.form-section {
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
}
.form-section .section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
}
.form-section .section-header i {
  font-size: 1.125rem;
  color: #007bff;
}
.form-section .section-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #007bff;
}
.form-section .section-content #address-container {
  position: relative;
  width: 100%;
}
.form-section .section-content #address-container .mapboxgl-ctrl-geocoder {
  width: 100%;
  max-width: 100%;
  font-size: 0.875rem;
  line-height: 1.5;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 16px;
  box-shadow: none;
}
body.dark-mode .form-section .section-content #address-container .mapboxgl-ctrl-geocoder {
  background-color: #1f1f20;
  border-color: #303030;
  color: #fff;
}
.form-section .section-content #address-container .mapboxgl-ctrl-geocoder:focus-within {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}
.form-section .section-content #address-container .mapboxgl-ctrl-geocoder input[type=text] {
  border: none;
  padding: 0;
  height: auto;
  color: inherit;
  background: transparent;
}
.form-section .section-content #address-container .mapboxgl-ctrl-geocoder input[type=text]:focus {
  outline: none;
  box-shadow: none;
}
.form-section .section-content #address-container .mbx02fd0f2c--Results {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 4px;
}
body.dark-mode .form-section .section-content #address-container .mbx02fd0f2c--Results {
  background: #1f1f20;
  border-color: #303030;
}
.form-section .section-content #address-container .mbx02fd0f2c--Results[aria-hidden=true] {
  display: none;
}
.form-section .section-content #address-container .mbx02fd0f2c--Result {
  padding: 8px 16px;
  cursor: pointer;
}
.form-section .section-content #address-container .mbx02fd0f2c--Result:hover, .form-section .section-content #address-container .mbx02fd0f2c--Result:focus {
  background: rgba(0, 123, 255, 0.1);
}
body.dark-mode .form-section .section-content #address-container .mbx02fd0f2c--Result {
  color: #fff;
}
body.dark-mode .form-section .section-content #address-container .mbx02fd0f2c--Result:hover, body.dark-mode .form-section .section-content #address-container .mbx02fd0f2c--Result:focus {
  background: rgba(0, 123, 255, 0.2);
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }
}

.file-upload-container .upload-area {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
}
body.dark-mode .file-upload-container .upload-area {
  border-color: #303030;
  background-color: #1f1f20;
}
.file-upload-container .upload-area:hover {
  border-color: #007bff;
  background-color: rgba(0, 123, 255, 0.03);
}
.file-upload-container .upload-area.highlight {
  border-color: #007bff;
  background-color: rgba(0, 123, 255, 0.05);
}
.file-upload-container .upload-area.uploading {
  border-color: #FF7A00;
  background-color: rgba(255, 122, 0, 0.05);
  pointer-events: none;
}
body.dark-mode .file-upload-container .upload-area.uploading {
  border-color: #FF7A00;
  background-color: rgba(255, 122, 0, 0.1);
}
.file-upload-container .upload-area i {
  font-size: 2.5rem;
  color: #999;
  margin-bottom: 8px;
}
.file-upload-container .upload-area p {
  margin: 0;
  color: #999;
}
body.dark-mode .file-upload-container .upload-area p {
  color: #999;
}
.file-upload-container .image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.file-upload-container .image-preview-item {
  position: relative;
  width: 130px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
  transition: transform 0.2s;
}
.file-upload-container .image-preview-item:hover {
  transform: scale(1.05);
}
body.dark-mode .file-upload-container .image-preview-item {
  background-color: #1f1f20;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.file-upload-container .image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file-upload-container .uploading-text {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #999;
  animation: pulse 1.5s infinite;
}
body.dark-mode .file-upload-container .uploading-text {
  color: #999;
}
.file-upload-container .uploading-text i {
  margin-right: 5px;
  color: #FF7A00;
}
.file-upload-container .upload-error {
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: rgba(255, 68, 62, 0.1);
  color: #FF443E;
  font-size: 0.75rem;
}
body.dark-mode .file-upload-container .upload-error {
  background-color: rgba(255, 68, 62, 0.2);
}
.file-upload-container .help-text {
  margin-top: 8px;
  font-size: 0.75rem;
  color: #999;
}
body.dark-mode .file-upload-container .help-text {
  color: #999;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}
.preview-card {
  margin: 0;
  transition: all 0.2s;
  background: #f8f9fa;
}
body.dark-mode .preview-card {
  background: #1f1f20;
}
.preview-card .featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  color: #333;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 4px;
}
.preview-card .featured-badge i {
  font-size: 1rem;
  color: inherit;
}
.preview-card .screen-image {
  height: 200px;
}
.preview-card.premium-location {
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.submit-listing-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding-top: 32px;
  z-index: 101;
}
@media (max-width: 768px) {
  .submit-listing-bar {
    flex-flow: column;
    align-items: flex-start;
  }
}
body.dark-mode .submit-listing-bar {
  background: #121212;
}
.submit-listing-bar .pricing-summary {
  display: flex;
  align-items: center;
}
.submit-listing-bar .pricing-summary .pricing-total {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.submit-listing-bar .pricing-summary .pricing-total .label {
  font-size: 1rem;
  color: #666;
}
body.dark-mode .submit-listing-bar .pricing-summary .pricing-total .label {
  color: #fff;
}
.submit-listing-bar .pricing-summary .pricing-total .value {
  font-size: 1.25rem;
  color: #007bff;
  font-weight: 600;
}

.pricing-addons {
  margin-top: 24px;
}
.pricing-addons h4 {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 16px;
  padding-bottom: 4px;
  border-bottom: 1px solid #ddd;
}
body.dark-mode .pricing-addons h4 {
  color: #fff;
  border-color: #303030;
}
.pricing-addons .addon-item {
  margin-bottom: 16px;
}
.pricing-addons .addon-item:last-child {
  margin-bottom: 0;
}
.pricing-addons .addon-item .checkbox-label,
.pricing-addons .addon-item .radio-label {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.2s;
}
body.dark-mode .pricing-addons .addon-item .checkbox-label,
body.dark-mode .pricing-addons .addon-item .radio-label {
  background: #1f1f20;
  border-color: #1f1f20;
}
.pricing-addons .addon-item .checkbox-label:hover,
.pricing-addons .addon-item .radio-label:hover {
  background: #f8f9fa;
  border-color: #007bff;
}
body.dark-mode .pricing-addons .addon-item .checkbox-label:hover,
body.dark-mode .pricing-addons .addon-item .radio-label:hover {
  background: rgb(38.5285714286, 38.5285714286, 39.7714285714);
  border-color: #007bff;
}
.pricing-addons .addon-item .checkbox-label input[type=checkbox],
.pricing-addons .addon-item .checkbox-label input[type=radio],
.pricing-addons .addon-item .radio-label input[type=checkbox],
.pricing-addons .addon-item .radio-label input[type=radio] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}
.pricing-addons .addon-item .checkbox-label i,
.pricing-addons .addon-item .radio-label i {
  font-size: 1.125rem;
}
.pricing-addons .addon-item .checkbox-label i.text-primary,
.pricing-addons .addon-item .radio-label i.text-primary {
  color: #007bff;
}
.pricing-addons .addon-item .checkbox-label i.text-success,
.pricing-addons .addon-item .radio-label i.text-success {
  color: #00C754;
}
.pricing-addons .addon-item .checkbox-label i.text-info,
.pricing-addons .addon-item .radio-label i.text-info {
  color: #F91880;
}
.pricing-addons .addon-item .checkbox-label i.text-warning,
.pricing-addons .addon-item .radio-label i.text-warning {
  color: #FF7A00;
}
.pricing-addons .addon-item .checkbox-label i.text-danger,
.pricing-addons .addon-item .radio-label i.text-danger {
  color: #FF443E;
}
.pricing-addons .addon-item .checkbox-label i.text-purple,
.pricing-addons .addon-item .radio-label i.text-purple {
  color: #7856FF;
}
.pricing-addons .addon-item .checkbox-label i.text-yellow,
.pricing-addons .addon-item .radio-label i.text-yellow {
  color: #FFD400;
}
.pricing-addons .addon-item .checkbox-label i.text-secondary,
.pricing-addons .addon-item .radio-label i.text-secondary {
  color: #999;
}
.pricing-addons .addon-item .addon-content {
  flex: 1;
}
.pricing-addons .addon-item .addon-title {
  display: block;
  font-weight: 500;
  margin-top: -5px;
  color: #666;
  margin-bottom: 8px;
}
body.dark-mode .pricing-addons .addon-item .addon-title {
  color: #fff;
}
.pricing-addons .addon-item .addon-description {
  display: block;
  font-size: 0.75rem;
  color: #999;
}
body.dark-mode .pricing-addons .addon-item .addon-description {
  color: #999;
}
.pricing-addons .addon-item input[type=checkbox]:checked + i + .addon-content .addon-title,
.pricing-addons .addon-item input[type=radio]:checked + i + .addon-content .addon-title {
  color: #007bff;
}
.pricing-addons .addon-item input[type=checkbox]:checked + .checkbox-label, .pricing-addons .addon-item input[type=checkbox]:checked + .radio-label,
.pricing-addons .addon-item input[type=radio]:checked + .checkbox-label,
.pricing-addons .addon-item input[type=radio]:checked + .radio-label {
  background: rgba(0, 123, 255, 0.1);
  border-color: #007bff;
}

#submitFormStatus {
  margin: 24px 0;
}

.success-message,
.error-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.success-message h1,
.error-message h1 {
  margin: 2rem 0 1rem;
  font-size: 2.5rem;
  color: var(--text-primary);
}
.success-message p,
.error-message p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.5;
}

.form-status {
  display: flex;
  align-items: flex-start;
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 24px;
  transition: all 0.3s ease-in-out;
  background: #f8f9fa;
}
body.dark-mode .form-status {
  background: #1f1f20;
}
.form-status .status-icon {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-right: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: scaleIn 0.3s ease-out;
}
.form-status .status-icon i {
  position: relative;
  z-index: 2;
  animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.form-status .status-icon .status-icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.15;
  animation: pulseIn 1s ease-out;
}
.form-status .status-content {
  flex: 1;
  color: #666;
}
body.dark-mode .form-status .status-content {
  color: #fff;
}
.form-status .status-content strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}
.form-status .status-content p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 16px;
}
.form-status.form-success {
  border-left: 4px solid #00C754;
}
.form-status.form-success .status-icon {
  color: #00C754;
}
.form-status.form-success .status-icon .status-icon-bg {
  background: #00C754;
}
.form-status.form-error {
  border-left: 4px solid #FF443E;
}
.form-status.form-error .status-icon {
  color: #FF443E;
}
.form-status.form-error .status-icon .status-icon-bg {
  background: #FF443E;
}
.form-status.form-paid {
  border-left: 4px solid #00C754;
}
.form-status.form-paid .status-icon {
  color: #00C754;
}
.form-status.form-paid .status-icon .status-icon-bg {
  background: #00C754;
}
.form-status.form-cancelled {
  border-left: 4px solid #FF7A00;
}
.form-status.form-cancelled .status-icon {
  color: #FF7A00;
}
.form-status.form-cancelled .status-icon .status-icon-bg {
  background: #FF7A00;
}

@keyframes scaleIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes bounceIn {
  0% {
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.2);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pulseIn {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.2;
  }
  100% {
    transform: scale(1);
    opacity: 0.15;
  }
}
.category-section {
  margin-bottom: 16px;
  padding: 0 16px;
}
.category-section:last-child {
  margin-bottom: 0;
}

.category-type {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 4px;
  font-weight: 500;
  padding: 4px 0;
}
body.dark-mode .category-type {
  color: #999;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px 0;
}

.listing-modal-card .category-list .category-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #666;
  padding: 4px 8px;
  background: rgba(0, 123, 255, 0.05);
  border-radius: 4px;
}
body.dark-mode .listing-modal-card .category-list .category-item {
  color: #fff;
  background: rgba(0, 123, 255, 0.1);
}
.listing-modal-card .category-list .category-item i {
  color: #007bff;
  font-size: 0.75rem;
}

.category-filters {
  display: flex;
  overflow-y: auto;
  max-height: 400px;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}
.category-filters .category-group {
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.category-filters .category-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
.category-filters .category-group .group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
  background: rgba(0, 123, 255, 0.05);
  margin-bottom: 4px;
}
body.dark-mode .category-filters .category-group .group-header {
  background: #1f1f20;
  color: #fff;
}
.category-filters .category-group .group-title {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-size: 0.75rem;
}
body.dark-mode .category-filters .category-group .group-title {
  color: #fff;
}
.category-filters .category-group .group-count {
  font-size: 0.625rem;
  color: #999;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 4px;
  padding: 4px 8px;
  min-width: 1.5rem;
  text-align: center;
}
body.dark-mode .category-filters .category-group .group-count {
  color: #999;
  background: #121212;
}
.category-filters .category-group .group-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.category-filters .category-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  cursor: pointer;
  padding: 8px 0;
  border-radius: 4px;
  transition: all 0.2s;
  position: relative;
}
.category-filters .category-checkbox:hover {
  padding: 8px;
  background: rgba(0, 123, 255, 0.05);
}
body.dark-mode .category-filters .category-checkbox:hover {
  background: #1f1f20;
}
.category-filters .category-checkbox .category-content {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.category-filters .category-checkbox input[type=checkbox] {
  margin: 0;
  flex-shrink: 0;
  z-index: 1;
}
.category-filters .category-checkbox .category-logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 4px;
}
.category-filters .category-checkbox label {
  font-size: 0.75rem;
  color: #666;
  cursor: pointer;
  user-select: none;
  pointer-events: none;
}
body.dark-mode .category-filters .category-checkbox label {
  color: #fff;
}

.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 32px;
  max-width: 100%;
}

.auth-card {
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  transform: translateY(0);
  background: #fff;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.auth-card:hover {
  transform: translateY(-4px);
}
body.dark-mode .auth-card {
  background: #1f1f20;
}

.auth-header {
  padding: 32px 32px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(221, 221, 221, 0.5);
}
body.dark-mode .auth-header {
  border-bottom: 1px solid rgba(48, 48, 48, 0.7);
}
.auth-header h1 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
body.dark-mode .auth-header h1 {
  color: #fff;
}
.auth-header p {
  color: #666;
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 90%;
  margin: 0 auto;
}
body.dark-mode .auth-header p {
  color: #999;
}

.auth-content {
  padding: 32px;
}
.auth-content p {
  margin-top: 16px;
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  line-height: 1.75;
}
body.dark-mode .auth-content p {
  color: #999;
}
.auth-content p a {
  color: #007bff;
  text-decoration: none;
  position: relative;
}
.auth-content p a:hover {
  text-decoration: underline;
}
body.dark-mode .auth-content p a {
  color: rgb(51, 149.4, 255);
}

.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
  position: relative;
  overflow: hidden;
}
.google-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.2s;
}
.google-btn:hover::before {
  opacity: 1;
}
.google-btn:active {
  transform: translateY(1px);
}
.google-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
body.dark-mode .google-btn {
  background-color: #1f1f20;
  color: #fff;
  border-color: #303030;
}
.google-btn i {
  font-size: 1.25rem;
}

.auth-status-message {
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.75rem;
  transition: all 0.3s;
  transform-origin: top center;
}
.auth-status-message.error {
  background-color: rgba(255, 68, 62, 0.1);
  color: #FF443E;
  border: 1px solid rgba(255, 68, 62, 0.2);
}
body.dark-mode .auth-status-message.error {
  background-color: rgba(255, 68, 62, 0.2);
}
.auth-status-message.success {
  background-color: rgba(0, 199, 84, 0.1);
  color: #00C754;
  border: 1px solid rgba(0, 199, 84, 0.2);
}
body.dark-mode .auth-status-message.success {
  background-color: rgba(0, 199, 84, 0.2);
}
.auth-status-message.hidden {
  display: none;
  max-height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  transform: scaleY(0);
}

.auth-footer {
  padding: 16px 32px 32px;
  text-align: center;
  border-top: 1px solid rgba(221, 221, 221, 0.5);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body.dark-mode .auth-footer {
  border-top: 1px solid rgba(48, 48, 48, 0.7);
}
.auth-footer .back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #007bff;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
}
.auth-footer .back-link:hover {
  color: rgb(0, 98.4, 204);
  text-decoration: underline;
}
body.dark-mode .auth-footer .back-link {
  color: rgb(51, 149.4, 255);
}
body.dark-mode .auth-footer .back-link:hover {
  color: rgb(102, 175.8, 255);
}
.auth-footer .back-link i {
  font-size: 1rem;
}
.auth-footer p {
  font-size: 0.75rem;
  color: #666;
  margin: 8px 0 0;
}
body.dark-mode .auth-footer p {
  color: #999;
}
.auth-footer p a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}
.auth-footer p a:hover {
  text-decoration: underline;
}
body.dark-mode .auth-footer p a {
  color: rgb(51, 149.4, 255);
}

@media (max-width: 576px) {
  .auth-card {
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .auth-card:hover {
    transform: none;
    box-shadow: none;
  }
  .auth-container {
    padding: 16px;
  }
  .auth-header,
  .auth-content,
  .auth-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}
.profile-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
}

.profile-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .profile-content {
    grid-template-columns: 1fr;
  }
}

.profile-card h2, .settings-card h2 {
  margin: 0 0 24px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}
body.dark-mode .profile-card h2, body.dark-mode .settings-card h2 {
  color: #fff;
}
.profile-card h3, .settings-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 24px 0 16px;
  color: #333;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(221, 221, 221, 0.5);
}
body.dark-mode .profile-card h3, body.dark-mode .settings-card h3 {
  color: #fff;
  border-bottom-color: rgba(48, 48, 48, 0.7);
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .profile-info {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 4px solid #007bff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
body.dark-mode .profile-avatar {
  border-color: rgb(51, 149.4, 255);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
body.dark-mode .profile-avatar:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s;
}
body.dark-mode .profile-avatar img {
  filter: brightness(0.95);
}
@media (min-width: 768px) {
  .profile-avatar {
    margin-right: 32px;
    margin-bottom: 0;
  }
}

.profile-details {
  text-align: center;
  flex: 1;
}
@media (min-width: 768px) {
  .profile-details {
    text-align: left;
  }
}
.profile-details h2 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  color: #333;
  transition: color 0.2s;
}
body.dark-mode .profile-details h2 {
  color: #fff;
}
.profile-details p {
  margin: 0 0 8px;
  font-size: 0.875rem;
  color: #666;
}
body.dark-mode .profile-details p {
  color: #999;
}

.profile-role {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.625rem;
  font-weight: 500;
  background-color: rgba(0, 123, 255, 0.1);
  color: #007bff;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.profile-role:hover {
  background-color: rgba(0, 123, 255, 0.2);
  transform: translateY(-2px);
}
body.dark-mode .profile-role {
  background-color: rgba(0, 123, 255, 0.2);
  color: rgb(76.5, 162.6, 255);
}
body.dark-mode .profile-role:hover {
  background-color: rgba(0, 123, 255, 0.3);
}

.settings-section {
  margin-bottom: 32px;
}
.settings-section:last-child {
  margin-bottom: 0;
}

.settings-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(221, 221, 221, 0.5);
  transition: background-color 0.2s;
}
body.dark-mode .settings-item {
  border-bottom-color: rgba(48, 48, 48, 0.5);
}
.settings-item:last-child {
  border-bottom: none;
}
@media (min-width: 576px) {
  .settings-item {
    flex-direction: row;
    align-items: center;
  }
}

.settings-label {
  flex: 1;
  margin-bottom: 8px;
}
@media (min-width: 576px) {
  .settings-label {
    margin-bottom: 0;
  }
}
.settings-label label {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
  color: #333;
  transition: color 0.2s;
}
body.dark-mode .settings-label label {
  color: #fff;
}

.settings-description {
  display: block;
  font-size: 0.75rem;
  color: #999;
  line-height: 1.5;
}
body.dark-mode .settings-description {
  color: #999;
}

.settings-value {
  display: flex;
  align-items: center;
  gap: 16px;
}
.settings-value span {
  font-size: 0.75rem;
  color: #333;
  font-weight: 500;
}
body.dark-mode .settings-value span {
  color: #fff;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 26px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-switch input:checked + .toggle-slider {
  background-color: #007bff;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(26px);
}
.toggle-switch input:focus + .toggle-slider {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}
.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ddd;
  transition: 0.3s;
  border-radius: 26px;
}
body.dark-mode .toggle-slider {
  background-color: #1f1f20;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}
body.dark-mode .toggle-slider:before {
  background-color: #fff;
}
.toggle-slider:hover:before {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.settings-actions {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}

.settings-status {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.75rem;
  transition: all 0.3s;
  transform-origin: top center;
}
.settings-status.success {
  background-color: rgba(0, 199, 84, 0.1);
  color: #00C754;
  border: 1px solid rgba(0, 199, 84, 0.2);
}
body.dark-mode .settings-status.success {
  background-color: rgba(0, 199, 84, 0.2);
}
.settings-status.error {
  background-color: rgba(255, 68, 62, 0.1);
  color: #FF443E;
  border: 1px solid rgba(255, 68, 62, 0.2);
}
body.dark-mode .settings-status.error {
  background-color: rgba(255, 68, 62, 0.2);
}
.settings-status.hidden {
  display: none;
  max-height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  transform: scaleY(0);
}

.settings-info {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  padding: 8px;
  border-radius: 4px;
  background-color: rgba(0, 123, 255, 0.05);
  color: #666;
  font-size: 0.625rem;
}
.settings-info i {
  color: #007bff;
  font-size: 1rem;
}
body.dark-mode .settings-info {
  background-color: rgba(0, 123, 255, 0.1);
  color: #999;
}
body.dark-mode .settings-info i {
  color: rgb(51, 149.4, 255);
}

.preview-list {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  grid-auto-rows: min-content;
}
@media (min-width: 768px) {
  .preview-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.preview-item {
  width: 100%;
  position: relative;
  margin-bottom: 16px;
  transition: transform 0.2s;
}

.preview-meta-tag {
  gap: 6px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  font-size: 0.625rem;
  color: #333;
  background: #fff;
  border: 1px solid #333;
  border-radius: 100px;
  margin-top: 8px;
}
body.dark-mode .preview-meta-tag {
  color: #fff;
  background: #303030;
  border: 1px solid #303030;
}
.preview-meta-tag i {
  font-size: 0.625rem;
}

.preview-name {
  margin-top: 8px;
  font-size: 0.75rem;
  color: #666;
}
body.dark-mode .preview-name {
  color: #999;
}

.preview-image img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

body.dark-mode {
  background: #0f0f0f;
  color: #fff;
}
body.dark-mode ::selection {
  background: rgba(0, 123, 255, 0.2);
  color: #fff;
}
body.dark-mode ::-webkit-scrollbar-thumb {
  background: #1f1f20;
}
body.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: #1e1e1e;
}
body.dark-mode ::-webkit-scrollbar-corner {
  background: #121212;
}
