.offcanvas-lg {
        overflow: auto;
      }
 
body {
     font-family: 'Segoe UI', sans-serif;
     background-color: #E9ECEF;
     margin: 0;
     padding: 0;
 }
/* Prevent unwanted horizontal scroll */
html, body {
  overflow-x: hidden;
}
 .sidebar {
     width: 280px;
     background-color: #FFFFFF;
     color: #1b1b1b;
     height: 100vh;
     /* overflow-y: hidden; */
     border: none;
 }

 .sidebar-header {
     text-align: center;
     padding: 0.2rem 0.1rem;
     border-bottom: 1px solid #ccc;
     display: block;
     border: none;
 }


 .sidebar-header img {
     width: 150px;
     height: auto;
 }


 
 /* collapsed sidebar */
 /* collapsed sidebar */
 .sidebar.collapsed {
     width: 80px;
     transition: all 0.3s ease;
 }

 /* hide text and chevrons in collapsed state */
 .sidebar.collapsed .nav-link,
 .sidebar.collapsed .dropdown-btn {
     font-size: 0;
     text-align: center;
 }

 .sidebar.collapsed .nav-link i,
 .sidebar.collapsed .dropdown-btn i {
     font-size: 20px;
     margin-right: 0;
 }

 .sidebar.collapsed .dropdown-btn .bi-chevron-down {
     display: none !important;
 }

 /* flyout submenus when collapsed */
 .sidebar.collapsed .dropdown-container {
     position: absolute;
     left: 80px;
     top: 0;
     background: #fff;
     min-width: 180px;
     /* border: 1px solid #ddd; */
     display: none;
     z-index: 1050;
 }

 .sidebar.collapsed .dropdown-container.show {
     display: block;
 }

 .toggle-icon {
     margin-left: 300px;
 }


 /* Header grey background */
.store-header {
  background-color: #F5F5F5;
  border-bottom: 1px solid #ddd;
     box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

/* Store table styling */
.store-table th {
  background: #f1f1f1;
  font-weight: 600;
  text-align: center;
}

.store-table td {
  vertical-align: middle;
}

/* Action buttons */
.action-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  margin: 0 3px;
  font-size: 16px;
}

.action-btn.edit {
  color: #3A57E8;
}

.action-btn.delete {
  color: #E53E3E;
}

