body {
    font-family: "DM Sans", sans-serif;
    margin: 0;
    padding: 0;
    font-size: clamp(0.8rem, 2vw, 1rem);
    overflow-x: hidden;
}
.fd-column{
   display:flex;
    flex-direction:column; 
    justify-content: left;
    text-align: left;
    align-content: flex-start;
}
.fd-row{
   display:flex;
    flex-direction:row; 
}
.bouncing-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  gap: 8px;
}

.bouncing-loader div {
  width: 16px;
  height: 16px;
  background-color: #3498db;
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.bouncing-loader div:nth-child(2) {
  animation-delay: 0.2s;
}

.bouncing-loader div:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  to {
    transform: translateY(-20px);
    opacity: 0.6;
  }
}

fieldset{
        /* nice blue border */
  border-radius: 12px;            /* rounded corners */
  padding: 1.5rem 2rem;           /* spacing inside */
  margin: 1.5rem 0;               /* spacing outside */
  background: #f9fbff;            /* light background */
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin-top:20px;
}
.pb-10{
    padding-bottom: 50px;
}
fieldset legend{
  font-size: 1.2rem;
  font-weight: 600;
  color: #c4e0ff;                 /* matches border */
  padding: 5px 20px;
  background:#0f4c9c;
  width:fit-content;
  margin-left:20px;
  margin-top:-20px;
  border-radius:10px;
}
fieldset label{
    display: block;
  margin-top: 1rem;
  font-weight: 500;
  color: #333;
}
fieldset div{
    margin:20px;
}
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo left, button right */
  padding: 0.8rem 1rem;
  width:100%;
  margin: auto;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.nav-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-menu {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  width: 100%;
  
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

.nav-menu.active {
  display: flex;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  text-align: right;
  padding-right:10px;
}

.nav-link:hover {
  color: #007BFF;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex !important;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0;
    box-shadow: none;
    background: transparent;
    justify-content: flex-end;
    text-align: right;
  }
}

.logopos {
    top: 48px;



    /* Vector */

    position: absolute;
    left: 0%;
    right: 22.86%;
    top: 0%;
    bottom: -0.01%;

    background: #000000;


    /* Vector */

    position: absolute;
    left: 88.79%;
    right: 0%;
    top: 11.21%;
    bottom: 38.19%;

    background: #000000;


    /* Vector */

    position: absolute;
    left: 82.44%;
    right: 9.32%;
    top: 20.3%;
    bottom: 46.94%;

    background: #000000;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/static/fonts/static/DMSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/static/fonts/static/DMSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/static/fonts/static/DMSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

.Heading1 {
    font-family: 'DM Sans';
    line-height: 80px;
    letter-spacing: -3.42px;
    vertical-align: middle;
    width: 113.97px;
    font-weight: 700;
    color: #000000;
}

.stages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    /* no gap between circle and line */
}

.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    z-index: 1;
}

.line {
    flex: 1;
    height: 4px;
    background-color: #ccc;
    margin: 0 5px;
    position: relative;
    top: -25px;
    /* align with circle center */
}

.label {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
}

.bg-grad2 {
    background: linear-gradient(rgb(231, 231, 185), rgb(224, 224, 143));
}

.bg-grad3 {
    background: linear-gradient(rgb(126, 184, 223), rgb(21, 197, 241));
}

