/* public/styles.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

/* Map container */
.map-container {
  display: none;
  position: relative;
  width: 100vw;
  height: 100vh;
}

#map {
  width: 100%;
  height: 100%;
}



.toprow, .bottomrow {
  position: absolute;
  margin: 12px;
  height: 64px;
  z-Index: 999999;
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  justify-items: center;
  justify-content: stretch;
  background-color: transparent;
  opacity: 0.5;
  transition: opacity 1s;
  width: fit-content;
  flex-shrink: 0;
}

.toprow.left {
  top: 8px;
  left: 8px;
}

.toprow.column {
  flex-direction: column;
  gap: 12px;
  height: fit-content;
  width: fit-content;
}

.bottomrow.right {
  bottom: 8px;
  right: 8px;
}

.map-container:hover .toprow, .wallpaper-container:hover .toprow, .map-container:hover .bottomrow, .wallpaper-container:hover .bottomrow {
  opacity: 1;
}

/* Toggle panel button */
.toggle-panel-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f490c2, #357abd);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.toggle-panel-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.toggle-panel-btn:active {
  transform: scale(0.95);
}

.toggle-panel-btn svg, .mapicons svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.mapicons a {
  background-color: rgba(0, 0, 0, 0.0);
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.0);
}

.mapicons {
  margin-right: 12px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 32px;
  color: #fff;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  border: 0px;
  width: 64px;
  height: 64px;
  z-index: 10005;
  display: flex;
  justify-items: center;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  align-content: center;
  cursor: image-set(url(/cursor/pointer.png) 1x, url(/cursor/pointer@2x.png) 2x) 10 6, pointer;
}

.orange {
  background-color: #ffa500;
}
.red {
  background-color: #ff0000;
}
.green {
  background-color: #008000;
}

.teal {
  background-color: #008080;
}

.blue {
  background-color: #009ad1;
}


/* Side panel */
.side-panel {
  position: fixed;
  top: 0;
  right: -400px; /* Start hidden */
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.side-panel.open {
  right: 0;
}

.panel-header {
  padding: 20px;
  background: #4285F4;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}

.panel-content {
  padding: 20px;
}

/* Upload form */
.upload-form {
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f9f9f9;
}

.upload-btn, .create-map-btn {
  width: 100%;
  padding: 12px;
  background: #4285F4;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.3s ease;
}

.upload-btn:hover, .create-map-btn:hover {
  background: #3367d6;
}

/* Regions list */
.regions-container {
  margin-top: 20px;
}

.regions-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
  margin: 10px 0;
  -webkit-overflow-scrolling: touch;
}

.region-item {
  flex: 0 0 auto;
  padding: 8px 15px;
  background: #f0f0f0;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.region-item:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .side-panel {
    width: 100%;
    right: -100%;
  }
}

/* Info window styling */
.info-window-content {
  padding: 10px;
}

.info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.country-flag {
  width: 30px;
  height: 20px;
  object-fit: cover;
}

.info-body {
  margin: 10px 0;
}

.info-footer {
  margin-top: 10px;
  text-align: center;
}

.action-button {
  padding: 8px 15px;
  background: #4285F4;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.action-button:hover {
  background: #3367d6;
}

/* Pin styles */
.pin-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  width: 100%;
  height: 100%;
}

/* Info Window styling */
.gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  padding: 0 !important;
}

.info-header {
  display: flex;
  align-items: center;
  padding: 12px;
  background-color: #4285F4;
  color: white;
  border-radius: 8px 8px 0 0;
}

.info-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.info-body {
  padding: 12px;
  background-color: #fff;
}

.info-body p {
  margin: 8px 0;
  color: #333;
}

.info-body i {
  margin-right: 8px;
  color: #4285F4;
}

.info-footer {
  padding: 12px;
  background-color: #f8f8f8;
  border-top: 1px solid #eee;
  border-radius: 0 0 8px 8px;
  text-align: center;
}

.action-button {
  width: 100%;
  padding: 8px 12px;
  background-color: #4285F4;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.action-button:hover {
  background-color: #3367d6;
}

.action-button i {
  margin-right: 5px;
}

preview {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

#preview h4 {
  color: white;
  margin-top: 10px;
  text-align: center;
}

#preview-image {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
}

#preview-image img {}

.download-link:hover {
  text-decoration: underline;
}

/* Color picker */
.color-picker-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.color-picker-container label {
  font-weight: 500;
  color: #333;
}

input[type="color"] {
  -webkit-appearance: none;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: 1px solid #ccc;
  border-radius: 50%;
}

