/* =====================================
   RESET
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    min-height:100%;
    font-family:'Segoe UI',sans-serif;
    background:#f8fafc;
    overflow-x:hidden;
}

/* =====================================
   PAGE
===================================== */

.homepage{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

.homebody{
    flex:1;
    display:flex;
    flex-direction:column;
}

/* =====================================
   NAVBAR
===================================== */
.fixed-width{
    padding: 0 15%;
    margin:0 auto;
}
.navbar-homepage{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    height:75px;
    background:var(--bgthemes);
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid #e5e7eb;
}

.navbar-header{
    display:flex;
    align-items:center;
    gap:15px;
}

.navbar-brand{
    text-decoration:none;
    color:#0f172a;
    display:flex;
    align-items:center;
    gap:10px;
}

.navbar-brand img{
    max-height:55px;
    width:auto;
}

.navbar-title{
    text-decoration:none;
    color:#f1f1f1;
}

.navbar-title h5{
    margin:0;
    font-weight:700;
}

.no-title{
    display:none;
}

.navbar-tag{
    padding-left:15px;
    border-left:1px solid #e2e8f0;
}

.tag-title{
    margin:0;
    color:#0d0d0d;
    font-size:16px;
    font-weight:600;
}

.navbar-header-right a{
    text-decoration:none;
    color:#f1f1f1;
    font-weight:600;
}

/* =====================================
   CONTENT
===================================== */

.full-corner{
    flex:1;
    display:grid;
    grid-template-columns: 50% 50%;
    min-height:calc(100vh - 75px);
    padding: 0 15%;
    background:
    linear-gradient(
        135deg,
        #2563eb 0%,
        #1d4ed8 100%
    );
}

/* =====================================
   LEFT SIDE
===================================== */

.left-corner{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}

.left-corner::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    top:-200px;
    right:-150px;
}

.left-corner::after{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    background:rgba(255,255,255,.05);
    bottom:-100px;
    left:-120px;
}

.shop-banner{
    position:relative;
    z-index:2;
    text-align:center;
    padding:40px;
}

.logo{
    width:120px;
    margin-bottom:30px;
}

.banner{
    width:100%;
    max-width:600px;
    object-fit:contain;
}

/* =====================================
   RIGHT SIDE
===================================== */

.right-corner{
    background:transparent;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
    position:relative;
}

/* =====================================
   FORM
===================================== */

.form-layout{
    width:100%;
    max-width:360px;
}

.login-form{
    background:#fff;
    border-radius:24px;
    padding:40px;
    box-shadow:
        0 10px 25px rgba(0,0,0,.05),
        0 20px 50px rgba(0,0,0,.08);
}

/* =====================================
   HEADER
===================================== */

.form-header{
    text-align:center;
    margin-bottom:30px;
}

.welcome-badge{
    display:inline-block;
    background:#eff6ff;
    color:#2563eb;
    font-size:13px;
    font-weight:600;
    padding:8px 14px;
    border-radius:50px;
    margin-bottom:15px;
}

.form-header h2{
    font-size:30px;
    font-weight:700;
    color:#0f172a;
    margin-bottom:10px;
}

.form-header p{
    color:#64748b;
    line-height:1.6;
    max-width:320px;
    margin:auto;
}

/* =====================================
   FORM BODY
===================================== */

.form-row{
    margin-bottom:18px;
}

/* =====================================
   INPUT FIELD
===================================== */

.input-field,
.input-password{
    position:relative;
}

.input-icon,
.input-group-icon{
    position:absolute;
    top:50%;
    left:16px;
    transform:translateY(-50%);
    color:#94a3b8;
    z-index:2;
}

.form-control,
.form-password{
    width:100%;
    height:50px;
    border:1px solid #dbe2ea;
    border-radius:14px;
    background:#fff;
    padding-left:48px;
    padding-right:48px;
    font-size:15px;
    transition:.3s ease;
}

.form-control:focus,
.form-password:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:
        0 0 0 4px rgba(37,99,235,.12);
}

.btn-eyes{
    position:absolute;
    top:50%;
    right:12px;
    transform:translateY(-50%);
    border:none;
    background:none;
    color:#64748b;
}

/* =====================================
   LOGIN BUTTON
===================================== */

.btn-login{
    width:100%;
    height:50px;
    border:none;
    border-radius:14px;
    background:#2563eb;
    color:#fff;
    font-weight:600;
    font-size:15px;
    transition:.3s;
}

.btn-login:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}

/* =====================================
   ERROR
===================================== */

.msg-error{
    text-align:center;
    min-height:20px;
}

.msg-error small{
    color:#dc2626;
}