.mainpagetitle {
    font-size: clamp(1.3rem, 80px, 90px);
    padding-left: 20px;
    padding-right: 20px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.honked {
    position: absolute;
    bottom: 0;
    right: 10px;
    height: 90vh;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.girl-img {
    position: absolute;
    bottom: 0;
    right: 10px;
    height: 90vh;
    width: auto;
    /* keeps aspect ratio */
    max-width: 100%;
}

.pg-heading {
    font-family: "DM Sans";
    font-weight: 700;
    /* grows with viewport width */
    line-height: 1.2;
    word-spacing: 10px;
    letter-spacing: 1px;
    margin-right:20px;
    font-size: clamp(1.5rem, 10cqw, 5rem);
}

.mychip {
    /* background: linear-gradient(rgba(165, 214, 233, 0.795), rgba(19, 126, 168, 0.808));  */
    background: #F6F7F7;
    border-radius: 20px;
    margin-left: 20px;
    margin-right: 20px;
    color: white;
}

.y-block {

    background: #FFF7E6;

    padding: 10px;
    border-radius: 10px;
    min-width: 320px;

}

.y-block .icon {
    margin: auto;
    width: 70px;
}

.y-block .title {
    margin: auto;
    font-weight: bold;
    font-size: 1rem;
}

.yblock .subtitle {
    margin: auto;
    font-size: 0.7rem;
    text-align: center;
    width: 320px;
}

.w-block {
    background: #F6F7F7;

    padding: 10px;
    border-radius: 10px;

}

.w-block .icon {
    margin: auto;
    width: 70px;
}

.w-block .title {
    margin: auto;
    font-weight: bold;
    font-size: 1rem;
}

.wblock .subtitle {
    margin: auto;
    font-size: 0.7rem;
    text-align: center;
    width: 320px;
}

.pg-sub {
    
    width: 90%;
    font-size: clamp(1.2rem, 4cqw, 3rem);
    
}
.acctile{
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    transition: transform 0.2s ease;
}
.acctile:hover{
    transform: translateY(-4px);
}
.acctile-icons{
    font-size: 1.2rem;
    /* size of emoji/icon */
    margin-right: 12px;
    max-width:70px;
    align-self:flex-start;
}
.acctile-text{
    font-size:0.8rem;
    color:blue;
    display:flex;
    flex-direction: row;
}
.acctile-desc{
    font-size:0.8rem;
    color:blue;
   
    
}
.acctile-amt{
    margin-left:5px;
    font-size:0.8rem;
    color:blue;
      
}
.y-bg{
    background:linear-gradient(#f2f7e0, rgb(218, 218, 163));
    color:white;
}
.b-bg{
    background:linear-gradient(rgb(164, 198, 231), rgb(71, 71, 150), rgb(112, 75, 136));
    color:white;

}

.tile {
    display: flex;
    
    background: #f9f9f9;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width:fit-content;
    max-width:100%;
   
    transition: transform 0.2s ease;
}

.tile:hover {
    transform: translateY(-4px);
}

.tile-icon {
    font-size: 2rem;
    /* size of emoji/icon */
    margin-right: 12px;
    max-width:70px;
    align-self:flex-start;
}

.tile-text {
    display: flex;
    flex-direction: column;
}

.tile-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.tile-subtitle {
    font-size: 0.9rem;
    color: #666;

}

.tile2 {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width:fit-content;
    
    transition: transform 0.2s ease;
}

.tile2:hover {
    transform: translateY(-4px);
}

.tile2-icon {
    font-size: 2rem;
    /* size of emoji/icon */
    margin-right: 12px;
    max-width:70px;
    align-self:flex-start;
}

.tile2-text {
    
    display: flex;
    flex-direction: column;
}

.tile2-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.tile2-subtitle {
    font-size: 0.9rem;
    min-width:150px;
    color: #666;

}

.searchdot {
    position: relative;
    width: 30px;
    height: 30px;
    background: #FCECCB;
    border-radius: 100%;
    display: flex;                 /* center icon */
    align-items: center;
    justify-content: center;
    font-size: 14px;
}



/* Tablet screens (≤1024px) */
@media (max-width: 1024px) {
    .girl-img {
        height: auto;
        right: 5px;
    }

    .pg-heading {
        font-size: 4rem;
        line-height: 60px;
        word-spacing: 7px;
        letter-spacing: 1px;
    }

    .spacer2 {
        height: var(--sph, 20px);
        /* fallback is 20px */
        width: 100%;
        background-color: var(--bg, rgba(128, 128, 128, 0.521))
    }

    .pg-sub {
        font-size: 18px;
        width: 80%;

    }
}

.spacer {
    height: 5vw;
}

.menu_text_break {
    width: 320px;
}

/* Mobile screens (≤768px) */
@media (max-width: 768px) {
    .girl-img {
        position: relative;
        height: 50vh;
        right: 0;
        bottom: 0;
        margin: auto;
    }

    .pg-heading {
        font-size: 3rem;
        line-height: 50px;
        word-spacing: 5px;
        letter-spacing: 1px;
    }

    .spacer {
        height: 10vw;
    }

    .menu_text_break {
        width: 100%;
    }

    .wblock .subtitle {
        margin: auto;
        font-size: 0.7rem;
        text-align: center;
        width: 100%;
    }

    .yblock .subtitle {
        margin: auto;
        font-size: 0.7rem;
        text-align: center;
        width: 100%;
    }

    .y-block {
        min-width: 100%;
        width: 100%;
    }

}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
    .girl-img {
        height: 35vh;
        right: 0;
    }

    .pg-heading {
        font-size: 2rem;
        line-height: 40px;
        word-spacing: 10px;
        letter-spacing: 1px;
    }

    .spacer2 {
        height: var(--sph, 20px);
        max-height: 20px;
        /* fallback is 20px */
        width: 100%;
        background-color: var(--bg, rgba(128, 128, 128, 0.521))
    }
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    background: #3498db;
    border-radius: 50%;
    animation: bounce 0.6s infinite ease-in-out alternate;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    to {
        transform: translateY(-10px);
        opacity: 0.6;
    }
}

#pdf-content {
    width: 794px;
    /* ~A4 width in px at 96dpi */
    margin: auto;
    /* display: none; */
    padding: 0px;
    margin: 0px;
}
#label-content {
    width: 367px;
    /* ~A4 width in px at 96dpi */
    margin: auto;
    /* display: none; */
    padding: 0px;
    margin: 0px;
}