/* Cache Management */
.cache-management {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.cache-management h3 {
  margin-bottom: 15px;
  color: #333;
}

.cache-stats {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.cache-stats p {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
}

.cache-stats span {
  font-weight: 600;
  color: #333;
}

.cache-actions {
  display: flex;
  gap: 10px;
}

.cache-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background-color 0.3s ease;
}

.cache-btn:hover {
  opacity: 0.9;
}

.cache-btn i {
  font-size: 1.1em;
}

#refreshCacheBtn {
  background-color: #ffc107; /* Amber */
  color: #333;
}

#clearCacheBtn {
  background-color: #f44336; /* Red */
  color: white;
}

/* User Button */
.user-btn {
  position: fixed;
  top: 20px;
  right: 80px; /* Adjust based on toggle button position */
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
}

.user-btn:hover {
  background-color: #e0e0e0;
  transform: scale(1.05);
}

.user-btn i {
  font-size: 20px;
  color: #555;
}

/* Authentication Dialog */
.auth-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff; /* White background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25); /* Clearer shadow */
  z-index: 1001; /* Ensure it's above other elements */
  display: none; /* Hidden by default */
  width: 90%;
  max-width: 400px;
  box-sizing: border-box;
  border: 1px solid #ddd; /* Subtle border */
  background: linear-gradient(160deg, #fdd975f5 0%, #d15600f7 100%);
}

.auth-dialog.active {
  display: block; /* Show when active */
}

.auth-dialog h2 {
  margin-top: 0;
  margin-bottom: 25px;
  /* text-align: center; */
  color: #e6f4f5;
  font-weight: 600;
  font-size: 32px;
    color: darkred;
    font-family: Rajdhani, sans-serif;
}

.close-dialog {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px; /* Slightly larger */
  line-height: 1;
  color: #565656cc;
  cursor: pointer;
  padding: 5px;
}

.close-dialog:hover {
  color: #555;
}

.auth-section {
  /* No specific styles needed here now, handled by children */
}
.auth-section p a {
  color: blanchedalmond;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Space between form elements */
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: Montserrat, Rajdhani, sans-serif;
  font-size: 1.5rem;
  width: 100%; /* Full width */
  box-sizing: border-box;
}

/* Use the existing .button styles if available, or define auth-button */
.auth-button {
  padding: 8px 20px;
  /* background: linear-gradient(135deg, #4a90e2, #357abd); */
  background: #795c3882;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease, color 0.6s ease;
  width: 100%; /* Make buttons full width */
  margin-top: 10px; /* Add some space above buttons */
  /* margin-left: 10px; */
}

.auth-button.bottom {
  position: absolute;
  bottom: 24px0;

}

.auth-button:hover {
  background: linear-gradient(106deg, #cf7513, #f0bb5d);
  /* border-width: 4px; */
  color: #7c0a0a;
  font-weight: 800;
}

.auth-button:active {
    transform: scale(0.98);
}

.auth-form p {
  /* text-align: center; */
  font-size: 16px;
  color: #555;
  margin-top: 15px; /* More space above switch links */
  font-family: 'Montserrat', sans-serif;
}

.auth-form a {
  color: #4a90e2;
  text-decoration: none;
  font-weight: 500;
}

.auth-form a:hover {
  text-decoration: underline;
}

::placeholder {
  color: rgb(208, 208, 208);
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
}

/* Logged-in Section Styles */
.logged-in-section {
    text-align: left;
}

.logged-in-section p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
}

.logged-in-section strong {
    font-weight: 600;
    color: #000;
    word-break: break-all; /* Break long emails */
}

/* Style for the main user button when logged in */
.user-btn.logged-in {
    background-color: #4CAF50; /* Green background */
    color: white;
    border-color: #45a049;
}

.user-btn.logged-in i {
    color: white;
}

.user-btn.logged-in:hover {
    background-color: #45a049;
}

actionbutton, .actionbutton.mini, actionbutton.mini {
  padding: 5px 12px;
  font-size: 0.8rem;
  background: #999;
  margin: 4px;
  align-items: center;
  display: inline-flex;
}

actionbutton, .actionbutton, .parameter {
  padding: 6px 2vw;
  /* margin: 6px; */
  letter-spacing: 2px;
  border: 0;
  background: #009AD1;
  color: white;
  font-size: 1.1rem;
  text-transform: uppercase;
  vertical-align: .25em;
  cursor: pointer;
  border-radius: .3em;
  font-family: 'Barlow Semi Condensed', sans-serif;
}

.button-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0px;
  width: max-content;
  height: 72px;
}

.dialogclose {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .auth-dialog {
    width: 95%;
    padding: 20px;
    top: 45%; /* Adjust vertical position for smaller screens */
  }
}

.create-map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  background: linear-gradient(135deg, #4a90e2, #357abd);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.create-map-btn i {
  margin-right: 8px;
}

