
/* 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;
}


/* =====================================
   PAGE LAYOUT
===================================== */

.registry-page{
    min-height:100vh;
    background:#f4f7fc;
}

.registry-body{
    width:100%;
}

/* =====================================
   NAVBAR
===================================== */
.navbar-page{
    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: space-between;
    background: var(--bgthemes);
}
.navbar-registry-page{
    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: space-between;
    background: var(--bgthemes);
}

.navbar-header{
    display:flex;
    align-items:center;
    gap:15px;
}

.navbar-tag{
    border-left:1px solid #ddd;
    padding-left:15px;
}
.navbar-header-right a,
.navbar-header a,
.nav-register{
     color: #fff;
     font-size: 16px;
     font-weight: normal;
     list-style: none;
     text-decoration: none;
}
.tag-title{
    margin:0;
    font-size:16px;
    font-weight:600;
    color:#374151;
}

.policies{
    color:#2563eb;
    text-decoration:none;
    font-weight:500;
}

.policies:hover{
    text-decoration:underline;
}

/* =====================================
   MAIN CONTAINER
===================================== */
.reset-form{
    max-width:1200px;
    height: 100vh;
    margin:auto;
    display:flex;
    justify-content: center;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.08);      
}
.full-corner{
    padding:40px 20px;
    margin: auto;
}
.reset-container{
    padding:40px 20px;
    border: 1px solid #ddd;
    border-radius:24px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);  
}

.login-corner{
    padding:40px 20px;
    margin-top:80px;
}

.register-wrapper{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:420px 1fr;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
}

/* =====================================
   LEFT PANEL
===================================== */

.register-left{
    background:linear-gradient(
        135deg,
        #2563eb,
        #1e40af
    );

    color:#fff;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:60px;
}

.brand-section{
    text-align:center;
}

.company-logo{
    width:180px;
    max-width:100%;
    margin-bottom:30px;
}

.brand-section h1{
    font-size:42px;
    font-weight:700;
    margin-bottom:15px;
}

.brand-section p{
    font-size:16px;
    line-height:1.8;
    opacity:.9;
}

/* =====================================
   RIGHT PANEL
===================================== */

.register-right{
    padding:50px;
}

.form-header{
    color: #000;
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 0px;
}
.form-header h2{
    text-align:center;
    font-size:32px;
    font-weight:700;
    margin-bottom:10px;
    color:#1f2937;
}
.form-header p{
    color: #000;
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 0px;
}
.password-logo{
    padding: 5px;
    display: flex;
    justify-content: center;
}
.password-logo img{
    width: 100px;
}
/* =====================================
   WIZARD
===================================== */

.wizard-steps{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:35px;
}

.wizard-step{
    text-align:center;
}

.wizard-step span{
    width:45px;
    height:45px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#d1d5db;
    color:#fff;
    font-weight:600;
    margin:auto;
    transition:.3s;
}

.wizard-step.active span{
    background:#2563eb;
    transform:scale(1.05);
}

.wizard-step small{
    display:block;
    margin-top:8px;
    color:#6b7280;
}

.wizard-line{
    width:100px;
    height:3px;
    background:#e5e7eb;
    margin:0 15px;
}

/* =====================================
   FORM GRID
===================================== */

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.full-width{
    grid-column:1 / -1;
}

/* =====================================
   INPUTS
===================================== */

.input-group{
    display:flex;
    align-items:center;
}

.input-group-text{
    min-width:55px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#f8fafc;
    border:1px solid #dbe3ee;
    border-right:none;
    border-radius:14px 0 0 14px;
    height: 45px;
}

.form-control{
    height:45px;
    border:1px solid #dbe3ee;
    border-radius:0 14px 14px 0;
    font-size:15px;
}

.form-control:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.1);
}

.input-group-icon{
    min-width:55px;
    height: 45px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #dbe3ee;
    border-right:none;
    border-radius:14px 0 0 14px;
    background:#fff;
}

.input-group-icon .bi{
    font-size:18px;
    color: #000;
}

/* =====================================
   MESSAGES
===================================== */
.message-alert{
    padding: 15px;
    margin: auto;
}

#shopIdMessage,
#addressError{
    font-size:14px;
    margin-top:15px;
}

.alert{
    border-radius:12px;
}

/* =====================================
   TERMS BOX
===================================== */

.terms-box{
    margin-top:20px;
    padding:16px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:14px;
}

.terms-label{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin:0;
    color: #000;
}

.terms-label input{
    margin-top:4px;
}

.terms-label a{
    color:#2563eb;
    text-decoration:none;
}

.terms-label a:hover{
    text-decoration:underline;
}

/* =====================================
   BUTTONS
===================================== */

.btn{
    height:45px;
    border-radius:14px;
    font-weight:600;
    transition:.3s;
}

.btn-primary{
    background:#2563eb;
    border:none;
}

.btn-primary:hover{
    background:#1d4ed8;
}

.btn-secondary{
    background:#f3f4f6;
    border:1px solid #d1d5db;
    color:#374151;
}

.btn-secondary:hover{
    background:#e5e7eb;
}

.form-row{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.form-row button{
    flex:1;
}

/* =====================================
   LOGIN LINK
===================================== */

.mt-3 p{
    color:#6b7280;
}

.mt-3 a{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

.mt-3 a:hover{
    text-decoration:underline;
}

/* =====================================
   LOADER
===================================== */

.loader-card{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(255,255,255,.9);
    z-index:9999;
}

.loader-wrapper{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    text-align:center;
}

.loader-circle{
    width:60px;
    height:60px;
    border:5px solid #e5e7eb;
    border-top:5px solid #2563eb;
    border-radius:50%;
    animation:spin 1s linear infinite;
    margin:auto;
}

.loading-text{
    margin-top:15px;
    font-weight:600;
}

@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}

/* =====================================
   ADDRESS STEP ANIMATION
===================================== */

#formAddress{
    animation:fadeIn .3s ease;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}