.pdf-section {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    font-size: 0.8rem;
}
.label-section {
    
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    font-size: 0.8rem;
}

.pdf-header {
    text-align: left;
    padding-left: 20px;
    font-size: 22px;
    font-weight: bold;
    padding-bottom: 10px;
}

.pdf-footer {
    text-align: center;
    font-size: 12px;
    padding-top: 10px;
}

.overlay {
    position: relative;
    left: 10px;
    top: 15px;
    width: fit-content;
    height: fit-content;
}

.abspos {
    position: absolute;
    display: flex;
    flex-direction: column;
}

.displaylook {
    font-size: clamp(0.7rem, 0.85rem, 1rem);
}

.message-row {
    display: flex;
    margin-bottom: 15px;
}

.message-right {
    justify-content: flex-end;
}

.message-balloon {
    background-color: #ffffff;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 70%;
    position: relative;
    transition: 0.3s;
}

.message-right .message-balloon {
    background-color: #dcf8c6;
}

.message-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 5px;
}

.sender-name {
    font-weight: bold;
    color: #333;
}

.message-text {
    font-size: 1em;
    color: #222;
    word-wrap: break-word;
}

.alink {
    color: blue;
    font-weight: lighter;
    font-size: 0.8rem;
    cursor: pointer;
}

.row {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0;
    padding: 0;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100vh;
}

.separator {
    min-height: 20px;
    background-color: #4e46e58a;
    padding: 5px;
    color: white;
    width: fit-content;
    border-radius: 10px;

}

.chip {
    background-color: #8ba4da8f;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.336);
    margin-bottom: 10px;
    margin: 10px;
    width: 100%;
}



.circleavatar {
    width: fit-content;
    height: fit-content;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 10px;
    transition-duration: 2s;
    margin: 10px 20px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.display-none {
    display: none;
}

.display-block {
    display: block;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: block;
}

.fade-in.show {
    opacity: 1;
}

.tile {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1rem;
    margin: 0.7rem auto;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(196, 194, 194, 0.6);
    font-family: sans-serif;
}

.tile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.tile-leading img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.tile-heading {
    flex: 1;
    padding: 0 1rem;
    font-weight: 600;
    font-size: clamp(0.7rem, 0.8rem, 1rem);
}

.tile-trailing button {
    padding: 0.4rem 0.8rem;
    border: none;
    background-color: #6366f1;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.tile-body {
    font-size: 0.95rem;
    color: #444;
}

.menuicon {
    width: 80px;
}

.flagicon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 3px;
    border: 1px solid grey;
}