/* Bootstrap switch size fix */
.store-table .form-check-input {
  cursor: pointer;
  width: 2.5em;
  height: 1.3em;
}



 @media (min-width: 992px) {
     /* .sidebar-header {
        display: none;
        
      } */
 }

 .navbar {
     height: 75px;
 }

 .nav-link {
     color: #8A92A6;
     font-weight: 400;
     /* font-size: 20px; */
     padding: 10px 18px;
     width: 100%;
     text-align: start;
     display: block;
     box-sizing: border-box;


 }


 .nav-link.active {
     background-color: #3A57E8;
     color: white !important;
     font-weight: 600;
     width: 92%;
     /* border-top-right-radius: 10px;
       border-bottom-right-radius: 10px; */
     border-radius: 10px;
     margin-left: 12px;
     /* Add bottom box shadow */
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
     margin-top: 10px;
 }

 .dropdown-container .active {
     color: #3A57E8 !important;
     font-weight: 700;
     width: 92%;

     border-top-right-radius: 10px;
     border-bottom-right-radius: 10px;
     /* margin-top: 10px; */
     background-color: #fff;

 }

 /* .nav-link:hover {
      background-color: #c0d3e4;
    } */

 .dropdown-btn {
     /* font-size: 18px; */
     border: none;
     background: none;
     width: 100%;
     text-align: left;
     font-weight: 400;
     font-size: 18px;
     padding: 15px 22px;
     display: block;
     box-sizing: border-box;
 }

 .dropdown-container {
     display: none;
     background: #f3f3f3;
     width: 89%;
     border-radius: 6px;
     margin-left: 10px;
     margin-top: 10px;
 }

 .dropdown-container.show {
     display: block;
 }

 .dropdown-container a {
     font-size: 16px;
     padding: 6px 20px;
     display: block;
 }



 .bi-chevron-down.rotate {
     transform: rotate(180deg);
     transition: 0.3s ease;
 }

 @media (min-width: 992px) {
     .offcanvas-start {
         transform: none !important;
         visibility: visible !important;
         position: fixed !important;
         top: 0;
         left: 0;
         height: 100%;
         z-index: 1030;
         background-color: #FFFFFF !important;
     }

     .offcanvas-backdrop {
         display: none !important;
     }

     .dashImage img {
         /* max-width: 600px;  */
         width: 100%;
     }

      .content {
        margin-left: 280px;
        overflow-y: hidden;
        transition: margin-left 0.3s ease; /* smooth shift */
    }

     /* .offcanvas-lg {
        border-right: 1px solid #ccc;
      } */
     .boxOne {
         /* padding-left: 15px;
  padding-right: 15px;
  padding-top: 20px;   
  padding-bottom: 20px;
  background-color: #e3f2fd;
  border-radius: 8px; */
         margin-top: 10px;

     }




 }

 .offcanvas-body {
     width: 100%;
 }



 .headingOne {
     text-align: center;
     background-color: #7AB5E0;
     color: #fff;
     padding: 6px 0px 6px;
     font-weight: bold
 }

 .headingSec {
     text-align: center;
     background-color: #F4C300;
     color: #fff;
     padding: 6px 0px 6px;
     font-weight: bold
 }

 .headingThird {
     text-align: center;
     background-color: #8ACC55;
     color: #fff;
     padding: 6px 0px 6px;
     font-weight: bold
 }

 .headingFourth {
     text-align: center;
     background-color: #3A57E8;
     color: #fff;
     padding: 6px 0px 6px;
     font-weight: bold
 }

 .headingFifth {
     text-align: center;
     background-color: #3A57E8;
     color: #fff;
     padding: 6px 0px 6px;
     font-weight: bold
 }

 .boxOne {

     border-radius: 8px;
     border: #ececec 1px solid;
     margin-top: 10px;
 }

 .imagePart {
     display: flex;
     /* justify-content: center;   */
     align-items: center;
     /* vertical center */
     height: 100%;
     /* take full height of parent */
     text-align: center;
 }

 .signinImage {
     max-width: 100%;
     /* image will never exceed column width */
     height: auto;
     /* keeps aspect ratio */
 }

 .imagePart {
     height: 100vh;
     /* full screen height */
 }

 .FormSide {
     background-color: #fff;
     align-items: center;
     /* vertical center */
     height: 100%;
     /* take full height of parent */

 }


 .FormRow {
     display: flex;
     align-items: center;
     /* vertical center */
     min-height: 100vh;
     /* full screen height */
 }

 .form-label {
     color: #8A92A6;
 }

 .myBTN {
     background-color: #3A57E8;
 }

 /* .form-control {
     border: 1px solid #3A57E8;
 } */

 .form-control::placeholder {
     color: #8A92A6;
     opacity: 1;
     font-weight: 400;
     font-size: 14px;
 }



/* Prevent accidental horizontal scroll (safety) */
html, body { overflow-x: hidden; }

/* Overlap ~30% of the boxes onto the image, scales with screen */
.stats-row {
  margin-top: clamp(-40px, -8vw, -100px); /* negative TOP margin only */
}

/* Card styling */
.stat-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  transition: transform 0.3s ease;
}
.stat-box:hover { transform: translateY(-4px); }

/* Icon circle on the left */
.icon-circle {
  width: 75px; height: 75px; border-radius: 50%;
  border: 1px solid #A1C1FD;
  background: #eef1ff;
  display: flex; align-items: center; justify-content: center;
  color: #4b4ded; font-size: 22px;
}
.icon-circle img{
    width: 50px;
    height: auto;
} 


