/* Custom Styles for QR Wallet */
:root {
    --blue: #0d6efd;
    --lightblue: #2da1ee;
    --green: #198754;
    --lightgreen: #a4ee95;
    --yellow: #ffc107;
    --lightyellow: #faef88;
    --orange: #ff4d07;
    --lightorange: #fc8353;
    --red: #ff0000;
    --lightred: #ff4949;
    --gray: #7e7e7e ;
    --lightgray: #cccccc ;
    --darkgray: #4b4b4b ;
    --bgthemes: #15c7b8;
    --lightbgthemes: #65d4cb;
    --dark:  #202020; 
    --puredark:  #000;
    --white: #fff; 
    --darkwhite: #e9ecef; 
    --hover:#e4fffd;
}

/* BODY */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    animation: fadeIn 0.6s ease-in-out;
}

/* FADE IN */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ----------------------------- */
/*  COMING SOON */
/* ----------------------------- */

.coming-soon {
    text-align: center;
    color: #15c7b8;
    font-size: 2rem;
    font-weight: bold;
    padding: 40px 20px;
    margin: 50px auto;
    border: 2px dashed #15c7b8;
    border-radius: 12px;
    max-width: 300px;
}
.homepage{
   height: 100%;
}
/* NAVBAR */
.navbar-homepage {
    width: 100%;
    padding: 0 15%;
    position: fixed;
    top: 0;
    left: 0;
    margin:0 auto;
    z-index: 999;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: var(--bgthemes);
    
}
.navbar-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
   
    gap: 15px;
}
.navbar-header-right{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
.navbar-header-right a,
.navbar-header a,
.nav-register{
     color: #fff;
     font-size: 16px;
     font-weight: normal;
     list-style: none;
     text-decoration: none;
}

/* LOGIN SECTION */
.full-corner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 40px 20px;
    min-height: 80vh;
    margin: 0 auto;
    margin-top: 35px;
}

.left-corner{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 18%;
}

.right-corner {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 30px;
}
.shop-banner .logo {
    display: none;
    width: 100%;
    max-width: 800px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}
.shop-banner .banner{
    width: 100%;
    max-width: 800px;
}
.footer-landing-page{
    padding: 0 15%;
    margin: 0 auto;
    width: 100%;
    border: none;   
    background: var(--bgthemes);   
}
.footer-row{
    width: 100%;
    padding: 15px 20px;
    display: grid;
    margin: auto;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    height: auto;
}
.footer-column h3{
    font-size: 1rem;
    color:var(--white);
    text-transform: uppercase;
}

