body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
#notifyees {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); Responsive columns */
    gap: 5px;
}
.buddyh {
    text-align: center;
    color: maroon;
    font-style: italic;
}
.buddy {
    text-align: left;
    position: relative;
}
.buddy-yes {
    background-color: #7FFFD4
}
.buddy-no {
    background-color: #FFE5E5
}
.grid-cell {
    display: flex;
    position: relative;
    justify-content: center;
    width: 178px;
    margin-bottom: 6px;
}
.dashsect {
    display: block;
    color: royalblue;
    margin-left: 1em;
    margin-top: 2em;
    margin-bottom: 10px;
    font-style: italic;
    font-weight: 900;
    font-size: larger;
}
.container-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 8px 0 8px;
}
.container-body {
    width: 80%;
    margin: auto;
    overflow: visible;
}
header {
    background: #50b3a2;
    color: white;
    padding-top: 30px;
    border-bottom: #e8491d 3px solid;
}
header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}
.blk {
    display: block;
}
#email-id {
    position: relative;
}
.info-link {
    padding: 0 5px 0 5px;
}
.reg-login {
    margin-right: 0.5em;
}
.inpt {
    border-radius: 5px;
    margin: 5px;
    width: 160px;
}
.inptrl {
    border-radius: 5px;
}
header #branding {
    float: left;
}
header #branding h1 {
    margin: 0;
}
.links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    height: 100%;
    margin-bottom: 5px;
}
header .highlight, header .current a {
    color: #e8491d;
    font-weight: bold;
}
header a:hover {
    color: #cccccc;
    font-weight: bold;
}
.info {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
    font-style: italic;
    color: black;
}
#footer {
    text-align: center;
    padding: 2px;
    color: #7FE8FF;
    font-size: 12px;
    font-weight: bold;
    width: fit-content;
    margin: 0 auto;
    margin-top: 0.5em;
    margin-bottom: 4em;
}
#urlping {
    margin-left: 1em;
}
#urlcb {
    margin-left: 0.25em;
}
#urlpingset {
    cursor: pointer;
    display: inline-block;
}
#copied {
    display: inline-block;  /* for some reason inline-block works better with transform */
    transform: translateX(-40px) translateY(-20px);
    opacity: 1;
    transition: opacity 3s ease-out;
    visibility: hidden;
}
#main {
    position: relative;
}
#main-col {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}
.page-title {
    color: #50b3a2;
    font-size: 22px;
}
.highlight {
    color: #e8491d;
    font-weight: bold;
}
#instrs {
    font-style: italic;
    margin-left: 3em;
    margin-right: 3em;
}
.catchp {
    color: #50b3a2;
    font-weight: bold;
    font-style: italic;
}
.slogan {
    margin-left: 4em;
}
#hiking-image {
    width: 300px;
    height: auto;
    float: right;
    border-radius: 8px;
}
#logo-image {
    width: 100px;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
}
.badnumber {
    border: 1px solid red;
}
.iti__flag {
    background-image: url("/Images/flags.png");
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
    background-image: url("/Images/flags@2x.png");
    }
}
:root {
    --iti-path-flags-1x: url("/Images/flags.png");
    --iti-path-flags-2x: url("/Images/flags@2x.png");
}
#pauseplay {
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-left: 6px;
    transform: translateY(-2px);
}
.pause {
    transform: translateY(-2px) scaleX(2.0) !important;
    margin-left: 10px !important;
}
#activate {
    transition: all 0.3s ease-in-out;
    display: block;
}
.hover:hover {
     box-shadow: 0 0 10px #4CAF50; /* Green glow */
}
.hover:active {
    animation: flash 0.3s;
}
@keyframes flash {
    0% {
    background-color: #3498db;
    }
    50% {
    background-color: #ffffff;
    }
    100% {
    background-color: #3498db;
    }
}
#addntfee {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-left: 0.5em;
    color: white;
    font-size: 14px;
    line-height: 20px; /* Ensure text is vertically centered */
    font-family: Arial, sans-serif; /* Ensure consistent font rendering */
}
/* Ensure no additional outline on focus 
#addntfee:focus {
    outline: none;
}
*/
.btngrn {
    background-color: #50b3a2;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: white;
}
.btnGo {
    background-color: dodgerblue;
    margin-left: 0.5em;
}
#ntime {
    font-size: large;
    font-weight: bold;
}
.hpopup {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    background-color: lightskyblue;
    font-size: initial;
    font-weight: normal;
    font-style: initial;
    color: black;
}
.hpopup:hover,#idPrivacy:hover,#idAbout:hover,#idDemo:hover,#idConsent:hover,#idTerms:hover,#idData:hover,#idAccount:hover,#validationlink:hover,#proid:hover,.c-blue:hover,#suboff:hover,#subextend:hover,#locationId:hover,#signout:hover,#deleteaccount:hover,#nokeepacct:hover,#yesdelacct:hover,#removeCancel:hover,#removeYes:hover,.gcMenu:hover,#idTermsNotices:hover,#idHelp:hover {
    cursor: pointer;
    text-decoration: underline;
    color: green;
}
#mynamelabel,#nsecslabel,#msglabel {
    padding-right: 50px;
}
#validationlink {
    display: block;
}
#validationInput {
    transition: opacity 1s;
}
#kasect {
    margin-top: 2em;
    padding-right: 4em;
}
.hidden {
    visibility: hidden;
}
.visible {
    visibility: visible;
}
.plans-container {
    display: flex;
    justify-content: space-around;
    max-width: 800px;
    margin: 0 auto;
}
.plan {
    width: 45%;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
}
.checklist {
    list-style-type: none;
    padding-left: 0;
}
.checklist li:before {
    content: '\2713';
    color: green;
}
.c-blue {
    color: blue;
}
.movable {
    transform: translateX(0) rotate(0);
    transition: transform 7s; 
}
.moveproc {
    transform: translateX(300px) rotate(1800deg); /* Initial position */
}
#busywaitingDl {
    display: inline-block;
    font-size: xxx-large;
    color: rgba(0, 128, 0, 0.25);
}
#popup {
    border-radius: 20px;
    resize:both;
    background-color: aliceblue;
    padding: 10px;
    z-index: 100;
    margin: 2em;
    right: 0;
    position: absolute;
}
#popupDialog {
    white-space: nowrap;
    position: absolute;
    border: 1px solid black;
    border-radius: 12px;
    background-color: aliceblue;
    z-index: 10;
    padding: 8px;
    transition: opacity 3s;
}
.popupDialogNoMenu {
    white-space: normal !important;
    width: 400px;
    right: -4em;
}
.popupDialogMobile {
    left: 0px;
    max-width: fit-content;
}
#bodyId {
    position: relative;
}
#firewId {
    width: 400px;
    height: auto;
    border-radius: 40px;
}
.fshow {
    z-index: 1000;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.1);
    top: 400px;
    opacity: 1;
    transition: transform 0.5s, opacity 3s, top 0.5s cubic-bezier(0.1, 0.9, 0.7, 0.9);
}
.fshowvis {
    top: 15px;
    transform: translateX(-50%) scale(1);
    opacity: 0;
}
.quoted {
    text-align: center;
    margin-top: 3em;
    opacity: 0;
    transition: opacity 4s;
}
.quoted.quotevis {
    opacity: 1;
}
.quote {
    font-style: italic;
    margin-bottom: 0;
    display: inline-block;
}
.quoteblock {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}
.author {
    margin-left: 3em;
    font-size: x-small;
    font-weight: bold;
}
#locationId {
    position: absolute;
    top: -20px;
    right: 10px;
    color: maroon;
}
.latlon {
    font-weight: bold;
    margin-right: 1em;
}
.latlonC {
    color: darkred;
    white-space: pre;
    margin-bottom: 0.5em;
}
/*
.locationD {
    margin-top: 1em;
    text-align: center;
}
*/
#clicktap {
    font-size: small;
    text-align: center;
    font-style: italic;
    animation: pulse 3s infinite;
    display: inline-block;
}
@keyframes pulse {
  0% {
    color: black;
  }
  50% {
    color: red;
  }
  100% {
    color: black;
  }
}
/*
#loctainer {
    text-align: center;
}
@media (max-width: 768px) {
  #loctainer {
    margin-top: 0.5em;
  }
}
*/
.fadeout {
    opacity: 0;
}
#countdownId {
    transition: opacity 3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid red;
    aspect-ratio: 1/1;
    border-radius: 50%;
    width: fit-content;
    padding: 1em;
}
#errInput {
    color: red;
    position: absolute;
    top: 2em;
    transition: opacity 5s;
}
#mapId {
    cursor: pointer;
    max-width: 80%;
}
.datawell {
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 5px;
    border: 1px solid #ddd;
    background-color: #f7f7f7;
    border-radius: 12px;
    align-items: center;
}
#mobilehidden {
    margin-top: 6px;
    cursor: pointer;
}
#card-element,#expiry-element,#cvc-element {
    border: 1px solid black;
    border-radius: 6px;
}
#login2 {
    transition: opacity 3s;
}
#hikerInit {
    display: block;
    margin: auto;
    width: 100px;
    height: auto;
    border-radius: 50px;
    transition: opacity 3s;
}
/*
.xO {
    color: maroon;
    border-radius: 50%;
    font-size: 20px;
    line-height: 20px;
    height: 20px;
    width: 20px;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
*/
.manageBuddy {
    color: darkslategrey;
    width: 1em;
    height: 1em;
    font-size: x-large;
    font-weight: 900;
    margin-bottom: 10px;
}
.gcmenuOmobile {
    left: 0;
}
.gcmenuOdesk {
    width: 10px;
    margin-top: 7px;
}
.popupButton {
    margin: 1em;
}
#valIn {
    transition: opacity 3s;
}
#idManageBuddy {
    text-align: center;
    color: maroon;
    margin-top: 0px;
    margin-bottom: 8px; 
}
#msgRedFade {
    color: red;
    transition: opacity 3s;
    position: absolute;
    top: 30px;
    z-index: 1000;
    background-color: #D3D3D3;
    border-radius: 10px;
    text-align: center;
}
.center-text {
    text-align: center;
}

.center-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    max-width: 600px;
    width: 90%;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.paragraph {
    margin-top: 20px;
}

.label-block {
    display: block;
    margin-top: 5px;
}

.span-block {
    display: block;
    margin-top: 5px;
}
.dnone {
    display: none;
}
