* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
}
h1{
    font-size: 28px;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background: linear-gradient(180deg, #7B68EE, #6A5ACD);
    /* padding: 20px; */
    color: white;
    position: fixed;
    height:200vh;
    transition: all 0.3s ease;
    z-index: 1000;
    padding-bottom: 80px;
    margin: 0 !important;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .nav-item span {
    display: none;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container img {
    max-width: 150px;
    margin-right: 0;
}

.sidebar.collapsed .logo-container {
    padding: 25px 0;
}

.sidebar.collapsed .logo-container img {
    max-width: 60px;
    margin: 0 auto;
}

.nav-items {
    margin-top: 30px;
    overflow-y: auto;
    max-height: calc(100vh - 150px);
}

.nav-item-sidebar {
    display: flex;
    align-items: center;
    padding: 10px 24px !important;
    padding-right: 0 !important;
    margin: 1px 0;
    /* border-radius: 8px; */
    cursor: pointer;
    transition: background 0.3s;
    color: white;
    text-decoration: none;
    /* flex-direction: column */
    height: 52px;
}
.nav-item-sidebars {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-top: 50px;
}
.nav-item-sidebar i {
    margin-right: 15px;
    font-size: 20px;
}

.nav-item-sidebar.active{
    background: rgb(255, 255, 255);
    color: #4C4DB5;
    text-decoration: none;
    padding: 7px 7px;
    border-right: 3px solid #B9DF10;
    transition: background 0.3s ease, color 0.3s ease, padding 0.3s ease, border-right 0.3s ease; 
}
.nav-item-sidebar:hover {
    background: rgb(255, 255, 255);
    color: #4C4DB5;
    text-decoration: none;
    padding: 7px 7px;
}

/* Style for the new hamburger menu item */
.nav-items .nav-item-sidebar:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

/* Main Content Styles */
.main-content {
    margin-left: 250px;
    padding: 18px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  
}

.main-content.expanded {
    margin-left: 70px;
}



.qr-option img {
    color: #7B68EE;
    margin-bottom: 8px;
    width: 50px; 
    height: 50px;
}

.qr-option h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.qr-option p {
    font-size: 12px;
    margin-bottom: 0;
}

/* QR Preview Section */
.qr-preview {
    /* background: #ffffff; */
    padding: 30px 20px;
    /* border-radius: 55px; */
    text-align: center;
    /* min-height: 700px; */
    min-height: 68vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* margin-left: 20px; */
    width: 100%;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
}
.qr_preview_container {
    width: 100%;
    max-width: 400px;
    /* padding: 20px; */
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 480px) {
    .phone-mockup {
        max-width: 100%;
    }
} 
.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
}

.phone-frame {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.screen-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3%;
}
.screen-container img#qr_preview_image_show {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.qr_preview_image{
    position: absolute;
   top: 8px;
    bottom: 20px;
     /* left: 30px;
     right: -30px; */
     /* width: 220%; */
   /* height: 100%; */
    height: 78%;
    width: 100%;
    /* height: 67vh;
    width: 31vh; */
    /* object-fit: cover; */
}
.qr_preview_image_temp{
    position: absolute;
   top: 7px;
    bottom: 20px;
     /* left: 30px;
     right: -30px; */
     /* width: 220%; */
   /* height: 100%; */
    height: 63vh;
    width: 32vh;

}

@media (min-resolution: 1.1dppx) and (max-resolution: 1.15dppx){
    .qr_preview_image{
        height: 56vh;
        
    }
}
@media (min-resolution: 120dpi) and (max-resolution: 125dpi){
    .qr_preview_image{
        height: 63vh;
        top: 6px;
        width: 34vh;
    }
    .qr_preview_image_temp{
        height: 67vh;
        width: 34vh;
    }
}
@media (min-resolution: 144dpi) and (max-resolution: 150dpi){
  
    .qr_preview_image{
        height: 68vh;
        top: 6px;
        width: 34vh;
    }
    .qr_preview_image_temp{
        height: 67vh;
        width: 34vh;
    }
}
.qr-preview h2 {
    font-size: 24px;
    color: #000;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.qr-preview p {
    color: #666;
    font-size: 14px;
    margin-bottom: 40px;
}

.qr-code {
    background: white;
    padding: 20px;
    border-radius: 16px;
    width: 90%;
    max-width: 280px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.qr-preview-default{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.qr-preview-default h2{
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}
#qr_preview_image_show{
    display: none;
}
.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
}

.hamburger-menu {
    background: #7B68EE;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #705BCB, #60FFD2);  
    color: white;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999!important;
    /* font-family: Roboto, sans-serif; */
}

.content-wrapper {
    /* flex: 1; */
    /* padding-bottom: 60px; */
}

/* Toggle Button Styles */
.toggle-btn {
    position: absolute;
    right: -12px;
    top: 20px;
    background: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: #7B68EE;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: block;
    }

    .toggle-btn {
        display: none;
    }
    
    .sidebar {
        transform: translateX(-100%);
        width: 250px;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .overlay.show {
        display: block;
    }

    .footer {
        position: fixed;
        bottom: 0;
    }
}

.profile-icon.d-flex {
    background: #f8f9fa;
    font-size: 20px;
}

.profile-icon i {
    color: #6c757d;
}

/* Add these styles for the profile section */
.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.profile-section {
    position: relative;
}



/* Optional: Add hover effect */
.profile-icon:hover {
    border-color: #6A5ACD;
}

/* Update/Add these styles */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0px;
    margin-bottom: 30px;
}