.footer-column p,
.footer-column a {
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 10px;
    font-size: .9rem;
    color: var(--white);
}
.footer-column .payment-card {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;

}
.footer-column .payment-card img {
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 90px;
    height: 40px;
    background: #fff;
}
.footer-column a:hover {
    color: var(--lightbgthemes);
}
.social-row{
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.social-row img{
    width: 20px;
    height: 20px;
    color: white;
}

/* Container */
.download-container {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    max-width: 400px;
    width: 90%;
}

/* App Logo */
.app-logo {
    width: 100px;
    margin-bottom: 20px;
}

/* Title */
h1 {
    margin-bottom: 10px;
}

/* Description */
p {
    font-size: 14px;
    opacity: 0.9;
}

/* Buttons */
.download-btn {
    display: block;
    margin: 15px auto;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
}

.android { background: #28a745; }
.ios { background: #000; }
.web { background: #ffc107; color: #000; }

.download-btn:hover {
    transform: scale(1.05);
}

/* QR */
.qr {
    margin-top: 20px;
}

.qr img {
    width: 120px;
}

.copyright {
    text-align: center;
    padding: 10px;
    border-top: 1px solid var(--darkwhite);
    font-size: 1rem;
    color: var(--white);
    background: var(--bgthemes);   
}

/* =========================
   LOADER WRAPPER (CENTER FIX)
========================= */
/* =========================
   FULLSCREEN OVERLAY
========================= */
.loader-container {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  justify-content: center;
  align-items: center;


  backdrop-filter: blur(.5px);
}
.loader-wrapper{
    width: 300px;
    flex-direction: row;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   CENTER BOX
========================= */
.loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;

  padding: 25px 30px;
  border-radius: 16px;

  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.loader-card{
  width: 350px;
  height: 200px;
  padding: 25px 30px;
  border-radius: 16px;

  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);   
  margin: auto;
}
/* =========================
   LOADER SPINNER
========================= */
.loader-circle {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 6px solid #514b82;
    margin-left: auto;
    margin-right: auto;
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}

/* =========================
   TEXT
========================= */
.loading-text {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-align: center;
  margin: auto;
  margin-top: 20px;
}

/* =========================
   DOTS ANIMATION
========================= */
.dots::after {
  content: "";
  display: inline-block;
  width: 1.5em;
  text-align: left;
  animation: dots 1.5s infinite steps(3);
}

@keyframes dots {
  0%   { content: ""; }
  33%  { content: "."; }
  66%  { content: ".."; }
  100% { content: "..."; }
}

/* =========================
   SPINNER ANIMATION
========================= */
@keyframes l20-1 {
   0%    {clip-path: polygon(50% 50%,0 0,50% 0,50% 0,50% 0,50% 0,50% 0)}
   12.5% {clip-path: polygon(50% 50%,0 0,50% 0,100% 0,100% 0,100% 0,100% 0)}
   25%   {clip-path: polygon(50% 50%,0 0,50% 0,100% 0,100% 100%,100% 100%,100% 100%)}
   50%   {clip-path: polygon(50% 50%,0 0,50% 0,100% 0,100% 100%,50% 100%,0 100%)}
   62.5% {clip-path: polygon(50% 50%,100% 0,100% 0,100% 0,100% 100%,50% 100%,0 100%)}
   75%   {clip-path: polygon(50% 50%,100% 100%,100% 100%,100% 100%,100% 100%,50% 100%,0 100%)}
   100%  {clip-path: polygon(50% 50%,50% 100%,50% 100%,50% 100%,50% 100%,50% 100%,0 100%)}
}

@keyframes l20-2 {
  0%    {transform: scaleY(1) rotate(0deg)}
  49.99%{transform: scaleY(1) rotate(135deg)}
  50%   {transform: scaleY(-1) rotate(0deg)}
  100%  {transform: scaleY(-1) rotate(-135deg)}
}


/*== Loader Bar ===*/
.loader-bar {
    width: 180px;
    height: 6px;
    background: #eee;
    border-radius: 10px;
    overflow: visible; /* important for tooltip */
    margin: 10px auto;
    position: relative;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,#e25e06, #e06c1e);
    border-radius: 10px;
    position: relative;
    transition: width 0.3s ease;
}

/* Tooltip */
.loader-tooltip {
    position: absolute;
    top: -28px;
    right: 0;
    transform: translateX(50%);
    background: var(--lightbgthemes);
    color:#e25e06;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Small arrow */
.loader-tooltip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 50%;
    transform: translateX(50%);
    border-width: 4px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* RESPONSIVE */
@media (max-width: 1366px) {
    .navbar-homepage {
        width: 100%;
        padding: 0 5%;

    }
    .full-corner {
        flex-direction: row;
        padding-top: 10px;
    }
    .left-corner{
        margin-left: 5%;
    }
    .right-corner{
       margin-left: 5%;
    }
    .shop-banner .logo {
  
        max-width: 100%;
        width: 100%;
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
    }
    .footer-landing-page {
        flex-direction: row;
        padding: 0 3%;
    }
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .navbar-homepage {
        width: 100%;
        padding: 0 5%;

    }
    .full-corner {
        flex-direction: row;
        padding-top: 80px;
    }
    .shop-banner .logo {
        margin-left: 5%;
        max-width: 100%;
        width: 100%;
        max-height: 500px;
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
    }
    
    .footer-landing-page {
        flex-direction: row;
        padding: 0 3%;
    }
}

@media (max-width: 768px) {
    .navbar-homepage {
        width: 100%;
        padding: 0 5px;
    }
    .shop-banner{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .full-corner {
        top:0;
        max-height: 100vh;
        flex-direction: column;
    }
    .shop-banner .logo {
       width: 300px;
       margin-left: -15px;
    }
    .shop-banner .banner{
        display: none;
    }
    .footer-landing-page {
        display: grid;
        flex-direction: column;
        align-items: center;
        padding: 0 5px;
    }

    .progbars {
        flex: 1;
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin: 0 auto;
        color: var(--orange);
        margin-top: 0%;
    }
    .loading-text{
        font-size: 22px;
        margin-bottom: 50px;
        color: var(--orange);
    }




}

@media (max-width: 576px) {
    .navbar-homepage {
        padding: 0px 10px;

    }
    .help-link{
        margin-right: 10px;
    }
    .navbar-tag{
        display: none;
    }
    .shop-banner .logo {
        display: none;
    }
    .shop-banner .banner{
        display: none;
    }
    .full-corner {
        top:0;
        max-height: 100vh;
        flex-direction: column;
    }
    .footer-landing-page {
        display: grid;
        padding: 10px;
    }
    .footer-row{
        display:grid;
        gap: 10px;
        grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 10vh,200px), 1fr));
    }
    .footer-column h3{
        font-size: 1rem;
        color:var(--white);
        text-transform: uppercase;
    }
}


@media (max-width: 495px) {

    .navbar-homepage {
        padding: 0px 10px;
        display: none;
    }
    .help-link{
        margin-right: 10px;
    }
    .footer-landing-page {
        display: grid;
        padding: 10px;
    }

    .shop-banner{
        display: flex;
        top: 0;
        margin-top: 50px;
        justify-content: center;
    }
    .shop-banner .logo {
        display: flex;
        max-width: 250px;
        width: 100%;
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));

    }
    .shop-banner .banner{
        display: none;
    }
    .full-corner {
        top:0;
        gap: 0px;
        margin: 0;
        padding: 20px;
        min-height: 100vh;
        flex-direction: column;
        background: var(--bgthemes);
    }
    .full-corner a{
        color: white;
    }
    .left-corner {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-left: 0;
    }
    .right-corner {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-left: 0;
    }
    .progbars{
        margin-top: 50px;
        min-height: 400px;
    }
    .loading-text{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
        font-size: 14px;

    }
    .progbars .loading-text{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
        font-size: 20px;
        color:#e25e06;
    }
    .footer-row,
    .copyright{
        display: none;
    }
}


@media (max-width: 360px) {
    .shop-banner{
        margin-top: 0px;
    }
    .progbars{
        min-height: 100px;
    }
    .full-corner {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: 100vh;
    }
}