.overlay-grid {
    background: #066ee4;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
    pointer-events: auto;
}

.f-7 {
    font-size: 0.7rem;
}
.f-8{
    font-size:0.8rem;
}
.f-9{
    font-size:0.9rem;
}

.tshadow2 {
    background: linear-gradient(45deg, #7e5e08, rgb(82, 94, 15), black);
    /* Adjust colors as needed */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* For Firefox */
    color: transparent;
}

.tshadow {
    background: linear-gradient(45deg, #6f63dd83, rgb(115, 5, 241));
    /* Adjust colors as needed */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* For Firefox */
    color: transparent;
}

.spacer2 {
    height: 15vh;
    /* fallback is 20px */
    width: 100%;
    background-color: var(--bg, rgba(128, 128, 128, 0.521))
}

::-webkit-scrollbar {
    display: none;
}

.myinputwrapper {
    position: relative;
    width: 100%;
}

.tspace {
    position: absolute;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 3px rgba(214, 239, 247, 0.918);
    background-color: white;
}

.myinput_icon {
    position: absolute;
    margin-left: -20px;
    margin-top: 7px;
}

.myinput_icon_pre {
    position: absolute;
    left: 5px;
    margin-top: 7px;
    margin-left: 20px;
}
.elehide{
    display:none;
}

.myinput {
    border: none;
    box-shadow: 0px 0px 5px rgb(205, 213, 247);
    padding: 2px 2px 2px 25px;
    border-radius: 5px;
    width: 100%;
    margin-bottom:5px;
    color:black;
}

.myinput button {
    
    background-color: black;
    padding: 5px;
    float:flex-end;
}

.upload-btn {
    display: inline-block;
    background-color: #4f46e5;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.upload-btn:hover {
    background-color: #4338ca;
}

.ptr {
    cursor: pointer;
}

.column {
    width: 100%;
    display: flex;
    flex-direction: column;
}

fieldset .menuspace {
    position: relative;
    margin-top: 5px;
}

.mapspace {
    min-height: 100vh;
    padding: 10px;
}

.mapspace .content {
    position: relative;
}

@font-face {
    font-family: "poppins";
    src: url('/static/fonts/Poppins/poppins-Regular.ttf') format('truetype'),
        url('/static/fonts/Poppins/poppins-black.ttf') format('truetype');
}

.navbar-brand .title {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    letter-spacing: 5px;
    word-spacing: 7px;
    font-weight: bold;
    background: linear-gradient(#f08307 0% 40%, #eeecea 30% 50%, #067c23 60% 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.navbar-brand .headingtitle1 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    letter-spacing: 5px;
    word-spacing: 7px;
    font-weight: bold;
    background: linear-gradient(#0759f0 0% 40%, #08aef0 30% 50%, #8ba4da 60% 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.navbar-brand .headingtitle2 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    display: inline-block;
}

.gradient-text {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(#066ee4 0% 50%, #f39304 40% 60%, #5a42e6 70% 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-size: 24px;
    border: none;
    outline: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s;
    width: 60px;
    height: 60px;
}

#scrollTopBtn:hover {
    background-color: #555;
}

.centerscreen {
    justify-content: center;
    display: flex;
    align-items: center;
}

.fitcontent {
    width: fit-content;
    height: fit-content;
}


.alert-card {
    transition: transform 0.3s;
}

.alert-card:hover {
    transform: translateY(-5px);
}

.severity-high {
    border-left: 5px solid #dc3545;
}

.severity-medium {
    border-left: 5px solid #fd7e14;
}

.severity-low {
    border-left: 5px solid #ffc107;
}

.thumbnail {

    transition: transform 0.3s ease;

}

.thumbnail:hover {
    transform: scale(5.5);
}