.header {
    flex: 1;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger-menu {
    background: transparent;
    border: none;
    color: #7B68EE;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    display: none;
}

.profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    /* border: 2px solid #7B68EE; */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    object-fit: cover;
}

.profile_image{
    border-radius: 50%;
}

.profile-icon i {
    font-size: 18px;
    color: #7B68EE;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .top-bar {
        padding: 10px 15px;
    }

    .right-section {
        gap: 15px;
    }
}

@media (min-width: 769px) {
    .footer {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-bottom: 80px;
    }
}

/* Update container width and grid layout */
.container-fluid {
    max-width: 1770px;
    padding: 0 30px !important;
}
@media (max-width:500px){
    .container-fluid {
        padding: 0 !important;
    }
    .main-content{
        padding: 6px !important;
    }

}
/* Update QR options grid */
.qr-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

/* Update QR option cards */
.qr-option {
    position: relative;
  
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    width: 100%;
    margin: 0;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.qr-option:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid #7B68EE;
    cursor: pointer;
    /* transform: scale(1.05); */
    transition: all 0.3s ease;
}
.qr-option:hover h3 {
    color: #7B68EE;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
  }


/* .qr-option i {
    font-size: 24px;
    color: #7B68EE;
    margin-bottom: 10px;
} */

.qr-option h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #333;
}

.qr-option p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .qr-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 15px;
    }
    
    .qr-options {
        gap: 12px;
    }

    .qr-option {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .qr-options {
        grid-template-columns: 1fr;
    }
}

/* Update the container width */
.col-lg-3 {
    padding: 0;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .qr-preview {
        margin-left: 0;
        margin-top: 20px;
        min-height: auto;
    }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .qr-preview {
        min-height: 550px;
    }
    
    .qr-code {
        width: 250px;
        height: 200px;
    }
}