/* =====================================
   FORGOT PASSWORD
===================================== */

.btn-forgot-password{
    text-align:right;
}

.btn-forgot-password a{
    text-decoration:none;
    color:#2563eb;
    font-size:14px;
    font-weight:600;
}

/* =====================================
   FOOTER LINKS
===================================== */

.wrap-register{
    text-align:center;
    display: flex;
    gap: 5px;
}

.wrap-register p{
    color:#64748b;
}

.wrap-register a{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

.terms-notes{
    margin-top:15px;
    text-align:center;
    font-size:13px;
    line-height:1.6;
    color:#64748b;
}

.terms-notes a{
    text-decoration:none;
    color:#2563eb;
}

/* =====================================
   LOADER
===================================== */

.loader-container{
    position:relative;
    inset:0;

    justify-content:center;
    z-index:999;
    align-items:center;
}

.loader-progress-container{
    position:relative;
    flex-direction: column;
    justify-content:center;
    align-items:center;
    gap:0;
    margin: 0;
}
.loader-wrapper{
    position:relative;
    inset:0;
    /* background:rgba(255,255,255,.8);
    backdrop-filter:blur(4px); */
    flex-direction: column;
    align-items:center;
    justify-content:center;
    z-index:999;
}
.loader-box{
    background: transparent;
    border-radius:20px;
    padding:25px;
    width:min(320px,90vw);
    
    /* box-shadow:0 10px 30px rgba(0,0,0,.08); */
}
/* =========================
   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: 600;
  color: #ffffff;
  text-align: center;
  margin-top: 10px;
  height: 50px;

}
.loaderlogo{
    width: 250px;
}
/* =========================
   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: 150px;
    height: 3px;
    background: #eee;
    border-radius: 10px;
    overflow: visible; 
    margin:0 auto;
    position: relative;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,#00ccff, #00f7ff);
    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:#331501;
    font-size:8px;
    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;
}

/* FOOTER SECTION */
.footer-landing-page{
    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);   
}
/* =====================================
   TABLET
===================================== */

@media(max-width:992px){
    .fixed-width{
      padding:0 5%;  
    }
    .full-corner{
        padding: 10% 5%;
        grid-template-columns: 1fr 400px;
    }
    .banner{
        width:100%;
        max-width:600px;
        object-fit:contain;
    }
    .shop-banner{
        padding:0px;
    }
    .login-form{
        height: 600px;
    }
    .input-field{
        height: 40px;
    }
    .terms-notes{
        margin-top:5px;
    }
}
@media(max-width:768px){
    .fixed-width{
      padding:0 2%;  
    }    

    .full-corner{
        padding: 10% 5%;
        grid-template-columns: 1fr;
    }
    .left-corner{
        display: none;
    }

}
/* =====================================
   MOBILE
===================================== */

@media(max-width:576px){
    .navbar-homepage{
        padding:0 15px;
        height:65px;
        display: none;
    }
    .navbar-brand img{
        max-height:55px;
    }

    .right-corner{
        padding:15px;
        align-items: center;
        justify-content: center;

    }

    .login-form{
        padding:25px;
        border-radius:20px;
    }

    .form-header h2{
        font-size:26px;
    }

    .form-header p{
        font-size:14px;
        color: #f1f1f1;
    }

    .form-control,
    .form-password{
        height:45px;
        font-size:16px;
    }

    .btn-login{
        height:52px;
    }

    .terms-notes{
        font-size:12px;
    }
    .footer-row{
        display: none;
    }
    .copyright {
        margin: 0;
        border-top: none;
    }
    /* .progbars{
        top:60%;
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .progbars .loading-text{
        position: absolute;
        margin-top: auto;
    }
    #loaderLogo{
        position: absolute;
    } */
    .login-form{
        background: transparent;
        box-shadow: none;
        color: #f1f1f1;
    }
    .btn-forgot-password a{
        text-decoration:none;
        color:#f1f1f1;
        font-size:14px;
        font-weight:600;
    }
    .wrap-register{
        text-align:center;
         font-size:13px;
    }

    .wrap-register p{
        color:#000000;
    }

    .wrap-register a{
        color:#f1f1f1;

    }

    .terms-notes{
        margin-top:15px;
        font-size:15px;
        line-height:1.6;
        color:#000000;
        overflow-wrap:break-word;
    }

    .terms-notes a{
        color:#f1f1f1;
           font-size:13px;
    }

    .form-layout{
        margin-top: 70px;
    }
}

@media(max-width:495px){
    /* .login-form{
        margin-top: 50px;
        padding:5px;
        border-radius:20px;
    } */
}