.create-map-btn:hover {
  background: linear-gradient(135deg, #357abd, #2a5f8f);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.create-map-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Map Type Menu Styles */
.gm-style-mtc {
  font-family: 'Barlow Semi Condensed', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #333 !important;
  background-color: #ebe7ab !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  padding: 8px 12px !important;
}

.gm-style-mtc div {
  font-family: 'Barlow Semi Condensed', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
}

.gm-style-mtc button {
  font-family: 'Barlow Semi Condensed', sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #333 !important;
  background-color:  #ebe7ab !important;
  border: none !important;
  padding: 8px 12px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

.gm-style-mtc button:hover {
  background-color: #f5f5f5 !important;
}

.gm-style-mtc button:focus {
  outline: none !important;
  /* box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.3) !important; */
}

/* Map Controls Container */
.gm-control-active {
  background-color: #fff !important;
  border-radius: 4px !important;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important; */
}

/* Map Type Dropdown */
.gm-style-mtc div[role="menu"] {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
  background-color: #fff !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

.gm-style-mtc div[role="menu"] div {
  padding: 8px 12px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

.gm-style-mtc div[role="menu"] div:hover {
  background-color: #f5f5f5 !important;
}

/* Wallpaper Carousell */
.wallpaper-container {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.wallpaper-container {
  background-image: linear-gradient(120deg, #2ec5df77 0%, #e8434366 100%);
  backdrop-filter: blur(10px);
  background-color: #2a353578;
  position: absolute;
  top: 0px;
  width: 100vw;
  height: 100vh;
  padding: 0px;
  background-color: rgba(255, 255, 255, 1);
  text-align: center;
  margin: auto;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-items: center;
  flex-direction: column;
}

.wallpaper-container.flat {
  background-image: none;
  backdrop-filter: none;
  background-color: rgb(238, 238, 238);
}

.wallpaper-container .header {
  width: 100%;
  display: flex;
  height: 84px;
}

.wallpaper-container .header h4 {
  width: 100%;
  font-family: Rajdhani;
  color: #2a762e;
  font-weight: 500;
}

.wallpaper-container .row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
}



.wallpaper-container .row .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  margin: 20px 0;
  font-family: Barlow, sans-serif;
  font-size: 24px;
  color: rgb(116 135 77);
}

.wallpaper-container .shortcut-input {
  width: 128px;
  text-align: center;
  font-family: 'PT Mono', 'Space Grotesk', 'Montserrat', sans-serif;
  color: teal;
  font-size: 2rem !important;
  letter-spacing: 3px;
  height: 4rem;
  margin: auto;
  border: none;
  border-bottom: 0.5px solid rgb(180, 180, 180);
  background: transparent;
  position: absolute;
  right: 96px;
}

.shortcut-input:focus, .shortcut-input:active {
  outline: none;
}

#wallpaper-preview {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
h4 {
  font-size: 2.28rem;
  line-height: 110%;
  margin: 1.52rem 0 0.912rem 0;
}

.carousell {
  position: relative;
  z-index: 1;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  pointer-events: none;
}

.carousell-item {
  --items: 10;
  --maxX: 3200%;
  --maxY: 200%;
  --maxRot: 120deg;
  --width: clamp(150px, 30vw, 300px);
  --height: clamp(200px, 40vw, 400px);
  --x: calc(var(--active) * var(--maxX));
  --y: calc(var(--active) * var(--maxY));
  --rot: calc(var(--active) * var(--maxRot));
  /* --opacity: calc(var(--zIndex) / var(--items) * 3 - 2); */
  --opacity: calc(1 - (abs(var(--zIndex) - var(--items)) * 0.16));
  overflow: hidden;
  position: absolute;
  z-index: var(--zIndex);
  width: var(--width);
  height: var(--height);
  margin: calc(var(--height) * -0.5) 0 0 calc(var(--width) * -0.5);
  border-radius: 10px;
  top: 50%;
  left: 50%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transform-origin: 0% 100%;
  box-shadow: 0 10px 50px 10px rgba(0, 0, 0, 0.5);
  background: black;
  pointer-events: all;
  transform: translate(var(--x), var(--y)) rotate(var(--rot));
  transition: transform 0.8s cubic-bezier(0, 0.02, 0, 1);
}

.carousell-item .carousell-box {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.8s cubic-bezier(0, 0.02, 0, 1);
  opacity: clamp(0.5, var(--opacity), 1);
  font-family: "Orelo-sw-db", serif;
}

.carousell-item .carousell-box:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5));
}

.carousell-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousell-item.selected {
  /* transform: scale(1.05); */
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
  border: 2px solid #a9e762;
}

.carousell-item.highlighted {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  z-index: 100;
}

.carousell-item-checkbox {
  position: absolute;
  top: 16px;
  right: 16px;
  /* transform: translate(-50%, -50%); */
  z-index: 10;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  transform-origin: center center;
  color: #a9e762;
}

.carousell-item-checkbox i, .carousell-item-checkbox svg {
  font-size: 2.5em;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  transform-origin: center center;
  border-radius: 50%;
}

.carousell-item-checkbox i.fa-check-circle, .carousell-item-checkbox svg.fa-check-circle {
  color: #4CAF50;
}

.carousell-item:hover .carousell-item-checkbox {
  opacity: 1;
}

.carousell-item-checkbox:hover i {
  transform: scale(1.1);
  transform-origin: center center;
}

.carousell-item .title {
  position: absolute;
  z-index: 1;
  color: #b9e632;
  bottom: 20px;
  left: 20px;
  transition: opacity 0.8s cubic-bezier(0, 0.02, 0, 1);
  font-size: clamp(20px, 3vw, 30px);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  font-family: Rajdhani, sans-serif;

}

.carousell-item .num {
  position: absolute;
  z-index: 1;
  color: #fff;
  top: 10px;
  left: 20px;
  transition: opacity 0.8s cubic-bezier(0, 0.02, 0, 1);
  font-size: clamp(20px, 10vw, 80px);
  font-family: Anaheim, sans-serif;
}

.carousell-item actionbutton.mini {
  display: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
}

.carousell-item:hover actionbutton.mini {
  display: block;
}

.carousell-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  pointer-events: none;
}

/* Country List */

.deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.deco .deco-1 {
  position: absolute;
  top: 55%;
  left: 65%;
  width: 5rem;
  height: 5rem;
  transform: translate(-50%, -50%);
  background-image: radial-gradient(circle at 0 0, #f4c5cd, #ffeecf);
  border-radius: 5rem;
  animation: deco-move 8s infinite alternate;
  filter: blur(10px);
}
.deco .deco-2 {
  position: absolute;
  top: 45%;
  left: 40%;
  width: 6rem;
  height: 6rem;
  transform: translate(-50%, -50%);
  background-image: radial-gradient(circle at 0 0, #a1cae9, #f7c6c6);
  border-radius: 5rem;
  animation: deco-move 6s infinite alternate;
  filter: blur(10px);
}

.deco:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(50px);
}

.container {
  display: flex;
  flex-direction: column;
  gap: 2vh;
  position: fixed;
  top: 96px;
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
  height: calc(100vh - 144px);
  max-width: 90%;
  padding: 12px 24px;
  overflow-y: scroll;
  width: clamp(320px, 90%, 800px);
  align-items: center;
}

.wrapper {
  width: clamp(280px, 90%, 700px);
  height: clamp(48px, 7.5vh, 84px);
  border-radius: 12px;
  padding: 12px 36px 12px 24px;
  display: flex;
  font-family: 'Space Grotesk', 'Montserrat', sans-serif;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.422);
  z-index: 1;
}

input.checkbox {
  display: none;
}

input.checkbox:checked + .fancy-button {
  filter: none;
}
input.checkbox:checked + .fancy-button .dot {
  left: calc(100% - 1.25rem - 0.2rem);
  background-color: #4ac3c6;;
}

.fancy-button {
  position: relative;
  width: 3rem;
  height: 1.5rem;
  border-radius: 1rem;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), inset -2px -2px 5px rgba(255, 255, 255, 0.8);
  cursor: pointer;
}
.fancy-button .dot {
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  left: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3), -3px -3px 6px rgba(255, 255, 255, 0.8);
  transition: all 0.6s ease-in-out;
  background-color: #ba9595;
  will-change: left, background-color;
}

@keyframes deco-move {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/** Root **/
:root {
  --ss-orange: #d91e43;
  --ss-neutral: #ffffff;
  --button-color: var(--ss-orange);
  --button-border-color: var(--ss-neutral);
  --button-font-size: 28px;
  --button-font-size-small: 28px;
  --xx-small: 9px;
}

:root {
  --primary-color: #1C242E;
  --secondary-color: #6F8BA7;
  --text-color: #FFFFFF;
  --button-hover-color: #414C59;
  --button-active-color: #414C59;
  --icon-color: #FFFFFF;
  --me-color: #009AD1;
  --me-text-color: #106280;
  --me-light-color: #eaf7ff;
  --otheruser-color: #e4b707;
  --otheruser-text-color: #474d32;
  --otheruser-light-color: #f9efd1;
  --phone-color: #4ec2db;
  --group-color: #947a10;
  --organization-color: #a66a8b;
}