@media (max-width: 992px) {
    .qr-preview {
        min-height: 500px;
        width: 70%;
    }
    
    .qr-code {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .qr-preview {
        margin-left: 0;
        margin-top: 20px;
        min-height: 450px;
    }
}

@media (max-width: 480px) {
    .qr-preview {
        min-height: 400px;
        padding: 20px 15px;
    }
    
    .qr-code {
        width: 200px;
        height: 200px;
    }
}

/* Column styles */
.col-lg-9 {
    width: 75%;
}

.col-lg-3 {
    width: 25%;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .col-lg-9 {
        width: 65%;
    }
    
    .col-lg-3 {
        width: 35%;
    }
    
    .qr-preview {
        min-height: 500px;
    }
    
    .qr-code {
        max-width: 180px;
    }
}

@media (max-width: 992px) {
    .col-lg-9, .col-lg-3 {
        width: 100%;
    }
    
    .qr-preview {
        min-height: 450px;
        margin-left: 0;
        margin-top: 20px;
    }
    
    .qr-code {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .qr-preview {
        padding: 25px 15px;
    }
    
    .qr-code {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .qr-preview {
        min-height: 400px;
        padding: 20px 15px;
    }
    
    .qr-code {
        max-width: 160px;
        width: 85%;
    }
}

/* Style for expanded logo */
.logo-expanded {
    max-width: 80px;
    display: block;
}

.logo-collapsed {
    max-width: 60px;
    display: none;
}

/* When sidebar is collapsed */
.sidebar.collapsed .logo-expanded {
    display: none;
}

.sidebar.collapsed .logo-collapsed {
    display: block;
    margin: 0 auto;
}

/* Add these styles for the icon switching */
.nav-item-sidebar .icon-default {
    display: block;
}

.nav-item-sidebar .icon-active {
    display: none;
}

.nav-item-sidebar.active .icon-default {
    display: none;
}

.nav-item-sidebar.active .icon-active {
    display: block;
}

/* Hover state handling */
.nav-item-sidebar:hover .icon-default {
    display: none;
}

.nav-item-sidebar:hover .icon-active {
    display: block;
}
/* Profile Icon Dropdown Styles */
.profile-icon {
    position: relative;
    cursor: pointer;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 180px;
    display: none;
    z-index: 1000;
    margin-top: 10px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #7B68EE;
}

.dropdown-item i {
    font-size: 16px;
    width: 20px;
}

/* Show dropdown when profile icon is clicked */
.profile-icon.active .profile-dropdown {
    display: block;
}
.right-section {
    display: flex;
    align-items: center;
    gap: 15px;
    
}

.welcome-message {
    color: #7B68EE;
    font-size: 15px;
    font-weight: 600;
    margin-right: 15px;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    animation: welcomeFadeIn 0.5s ease forwards;
}

@keyframes welcomeFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show welcome message on desktop with enhanced styling */
@media (min-width: 768px) {
    .welcome-message {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .welcome-message::before {
        content: ' ';
        font-size: 16px;
        margin-right: 4px;
    }
}

@media (min-width: 1600px) and (max-width: 2000px){
    .qr-preview{
       /* width: 80%; */
       /* margin: auto; */
    }
}
.dynamic_left_container{
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    flex: 1;
}
@media (min-resolution: 120dpi) and (max-resolution: 125dpi){
    .dynamic_left_container{
      zoom: 80%;
      max-height: calc(100vh - 50px);
    }
}

.dynamic_right_view_container{
    max-height: calc(100vh - 230px);
    overflow-y: auto;
}
@media (max-width: 1200px){
    .dynamic_left_container{
        width: 100%;
    }
    .mobile_preview_main_container{
        display: none;
    }
}
@media (min-width: 1200px) {
    /* body {
      overflow: hidden;
    } */
    
    .mobile_preview_main_container {
      width: 22% !important;
      min-width: 280px !important;
    }
  }
  
  @media (min-width: 1600px) {
    .mobile_preview_main_container {
      width: 18% !important;
    }
  }
  
  .dynamic_left_container {
    flex: 1;
    overflow-y: auto;
  }
  
  .mobile_preview_main_container {
    transition: width 0.3s ease;
  }
  @media (min-width: 1400px) { 
    .col-2xl-4 {
        flex: 0 0 33.33%;  
        max-width: 33.33%;
    }
}

/* coming soon  */
.coming-soon {
    position: absolute;
    top: -9px;
    right: 25px;
    background-color: #745FD3;
    color: white;
    font-size: 0.7rem;
    padding: 3px 12px;   
    border-radius: 12px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  .qr-option.disabled {
    pointer-events: none;         /* Prevent clicks */
    opacity: 0.6;                 /* Make it look faded */
    cursor: not-allowed;          /* Change cursor to indicate it's not clickable */
    filter: grayscale(20%);       /* Optional: slight desaturation */
  }
  @media (min-resolution:140dpi) and (max-resolution:151dpi) {
    body{
        zoom:70%
    }
    .main-content{
        min-height: 140vh;
    }
    .dynamic_left_container{
        max-height: calc(100vh - -80px);
    }
    .mobile_preview_main_container{
        max-height: 105vh !important;
    }
}
@media (min-resolution: 120dpi) and (max-resolution: 125dpi) {
    body {
      zoom: 80%;
    }
    .main-content{
        min-height: 120vh !important;
    }
    .dynamic_left_container{
        max-height: calc(100vh - 10px);
        zoom: 1;
    }
    .mobile_preview_main_container{
        max-height: 100vh !important;
    }
    
  }
  #loader {
            position: fixed;
            inset: 0;
            display: grid;
            place-items: center;
            background: #fff;
            z-index: 9999;
            transition: opacity 0.5s ease; /* 👈 smooth fade */
            }
        #lottie {
            width: 180px;
            height: 180px;
            }