/* FOOTER SECTION */
.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);   
}


/* =====================================
   MOBILE OTP ROW
===================================== */

.mobile-otp-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.mobile-otp-row input {
    flex: 1;
}

#sendOtpBtn {
    white-space: nowrap;
    padding: 0 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #25d366;
    color: #fff;
    font-weight: 600;
}

#sendOtpBtn:hover {
    background: #1ebe5d;
}

#sendOtpBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* =====================================
   OTP MODAL
===================================== */

.otp-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.otp-modal.active {
    display: flex;
}


/* =====================================
   MODAL BACKGROUND
===================================== */

.otp-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.65);

    backdrop-filter: blur(5px);
}


/* =====================================
   MODAL BOX
===================================== */

.otp-modal-box {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 420px;

    padding: 35px 30px;

    background: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    text-align: center;

    animation: otpModalIn 0.25s ease;
}


@keyframes otpModalIn {

    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =====================================
   CLOSE BUTTON
===================================== */

.otp-close {
    position: absolute;

    top: 12px;
    right: 15px;

    width: 35px;
    height: 35px;

    border: none;
    border-radius: 50%;

    background: #f1f1f1;

    color: #555;

    font-size: 25px;

    cursor: pointer;

    line-height: 30px;
}

.otp-close:hover {
    background: #e5e5e5;
}


/* =====================================
   OTP ICON
===================================== */

.otp-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #25d366;

    color: white;

    font-size: 30px;
    font-weight: bold;
}


/* =====================================
   TITLE
===================================== */

.otp-modal-box h2 {
    margin: 0 0 10px;

    font-size: 24px;

    color: #222;
}

.otp-description {
    margin: 0 auto 15px;

    max-width: 320px;

    color: #666;

    font-size: 14px;

    line-height: 1.5;
}


/* =====================================
   MOBILE DISPLAY
===================================== */

.otp-mobile-display {
    margin: 15px 0 20px;

    padding: 10px;

    border-radius: 8px;

    background: #f5f5f5;

    color: #222;
}


/* =====================================
   OTP INPUT
===================================== */

.otp-input-wrapper {
    text-align: left;

    margin-bottom: 12px;
}

.otp-input-wrapper label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;

    font-weight: 600;

    color: #333;
}

#otp {
    width: 100%;

    box-sizing: border-box;

    padding: 14px;

    border: 1px solid #ddd;

    border-radius: 8px;

    outline: none;

    font-size: 22px;

    text-align: center;

    letter-spacing: 8px;

    font-weight: 600;
}

#otp:focus {
    border-color: #25d366;

    box-shadow:
        0 0 0 3px rgba(37, 211, 102, 0.12);
}


/* =====================================
   VERIFY BUTTON
===================================== */

.otp-verify-btn {
    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 8px;

    background: #25d366;

    color: #fff;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;
}

.otp-verify-btn:hover {
    background: #1ebe5d;
}

.otp-verify-btn:disabled {
    opacity: 0.6;

    cursor: not-allowed;
}


/* =====================================
   MESSAGES
===================================== */

#otpMessage,
.verify-message {
    display: block;

    margin-top: 6px;

    font-size: 13px;
}


/* =====================================
   RESEND
===================================== */

.otp-resend {
    margin-top: 20px;

    font-size: 13px;

    color: #777;
}

#resendOtpBtn {
    margin-left: 5px;

    padding: 0;

    border: none;

    background: none;

    color: #25a95a;

    font-weight: 600;

    cursor: pointer;
}

#resendOtpBtn:disabled {
    color: #aaa;

    cursor: not-allowed;
}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 480px) {

    .mobile-otp-row {
        flex-direction: column;
    }

    #sendOtpBtn {
        min-height: 45px;
    }

    .otp-modal-box {
        padding: 30px 20px;
    }

}


/* =====================================
   RESPONSIVE
===================================== */

@media(max-width:991px){
    .navbar-registry-page {
        width: 100%;
        padding: 0 5%;

    }
    .register-wrapper{
        grid-template-columns:1fr;
    }

    .register-left{
        display:none;
    }

    .register-right{
        padding:25px;
    }

    .form-grid{
        grid-template-columns:1fr;
    }

    .form-row{
        flex-direction:column;
    }

    .btn,
    .btn-primary,
    .btn-secondary{
        width:100% !important;
    }

    .wizard-line{
        width:50px;
    }

    #formTitle{
        font-size:26px;
    }
    .footer-landing-page {
        flex-direction: row;
        padding: 0 3%;
    }
}

@media(max-width:576px){
    .login-corner{
        margin-top: 80px;
        padding:15px;
    }

    .register-right{
        padding:20px;
    }

    .input-group-text{
        min-width:50px;
    }

    .form-control{
        font-size:14px;
    }
}

@media(max-width:495px){
    .navbar-registry-page {
        width: 100%;
        padding: 0 5px;

    }
    .navbar-header{
        gap: 0;
        font-size: 12px;
    }
    .navbar-brand img{
        padding: 0;
    }
    .navbar-header .navbar-title{
        padding: 0;
        left: 0;
        margin-top: 5px;
        margin-left: -10px;
        margin-right: 10px;
        font-size: 12px;

    }
}

@media(max-width:360px){
    .form-header p{
        max-width:350px;
        margin:0 auto;
        text-align:center;
        line-height:1.6;
        overflow-wrap:break-word;
    }
    .terms-box span{
        max-width:350px;
        margin:0 auto;
        text-align:start;
        line-height:1.6;
        overflow-wrap:break-word;
    }
}