/* CORE CSS START */
:root {
  --primary-color: #3B0270;
  --secondary-color: #6F00FF;
  --light-color: #FFF1F1;
  --text-color: #E9B3FB;
  --max-width: 600px;
}
* { font-family: Arial, sans-serif; margin: 0; box-sizing: border-box; }
.center { display: flex; justify-content: center; align-items: center; }
.container { background-color: var(--light-color); transition: all 0.3s ease; flex-direction: column; gap: 16px; }
.box { width: 100%; display: flex; flex-direction: column; gap: 12px; padding: 2rem; transition: all 0.3s ease; }
/* Desktop and Tablet Styles */
@media (min-width: 768px) {
  .container {
    min-height: 90vh;
  }
}

.links { display: flex; flex-wrap: wrap; padding: 1rem 0; max-width: var(--max-width); }
.links a {
  color: var(--primary-color);
  padding: 0.7rem 1.5rem;
  align-content: center;
  text-decoration: none;
  font-size: 12px;
  width: 100%;
  flex-basis: 50%;
  transition: all 0.5s ease;
}
.links a:hover { background-color: var(--primary-color); color: var(--text-color); }
/* CORE CSS END */

.content { max-width: 720px; margin: 0 auto; }
.content p { line-height: 1.7; margin: 8px 0; }
.content h1,h2,h3 { margin: 16px 0; }
.content h4 { margin-top: 16px; margin-bottom: 0; }

.text-secondary { color: var(--secondary-color); font-weight: 100; }
.button { padding: 0.8rem 1rem; font-size: 1rem; background-color: var(--primary-color); color: var(--light-color); border: none; border-radius: 12px; cursor: pointer; user-select: none; transition: all 0.3s; box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; }
.button:hover { background-color: var(--secondary-color); }

.container>.box:first-child { padding: 0px!important; position: relative; overflow: hidden; }

.header { display: flex; justify-content: space-between; gap: 8px; backdrop-filter: blur( 4px );
  padding: 12px; position: absolute; top: 0; left: 0; z-index: 999; width: 100%; }
.header input { border-radius: 5px; border: 1px solid var(--primary-color); color: var(--primary-color); padding: 4px 12px; background-color: transparent; font-weight: bold; text-transform: uppercase; outline: none; }

.location-details { display: none; gap: 6px; position: relative; }
.location-details>div { padding: 4px 6px; color: var(--primary-color); font-size: 14px; }
.location-details>#digipin::before { content: "My DIGIPIN: "; color: var(--secondary-color); font-size: 12px; display: block; text-align: left; }
.location-details>#digipin { cursor: pointer; font-weight: bold; font-size: clamp(22px, 12vw, 3rem); padding: 1rem; border-bottom: 1px solid var(--primary-color); }
.location-details #map-wrapper { height: 85dvh; overflow: hidden; padding: 0; position: relative; }
.location-details #map { height: 100%; }
.location-details .map-control { position: absolute; bottom: 0; left: 0; width: 100%; padding: 16px; z-index: 999; display: flex; gap: 8px; }

.card-loader { width: 100%; padding: 1rem; text-align: center; border-radius: .8rem; background-color: white; }
.card-loader::before, .card-loader::after { content: ""; display: block; background-image: linear-gradient(90deg, #ccc 0px, rgb(229 229 229 / 90%) 40px, #ccc 80px ); background-size: 300%; background-position: 100% 0; border-radius: inherit; animation: shimmer 1.5s infinite; }
.card-loader::before { height: 22px; width: 65%; margin-bottom: 15px; }
.card-loader::after { height: 100px; }
@keyframes shimmer {
  to { background-position: -100% 0; }
}