/* Text on the right */
.stat-number { margin: 0; font-weight: 600; font-size: 20px; color: #4b4ded; }
.stat-label  { margin: 0; font-size: 14px; color: #6b7280; }

.stat-box {
  display: flex;
  justify-content: space-between; 
  align-items: center;
}

.stat-text {
  text-align: right; 
}
.stat-number {
  margin: 0;
  font-weight: 500;
  font-size: 32px;
  color: #4b4ded;
}
.stat-label {
  margin: 0;
  font-size: 20px;
  color: #8A92A6;
  margin-top: 10px;
}







    .card {
      border: none;
      border-radius: 12px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }
    .promoter-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px;
      border-bottom: 1px solid #eee;
    }
    .promoter-item:last-child {
      border-bottom: none;
    }
    .promoter-info {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .promoter-info img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px solid #ddd;
      padding: 4px;
    }
    .promoter-name {
      margin: 0;
      font-weight: 500;
    }
    .promoter-status {
      color: #019907;
      font-weight: 500;
      font-size: 14px;
    }
    .text-success{
      color: #019907;
    }


/* ============================== */
    .card {
      border: none;
      border-radius: 12px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
      background: #fff;
    }
    .card-placeholder {
      height: 250px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #999;
      font-size: 18px;
      font-weight: 500;
    }
    .card-small {
      height: 220px;
    }
    /* Make right side full height */
    .h-100 {
      height: 100%;
    }








.chart-box {
  position: relative;
  width: 100%;
  height: 300px;
  border: 1px solid #ccc;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* keep content at bottom */
  background: #f9f9f9;
  overflow: hidden;
}

/* Chart area */
.chart-area {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end; /* stick chart line at bottom */
  padding: 0 20px;
}

.chart-line {
  width: 100%;
  height: 2px;
  background: #007bff;
}

/* X labels */
.x-labels {
  display: flex;
  justify-content: space-between;
  padding: 5px 20px;
  font-size: 14px;
  background: #fff;
  border-top: 1px solid #ddd;
  bottom: 30px;
}

.chart-card {
  border: none;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  height: 600px; /* fixed height */
  display: flex;
  flex-direction: column;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.chart-header h6 {
  font-weight: 600;
  font-size: 16px;
}

.chart-body,
.chart-area,
.chart-svg {
  flex: 1;          /* fill parent */
  height: 100%;     /* stretch fully */
  width: 100%;
}

.y-labels {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
  height: 100%; /* match chart height */
}

/* .x-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 12px;
  color: #6b7280;
} */

/* Promoter card also fixed height */
.promoter-card {
  height: 600px;
  display: flex;
  flex-direction: column;
}

.promoter-list {
  flex: 1; 
  overflow-y: auto; /* scroll if too many promoters */
}

.rounded-circle img {
  width: 60px;
  height: 60px;
}

.activated {
  color: #3a5ae8;
}


.rounded-circle img {
  width: 60px;
  height: 60px;
}

.activated {
  color: #3a5ae8;
}

 /* ======================================================= */

 .chart-card {
      border-radius: 12px;
      /* box-shadow: 0 4px 12px rgba(0,0,0,0.05); */
      padding: 20px;
      background: #fff;
    }
    .chart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
    }
    .chart-header h6 {
      font-weight: 600;
    }

    /* Chart area */
    .chart-area {
      position: relative;
      height: 160px; /* reduced height */
      display: flex;
      align-items: flex-end;
    }
.chart-line {
  width: 100%;
  height: 100%;  /* area ke full height */
  background: linear-gradient(to bottom, rgba(58, 119, 232, 0.25) 30%, rgba(255,255,255,0) 100%);
  border-top: 2px solid #3a5ae8;

  /* Curve mask */
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" preserveAspectRatio="none"><path d="M0 60 C 100 110, 200 20, 300 90 S 500 60, 600 100 S 700 50, 800 80 V200 H0 Z" fill=\'black\'/></svg>');
  mask-repeat: no-repeat;
  mask-size: 100% 100%;

  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" preserveAspectRatio="none"><path d="M0 60 C 100 110, 200 20, 300 90 S 500 60, 600 100 S 700 50, 800 80 V200 H0 Z" fill=\'black\'/></svg>');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;

}

    /* Axis labels */
    .y-labels {
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      font-size: 12px;
      color: #666;
    }
.x-labels {
  position: absolute;
  bottom: 5px;   /* box ke bilkul neeche */
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  padding: 0 15px;
}
.mainPagesInput{
  border:1px solid #B5BAC6;
}


       .store-table-wrapper .store-card {
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      background: #fff;
      margin-top: 80px;
    }

    .store-table-wrapper .btn-gradient {
      background: linear-gradient(140deg, #3A57E8, #37D9FE);
      color: #fff;
      border: none;
    }
    .store-table-wrapper .btn-gradient:hover {
      opacity: 0.9;
    }

    .store-table-wrapper .store-table thead th {
      font-weight: 600;
      background-color: #f9f9f9;
      font-size: 14px;
      color: #8A92A6;
    }
    .store-table-wrapper .store-table td,
    .store-table-wrapper .store-table th {
      vertical-align: middle;
      font-size: 14px;
      text-align: center;
      color: #8A92A6;
    }

    .store-table-wrapper .action-btn {
      border: none;
      background: none;
      padding: 4px;
      font-size: 18px;
    }
    .store-table-wrapper .action-btn.edit {
      color: green;
            background-color: #e1ffea;
      padding: 10px;
      width: 40px;
      height: 40px;
      border-radius: 50px;
    }
    .store-table-wrapper .action-btn.delete {
      color: red;
        background-color: #ffe3e3;
      padding: 10px;
      width: 40px;
      height: 40px;
      border-radius: 50px;
    
    }

     .store-table-wrapper .pagination .page-link {
    color: #3A57E8;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    margin: 0 2px;
  }

  .store-table-wrapper .pagination .page-link:hover {
    background-color: rgba(58, 87, 232, 0.1);
  }

  .store-table-wrapper .pagination .page-item.active .page-link {
    background: linear-gradient(90deg, #3A57E8, #6C63FF);
    border-color: #3A57E8;
    color: #fff;
    font-weight: 600;
  }

  .store-table-wrapper .pagination .page-item.disabled .page-link {
    color: #aaa;
    pointer-events: none;
    background-color: #f9f9f9;
  }
  .YourStoreContainer{
    margin-top: 80px;
  }



  .store-actions .btn-action {
  min-width: 130px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  background-color: #EAEEFF;
}

.store-actions .btn-action:hover {
  color: #333;
  background: #f0f4ff;
  border-color: #3a5ae8;
}
.store-info a,
.store-info a:hover {
  text-decoration: none;
}

 .toggle-btn {
      font-size: 18px;
      padding: 10px 20px;
      border-radius: 8px;
      transition: all 0.3s ease;
    }
    .toggle-btn i {
      margin-right: 8px;
    }
    .toggle-on {
      background-color: #28a745;
      color: #fff;
    }
    .toggle-off {
      background-color: #dc3545;
      color: #fff;
    }
    .toggle-btn:hover {
      opacity: 0.9; /* hover par sirf halka effect ho */
      color: #fff !important; /* text color white hi rahe */
    }


    .LeadCountContainer{
      margin-top: 80px;
    }


  .mainPagesInput {
    border: 1px solid #ccc;
    background-color: #fff;
  }
  .dropdown-menu {
    max-height: 350px;
    overflow-y: auto; /* scroll if content grows */
  }

  .LeadBrandImage{
    width: 120px;
    height: 120px;
  }
    .btn-delete {
    background-color:#ffeaea;
    border:none;
    border-radius:50%;
    width:40px;
    height:40px;
    display:flex;
    justify-content:center;
    align-items:center;
  }
  .btn-delete i {
    color:red;
    font-size:18px;
  }
 .deletemodal {
  background: linear-gradient(to bottom, #ffffff, #d8e8fa);
}

/* Container Background */
.wallet-balance {
  background-color: #e9f2ff;
  border-radius: 12px;
}

/* Wallet Icon Circle */
.wallet-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.wallet-icon i {
  font-size: 32px;
  color: #4a3aff;
}

/* Balance Text */
.balance-label {
  font-size: 20px;
  color: #8A92A6;
}
.balance-amount {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(90deg, #4a3aff, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Add Balance Button */
.add-balance-btn {
  background: linear-gradient(90deg, #4a3aff, #00c6ff);
  color: #fff;
  font-weight: 600;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  font-size: 22px;
}
.add-balance-btn:hover {
  opacity: 0.9;
}
.ImageBox{
  border: 1px solid #ccc;
  padding: 10px;
  width: 180px;
  height: auto;
}
.ImageBox img{

  width: 150px;
  height: auto;
}


/* =================================== */
   .chat-container {
      display: flex;
      height: 90vh;
      border: 1px solid #ddd;
      border-radius: 6px;
      overflow: hidden;
      background: #fff;
    }
    /* Sidebar */
    .chat-sidebar {
      background: #fff;
      border-right: 1px solid #ddd;
      flex: 1;
      min-width: 250px;
      max-width: 300px;
      overflow-y: auto;
    }
    .chat-main {
      flex: 2;
      display: flex;
      flex-direction: column;
    }
    .chat-details {
      background: #fff;
      border-left: 1px solid #ddd;
      flex: 1;
      min-width: 250px;
      max-width: 300px;
      overflow-y: auto;
    }
    /* Messages */
    .chat-messages {
      flex: 1;
      padding: 15px;
      overflow-y: auto;
      background: #f5f7fb;
    }
    .chat-message {
      margin-bottom: 15px;
      display: flex; 
      flex-direction: column; 
    }
    .chat-message.sent {
      align-items: flex-end;
    }
    .message-bubble {
      padding: 10px 15px;
      border-radius: 12px;
      background: #e9ecef;
      max-width: 70%;
    }
    .chat-message.sent .message-bubble {
      background: #17a2b8;
      color: white;
    }
    .chat-footer {
      display: flex;
      align-items: center;
      padding: 10px;
      border-top: 1px solid #ddd;
      background: #fff;
    }
    .chat-footer input {
      flex: 1;
      border: none;
      outline: none;
      padding: 10px;
    }
    .chat-footer button {
      border: none;
      background: #17a2b8;
      color: white;
      padding: 10px 15px;
      border-radius: 50%;
      margin-left: 10px;
    }



    /* ===== Tabs ===== */
    .tab-bar {
      display: flex;
      gap: 12px;
      margin-bottom: 20px;
    }
    .tab-btn {
      border: none;
      background: transparent;
      padding: 8px 20px;
      font-weight: 500;
      color: #6c757d;
      border-radius: 6px;
      cursor: pointer;
      transition: 0.2s;
    }
    .tab-btn.active {
      background: #f0f4ff;
      color: #0d6efd;
      font-weight: 600;
    }

    /* ===== Categories ===== */
    .category-box {
      border: 1px solid #e5e5e5;
      border-radius: 10px;
      padding: 15px;
      background: #fff;
      margin-bottom: 20px;
    }
    .category-title {
      text-align: center;
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 15px;
      color: #333;
    }

    /* ===== Template Card ===== */
    .template-box {
      border: 1px solid #e5e5e5;
      border-radius: 10px;
      padding: 15px;
      background: #F3F8FF;
      margin-bottom: 15px;
    }
    .template-title {
      color: #3A57E8;
      font-weight: 600;
      font-size: 18px;
      margin-bottom: 5px;
    }
    .template-body {
      font-size: 16px;
      color: #797979;

    }
    .template-footer {
      background: #FFFFFF;
      border-radius: 6px;
      padding: 5px 10px;
      font-size: 12px;
      color: #8A92A6;
      margin-top: 10px;
    }

    /* Hide tabs by default */
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }

/* ================================================================== */
 .phone-preview {
  width: 100%;
  max-width: 400px;   /* max phone width */
  min-height: 500px;
  border: 2px solid #333;
  border-radius: 20px;
  margin: 20px auto;   /* center */
  overflow: hidden;
  background: #fff;
}
  .phone-header img {
      width: 100%;
      display: none;
      margin-bottom: 5px;
    }
    .phone-header-text {
      font-weight: bold;
      margin-bottom: 5px;
      font-size: 16px;
    }

    .phone-body {
      /* margin-bottom: 5px; */
      padding-left: 20px;
    }

    .phone-footer {
      font-size: 12px;
      color: #555;
      /* margin-bottom: 5px; */
    }

    .cta-button {
      display: block;
      text-align: left;
      margin: 2px 0;
      color: #075e54;
      background: none;
      border: none;
      padding: 0;
      font-weight: 500;
    }

    .toggle-btn.active {
      background-color: #354abf !important;
      color: #fff !important;
    }

    .toggle-btn1.active {
      background-color: #354abf !important;
      color: #fff !important;
    }

    .add-btn {
      background: #354abf;
      color: white;
      border: none;
      padding: 8px 12px;
      border-radius: 4px;
      cursor: pointer;
    }

    .call-to-action {
      margin-top: 15px;
      border: 1px solid #ccc;
      border-radius: 6px;
      padding: 10px;
    }



    /* =========================================== */


    .phone-frame {
      width: 360px;
      height: 700px;
      border: 16px solid #333;
      border-radius: 36px;
      position: relative;
      padding: 12px;
      margin: auto;
      background: #000;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    }

 .phone-preview {
  width: 100%;
  max-width: 400px;   /* max phone width */
  min-height: 500px;
  border: 2px solid #333;
  border-radius: 20px;
  margin: 20px auto;   /* center */
  overflow: hidden;
  background: #fff;
}

    .phone-header {
      background: #fff;
      /* color: #fff; */
      padding: 8px;
      padding-left: 20px;
      padding-bottom: 0px;
      display: flex;
      align-items: center;
      /* gap: 10px; */
      font-weight: bold;
    }

    .TopBar {
      background: #075e54;
      color: #fff;
      /* padding: 1px; */
      display: flex;
      align-items: center;
      padding-left: 10px;
      /* gap: 10px; */
      /* font-weight: bold; */
    }

    .phone-inner {
      /* padding: 12px; */
      overflow-y: auto;
    }

    .phone-body {
      background-color: #fff;
      font-size: 14px;
      width: 100%;
      word-wrap: break-word;
      overflow-wrap: break-word;
      white-space: normal;
    }

    .phone-footer {
      background-color: #fff;
      /* font-size: 13px; */
      color: #8f8e8e;
      /* border-radius: 10px; */
      padding-bottom: 10px;
      width: 100%;
      word-wrap: break-word;
      overflow-wrap: break-word;
      white-space: normal;
      padding-top: 6px;
      padding-left: 20px;
      /* margin-top: 10px; */
      font-size: 12px;
    }



    .add-btn {
      background-color: #354abf;
      color: white;
      padding: 8px 16px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      margin-bottom: 10px;
    }

    .cta-dropdown {
      margin-top: 10px;
      display: none;
      flex-direction: column;
      gap: 10px;
      width: 100%;
    }

    .cta-option {
      display: block;
      width: 175px;
      padding: 10px;
      font-size: 14px;
      background-color: #f0f0f0;
      border: 1px solid #ccc;
      border-radius: 6px;
      text-align: left;
      cursor: pointer;
      margin-bottom: 10px;
      position: relative;
      font-weight: bold;
    }

    .cta-option i {
      margin-right: 8px;
      font-weight: bold;
    }


    .cta-optionSec {
      display: block;
      width: 175px;
      padding: 10px;
      font-size: 14px;
      background-color: #f0f0f0;
      border: 1px solid #ccc;
      border-radius: 6px;
      text-align: left;
      cursor: pointer;
      margin-bottom: 10px;
      position: relative;
      font-weight: bold;
    }

    .cta-optionSec i {
      margin-right: 8px;
      font-weight: bold;
    }

    .cta-note {
      font-size: 10px;
      color: #666;
      /* margin-left: 22px; */
      /* align under text */
      
    }

    .btn-outline-primary {
      padding: 14px;
      border-radius: 12px;
    }

    .cta-row {
      border: 1px solid #ddd;
      padding: 8px;
      border-radius: 6px;
      /* background: #f9f9f9; */
      margin-top: 15px;
    }

    .cta-row-sec {
      border: 1px solid #ddd;
      padding: 8px;
      border-radius: 6px;
      background: #f9f9f9;
      margin-top: 15px;
    }

    #previewButtons button {
      display: block;
      width: 100%;
      margin: 5px 0;
      text-align: left;
    }

    .TopBar {
      background-color: #065e54;
      color: #fff;
      padding: 6px 12px;
      font-size: 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: Arial, sans-serif;
    }

    .topbar-left {
      font-weight: 500;
    }

    .topbar-right i {
      margin-left: 10px;
      font-size: 16px;
      vertical-align: middle;
    }

    .myline {
      border: none;
      height: 1px;
      background-color: #d8d8d8;
      /* change to any color */
      margin: 0px 0;
      width: 100%;
      /* full width or adjust as needed */
    }

    .time {
      color: #ccc;
      text-align: end;
      padding-right: 20px;
      font-weight: 400;
    }


    .toggle-btn1.active {
      background-color: #354abf !important;
      color: white;
      border-color: #354abf;
    }


    .quick-reply-input-group {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
    }

    .quick-reply-input-group input {
      flex: 1;
      padding: 6px 10px;
      margin-right: 8px;
    }

    .quick-reply-input-group i {
      cursor: pointer;
      font-size: 18px;
      margin-right: 8px;
      color: #354abf;
    }

    .mobile-preview {
      /* margin-top: 15px; */
      padding: 10px;
      /* background: #f1f1f1; */
      border-radius: 8px;
      width: 100%;
      word-wrap: break-word;
      overflow-wrap: break-word;
      white-space: normal;
    }

    .preview-button {
      background-color: #fff;
      border-radius: 20px;
      padding: 4px 6px;
      margin: 2px;
      display: inline-block;
      font-size: 14px;
      width: 100%;
      word-wrap: break-word;
      overflow-wrap: break-word;
      white-space: normal;
    }

    .line-separator {
  border-bottom: 1px solid #ccc;
  margin: 6px 0;
}
.form-control{
  height: 45px;
  border-radius: 8px;
}

.submitBTN{
  justify-items: end;
  background-color: #354abf;

}
.buttonGrey{
  background: #d4d1d1;
  color: #616161;
   font-weight: 600; 
   border: none;
}


.SettingLabel{
  font-size: 16px;
}
.buttonContainer{
  margin-top:60px;
}
.buttonContainerBottom{
    margin-top:36px;

}
.buttonContainerBottom2{
   margin-top:42px;
}
.dropdownHeight{
  height: 45px;
}
  .wallet span{
    font-size: 12px;
}
.wallet small{
    font-size: 10px;
}
.profile img{
    width: 30px;
    height: 30px;
}

    @media (max-width: 992px) {
      .chat-details {
        display: none; /* Hide right details on small screens */
      }
    }
    @media (max-width: 768px) {
      .chat-sidebar {
        display: none; /* Hide left sidebar on mobile */
      }
    }



/* Small screens: tighten spacing a bit */
@media (max-width: 575.98px) {
  .icon-circle { width: 48px; height: 48px; font-size: 20px; }
  .stat-number { font-size: 18px; }
  .stat-label  { font-size: 13px; }
  .wallet span{
    font-size: 10px;
}
.wallet small{
    font-size: 8px;
}
.profile img{
    width: 24px;
    height: 24px;
}
}



 @media (max-width: 575.98px) {
     .dashImage img {
         width: 100%;
         margin-top: 70px;
     }
          .icon-circle {
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid #A1C1FD;
  background: #eef1ff;
  display: flex; align-items: center; justify-content: center;
  color: #4b4ded; font-size: 22px;
}
.icon-circle img{
    width: 30px;
    height: auto;
} 
.stat-box {
  display: flex;
  justify-content: space-between; /* Space between icon and text */
  align-items: center;
}

.stat-text {
  text-align: right; /* Align text to the right */
}
.stat-number {
  margin: 0;
  font-weight: 500;
  font-size: 20px;
  color: #4b4ded;
}
.stat-label {
  margin: 0;
  font-size: 12px;
  color: #8A92A6;
  margin-top: 10px;
}
.wallet-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.wallet-icon i {
  font-size: 20px;
  color: #4a3aff;
}

/* Balance Text */
.balance-label {
  font-size: 12px;
  color: #8A92A6;
}
.balance-amount {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(90deg, #4a3aff, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Add Balance Button */
.add-balance-btn {
  background: linear-gradient(90deg, #4a3aff, #00c6ff);
  color: #fff;
  font-weight: 600;
  padding: 8px 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}
   .phone-frame {
      width: 300px;
      height: 700px;
      border: 16px solid #333;
      border-radius: 36px;
      position: relative;
      padding: 12px;
      margin: auto;
      background: #000;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    }
    .buttonContainer{
  margin-top:0px;
}
  .wallet span{
    font-size: 10px;
}
.wallet small{
    font-size: 8px;
}
.profile img{
    width: 24px;
    height: 24px;
}

 }

 /* Small devices (≥576px and <768px) */
 @media (min-width: 576px) and (max-width: 767.98px) {

.wallet span{
    font-size: 12px;
}
.wallet small{
    font-size: 10px;
}

     .dashImage img {
         width: 100%;
         margin-top: 38px;

     }
     .icon-circle {
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid #A1C1FD;
  background: #eef1ff;
  display: flex; align-items: center; justify-content: center;
  color: #4b4ded; font-size: 22px;
}
.icon-circle img{
    width: 30px;
    height: auto;
} 

.stat-box {
  display: flex;
  justify-content: space-between; /* Space between icon and text */
  align-items: center;
}

.stat-text {
  text-align: right; /* Align text to the right */
}
.stat-number {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  color: #4b4ded;
}
.stat-label {
  margin: 0;
  font-size: 14px;
  color: #8A92A6;
  margin-top: 10px;
}
.buttonContainer{
  margin-top: 0px;
}

  .wallet span{
    font-size: 10px;
}
.wallet small{
    font-size: 8px;
}
.profile img{
    width: 24px;
    height: 24px;
}
 }

 /* Medium devices (≥768px and <992px) */
 @media (min-width: 768px) and (max-width: 991.98px) {
     .dashImage img {
         width: 100%;
     }
     .icon-circle {
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid #A1C1FD;
  background: #eef1ff;
  display: flex; align-items: center; justify-content: center;
  color: #4b4ded; font-size: 22px;
}
.icon-circle img{
    width: 30px;
    height: auto;
} 
.stat-box {
  display: flex;
  justify-content: space-between; /* Space between icon and text */
  align-items: center;
}

.stat-text {
  text-align: right; /* Align text to the right */
}
.stat-number {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  color: #4b4ded;
}
.stat-label {
  margin: 0;
  font-size: 14px;
  color: #8A92A6;
  margin-top: 10px;
}
  .wallet span{
    font-size: 10px;
}
.wallet small{
    font-size: 8px;
}
.profile img{
    width: 24px;
    height: 24px;
}
 }

 /* Large devices (≥992px and <1200px) */
 @media (min-width: 992px) and (max-width: 1199.98px) {
     .dashImage img {
         width: 100%;
     }
     .icon-circle {
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid #A1C1FD;
  background: #eef1ff;
  display: flex; align-items: center; justify-content: center;
  color: #4b4ded; font-size: 22px;
}
.icon-circle img{
    width: 30px;
    height: auto;
} 
.stat-box {
  display: flex;
  justify-content: space-between; /* Space between icon and text */
  align-items: center;
}

.stat-text {
  text-align: right; /* Align text to the right */
}
.stat-number {
  margin: 0;
  font-weight: 500;
  font-size: 20px;
  color: #4b4ded;
}
.stat-label {
  margin: 0;
  font-size: 16px;
  color: #8A92A6;
  margin-top: 10px;
  padding: 5px;
}

.rounded-circle img{
  width: 30px;
  height: 30px;
}
  .template-footer {
    background: #FFFFFF;
    border-radius: 6px;
    padding: 3px 6px;
    font-size: 10px;
    color: #8A92A6;
    margin-top: 10px;

    white-space: normal;     /* text wrap allow karega */
    word-wrap: break-word;   /* lambi words break karega */
    overflow-wrap: break-word; /* modern browsers ke liye */
  }

 }

 /* Extra large devices (≥1200px and <1400px) */
 @media (min-width: 1200px) and (max-width: 1399.98px) {
     .dashImage img {
         width: 100%;
     }
     /* Icon circle on the left */
.icon-circle {
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid #A1C1FD;
  background: #eef1ff;
  display: flex; align-items: center; justify-content: center;
  color: #4b4ded; font-size: 22px;
}
.icon-circle img{
    width: 30px;
    height: auto;
} 
.template-footer {
    background: #FFFFFF;
    border-radius: 6px;
    padding: 3px 6px;
    font-size: 10px;
    color: #8A92A6;
    margin-top: 10px;

    white-space: normal;     /* text wrap allow karega */
    word-wrap: break-word;   /* lambi words break karega */
    overflow-wrap: break-word; /* modern browsers ke liye */
  }
 }

 /* Extra extra large devices (≥1400px) */
 @media (min-width: 1400px) {
     .dashImage img {
         width: 100%;
     }
     
 }




/* Media Queries */
@media (max-width: 1700px) {
  .phone-preview {
    max-width: 350px;
  }
       .SettingLabel{
  font-size: 12px;
}
}

@media (max-width: 1200px) {
  .phone-preview {
    max-width: 300px;
  }
         .SettingLabel{
  font-size: 14px;
}
}

@media (max-width: 990px) {
  .phone-preview {
    max-width: 260px;
  }
         .SettingLabel{
  font-size: 14px;
}
}



.colorBox {
  -webkit-appearance: none;
  border: none;
  width: 35px;
  height: 35px;
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
  overflow: hidden;
}
.colorBox::-webkit-color-swatch-wrapper {
  padding: 0;
}
.colorBox::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
}
.colorBox::-moz-color-swatch {
  border: none;
  border-radius: 4px;
}
.rotate {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}


/* ========================================== */


  
   /* Left Form */
    .campaign-form-wrapper {
      background: #fff;
      padding: 20px;
      border-radius: 6px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* Phone Frame */
    .phone-frame {
      width: 340px;
      height: 600px;
      background: #fff;
      border-radius: 40px;
      padding: 15px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      position: relative;
      margin: auto;
    }

    /* Speaker & Camera */
    .phone-notch {
      width: 140px;
      height: 22px;
      background: #222;
      border-radius: 10px;
      position: absolute;
      top: 8px;
      left: 50%;
      transform: translateX(-50%);
    }

    .camera-dot {
      width: 10px;
      height: 10px;
      background: #000;
      border-radius: 50%;
      position: absolute;
      top: 14px;
      left: 50%;
      transform: translateX(-50%);
    }

    .phone-screen {
      background: #ece5dd;
      border-radius: 25px;
      height: 100%;
      padding-top: 40px;
      overflow: hidden;
    }

    .phone-header {
      background: #075E54;
      color: #fff;
      padding: 8px 12px;
      font-size: 14px;
    }

    .whatsapp-body {
      padding: 15px;
    }

    .whatsapp-message {
      background: #fff;
      padding: 12px;
      border-radius: 10px;
      font-size: 14px;
      line-height: 1.4;
    }

    /* Buttons */
    .btn-save-send {
      background: #000;
      color: #fff;
      font-weight: 600;
    }




   .mycontainer { display: none; } /* hidden by default */

    .match-variable-wrapper {
      background: #fff;
      padding: 20px;
      border-radius: 8px;
      /* box-shadow: 0 2px 6px rgba(0,0,0,0.1); */
      max-width: 900px;
      margin: auto;
    }

    .match-variable-label {
      font-size: 14px;
      font-weight: 600;
      color: #333;
    }

    .match-variable-select,
    .match-variable-input {
      font-size: 14px;
      padding: 8px 10px;
      border: 1px solid #dcdcdc;
      border-radius: 6px;
      color: #555;
      width: 100%;
    }

    .match-variable-select:focus,
    .match-variable-input:focus {
      border-color: #007bff;
      box-shadow: none;
    }

    .hidden-col {
      display: none !important;
    }




/* Popup Background */
.custom-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

/* Popup Content */
.custom-popup-content {
  background: #fff;
  border-radius: 10px;
  padding: 20px 25px;
  width: 400px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Title */
.custom-popup-title {
  font-size: 18px;
  font-weight: 600;
  color: #193553;
}

/* Close button */
.custom-popup-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #777;
}

/* Inputs */
.custom-input {
  border-radius: 6px;
  font-size: 15px;
}

/* Update button */
.btn-update {
  background: #1c293b;
  color: #fff;
  padding: 8px 20px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
}
.btn-update:hover {
  background: #0f172a;
}

