* {
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

html {
  overflow-x: hidden;
}
input:focus,
textarea:focus {
  background-color: transparent !important;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
  padding: 0;
  line-height: normal;
}
header.header {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  right: 0;
  z-index: 999;
}
header.header.sticky {
  background: #fff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
.partner-section {
  background-image: url(../img/handshake.png);
  background-size: cover;
  background-position: center center;
  padding-block: 260px;
}

.left-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
}

.partner-content h1 {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-size: 88px;
  line-height: 106px;
  color: #214265;
  text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}

.partner-content h1 .text1 {
  color: #44a7e3;
}

.partner-content p {
  font-size: 24px;
  color: #214265;
  margin-top: 40px;
  margin-bottom: 40px;
  font-weight: 500;
}

.partner-buttons {
  gap: 17px;
}

.partner-buttons a,
.partner-buttons button {
  padding: 20px 55px;
  font-size: 18px;
  font-weight: 600;
}

.join-bttn {
  background-color: #214265;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

.secondary-bttn {
  border: 1px solid;
  border-color: #214265;
  color: #214265;
  text-decoration: none;
  border-radius: 50px;
}
.heading-text h2 {
  font-size: 50px;
  color: #214265;
  font-weight: 700;
}
.heading-text-white h2 {
  color: #fff;
}
.heading-text-white h2 span {
  color: #73abe5;
}
.heading-text-white .horizontal-line {
  background-color: #fff;
}

.horizontal-line {
  width: 99px;
  height: 8px;
  border-radius: 100px;
  margin: 0 20px;
  background-color: #214265;
}
.py-80 {
  padding-block: 80px;
}
.card-partner {
  width: 384px;
  height: 200px;
  border-top-left-radius: 300px;
  border-top-right-radius: 300px;
  padding: 20px;
}
.card-partner-1 {
  background-color: #e7f5fd;
}
.card-partner-2 {
  background-color: #e1fbfb;
}
.card-partner-3 {
  background-color: #e1eafb;
}
.card-partner-4 {
  background-color: #f8fbe1;
}
.card-partner-5 {
  background-color: #fbe1e1;
}
.card-circle {
  width: 115px;
  height: 115px;
  border: 1px solid #214265;
  border-radius: 400px;
  background-color: #fff;
  text-align: center;
  z-index: 99;
  align-items: center;
  margin-inline: auto;
  margin-block-start: -50px;
  margin-block-end: 30px;
  transition: all 0.3s ease-in-out;
}
.card-partner:hover .card-circle {
  background-color: #214265;
}
.card-partner:hover .card-circle img {
  filter: invert(1) brightness(1.9);
}

.card-text p {
  font-family: "Lato";
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  color: #000000;
}
.who-can-join-section {
  background-image: url(../img/who-can-join-bg.png);
  background-size: cover;
  background-position: center center;
  padding-block: 157px;
}
.who-can-join-content {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 24px;
  padding: 50px;
}
.content-list-pill {
  padding: 20px;
  background: #ffffff;
  border-radius: 23px;
  display: grid;
  place-items: center start;
  grid-template-columns: 75px 187px;
}
.content-list-pill img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}
.content-list-pill h4 {
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: #214265;
}
.how-it-work-section {
  background-color: #f0f3ff;
}
.sub-heading {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #595959;
  margin-block-start: 20px;
}
.how-it-work-inner {
  padding-block-start: 80px;
}
.how-it-work-inner .how-it-work-card {
  background: #f9faff;
  border: 1px solid #ffffff;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(22px);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  height: 100%;
}
.how-it-work-inner .how-it-work-card-icon {
  width: 60px;
  height: 60px;
}
.how-it-work-inner .how-it-work-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.how-it-work-inner .how-it-work-card h4 {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #214265;
  margin-block-start: 25px;
  margin-block-end: 10px;
}
.how-it-work-inner .how-it-work-card p {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #595959;
}
.how-it-work-inner .how-it-work-card .step {
  font-weight: 800;
  font-size: 80px;
  line-height: 96px;
  color: #214265;
  opacity: 0.1;
  position: absolute;
  right: 0;
  top: 0;
}
.commission-structure-section {
  background-color: #f4f5f6;
}
.commission-structure-inner {
  margin-block-start: 60px;
}
.commission-structure-left table {
  border: 1px solid #214265;
  width: 90%;
  text-align: center;
}
.commission-structure-left table th,
.commission-structure-left table td {
  padding: 20px;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
}
.commission-structure-left table th {
  background-color: #214265;
  color: #fff;
}
.commission-structure-left table tr:nth-child(even) {
  background-color: #fff;
}
.commission-structure-left table tr:nth-child(odd) {
  background-color: #e1f1fb;
}
.commission-structure-left table tr td:first-child {
  border-right: 1px solid #ddd;
}
.commission-structure-left p {
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #595959;
  margin-block-start: 10px;
}
.member-types-card {
  background: #f9faff;
  border: 1px solid #ffffff;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(22px);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-template-columns: 57px 70px;
  place-items: center start;
  width: auto;
}
.member-types {
  margin-block-start: 25px;
  gap: 15px;
}
.member-types-card h4 {
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: #214265;
}
.benefits-section {
  background-image: url(../img/benefits-bg.png);
  background-size: cover;
  background-position: center center;
}
.benefits-section .how-it-work-card {
  border-radius: 24px 0 24px 0;
}
.testimonials-content p {
  font-weight: 500;
  font-size: 24px;
  line-height: 40px;
  color: #214265;
  position: relative;
}
.testimonials-content p span {
  color: #44a7e3;
}
.testimonials-content p:before {
  content: url(../img/inverted-comma.png);
  position: absolute;
  top: -50px;
  opacity: 0.3;
}
.testimonials-user-details h5 {
  font-weight: 700;
  font-size: 28px;
  line-height: 35px;
  text-align: center;
  color: #214265;
  margin-block-start: -40px;
}
.testimonials-user-details p {
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  color: #214265;
}
.join-form-section {
  background-image: url(../img/join-form-bg.png);
  background-size: cover;
  background-position: center center;
  padding-block: 157px;
}
.join-form-section h2 {
  color: #fff;
  font-size: 36px;
}
.join-form-section .horizontal-line {
  background-color: #fff;
}
.join-form-section .heading-text {
  margin-block-end: 40px;
}
.join-form-section input,
.join-form-section textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #ffffff;
  border-radius: 4px;
  color: #fff !important;
}
.join-form-section label {
  color: #fff;
}
.join-form-section input::placeholder,
.join-form-section textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.join-form-section .submit-btn {
  background-color: #fff;
  color: #214265;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  padding: 12px 35px;
}

.blogs-section {
  background-color: #f8f9fa;
  padding-top: 80px;
  padding-bottom: 80px;
}

.blogs-section .heading-text h2 {
  font-size: 2.5rem;
  color: #2c3e50;
}

.blog-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-body h4 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2c3e50;
}

.blog-card-body p {
  font-size: 1rem;
  color: #7f8c8d;
  margin-bottom: 20px;
}

.blog-card-body .btn {
  background-color: #2980b9;
  color: white;
  font-size: 1rem;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
}

.blog-card-body .btn:hover {
  background-color: #3498db;
}

.footer-section {
  background-color: #1a1a1a;
  color: #dcdcdc;
  padding: 60px 0 30px;
  font-size: 15px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 20px;
  background: #fff;
  padding: 4px;
  border-radius: 4px;
}

.footer-description {
  line-height: 1.7;
}

.footer-heading {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #dcdcdc;
  text-decoration: none;
}

.footer-links a:hover {
  color: #00aaff;
}

.footer-contact i {
  margin-right: 10px;
  color: #00aaff;
}

.footer-social a {
  display: inline-block;
  margin-right: 15px;
  font-size: 18px;
  color: #dcdcdc;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #00aaff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  color: #999;
  font-size: 14px;
}

/* find partner css start here */
/* Find-a-partner */
.find-partner {
  background-color: #214265;
  padding-block: 50px;
}
.find-partner-heading {
  padding-block: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.heading-upper h3 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 800;
  padding-block: 20px;
}
.heading-upper .color-blue {
  color: #00aeef;
}
.heading-lower p {
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
}
.filter-bg {
  background-color: rgba(255, 255, 255, 0.1);
  margin-inline: 20px;
  margin-block: 20px;
  padding: 10px;
}
.find-partner-dropdown select {
  height: 48px;
  width: 257px;
  font-weight: 400;
  padding-inline: 20px;
  font-size: 16px;
  color: #214265;
  border-color: #e7f5fd;
  background: url(../img/arrow-down.svg);
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 7% center;
}
.btn-reset {
  border-radius: 50px;
  padding: 10px 60px;
  background-color: rgba(33, 66, 101, 0.77);
  color: white;
  font-weight: 400;
  font-size: 16px;
  border: 1px solid #e7f5fd;
  transition: background-color 0.3s ease;
}
.btn-reset:hover {
  background-color: #fff;
  color: #214265;
}
.card-section {
  margin-inline: 20px;
}
.card1 {
  background-color: #ffffff;
  padding: 20px;
  border: 1px solid #ffd700;
  border-radius: 12px;
  margin-bottom: 20px;
}
.card-logo img {
  height: 102px;
  max-width: 102px;
}
.card-details {
  padding-left: 20px;
}
.card-details-upper {
  padding-bottom: 10px;
}
.card-details-heading1 h5 {
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 5px;
}
.rating,
.card-location p {
  font-size: 16px;
  font-weight: 400;
  color: #214265;
}
.rating-text {
  margin: 2px;
}
.card-details-services p {
  font-size: 16px;
  color: rgba(33, 66, 101, 0.77);
  font-weight: 600;
}
.card-details-services-desc p {
  font-size: 16px;
  color: rgba(33, 66, 101, 0.77);
  font-weight: 400;
}
.separator-line {
  border: 1px solid #214265;
  height: 20px;
  width: 1px;
}
.golden {
  background-image: url(img/gold.png);
  background-repeat: no-repeat;
  background-size: 20px 20px;
}
.com-card-inner {
  padding-block: 40px;
}
.com-card-img {
  padding-top: 10px;
}
.com-card {
  padding: 30px;
  margin-inline: 20px;
}
.com-text1 p {
  font-size: 20px;
  font-weight: 400;
  color: #214265;
  padding-block: 20px;
}
.com-text2 p {
  font-size: 40px;
  font-weight: 800;
  color: #214265;
}

/* Modern Inputs */
.modern-input {
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.modern-input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.2);
}

/* Modal */
.modal-content {
  border-radius: 16px !important;
}

.modal-header h4 {
  font-weight: 600;
}

.input-group-text {
  border-radius: 12px 0 0 12px;
  border: 1px solid #ddd;
}

/* Button hover effect */
.btn-primary {
  background: linear-gradient(45deg, #0d6efd, #007bff);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #0d6efd, #007bff);
}
/* Steps Progress */
.step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ddd;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.step.active {
  background: #28a745;
  color: #fff;
}
.step + .step {
  margin-left: 20px;
}

/* Modern Input */
.modern-input {
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}
.modern-input:focus {
  border-color: #28a745;
  box-shadow: 0 0 6px rgba(40, 167, 69, 0.4);
}

.sidebar {
  width: 250px;
  border-right: 1px solid #eee;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
}
.sidebar ul li a {
  text-decoration: none;
}
.sidebar ul li a:hover,
.sidebar ul li button:hover {
  background-color: #ebf5ff;
}
.sidebar ul li a.active {
  background-color: #214265;
}
ul.nav.flex-column.gap-2 {
  margin-block-start: 30px;
}
/* Navbar.css */

/* Top Navigation */
.top_nav {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  margin-left: 0;
  width: 100%;
}

/* Nav Menu */
.nav_menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Search Box */
.searchBox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-btn {
  background-color: #f5f5f5;
  border: none;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  background-color: #e0e0e0;
}

.searchBoxInner {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  padding: 5px 10px;
  border-radius: 8px;
  flex: 1;
}

.searchBoxInner input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  padding: 5px 10px;
  font-size: 14px;
}

.searchBoxInner span {
  color: #888;
  font-size: 16px;
  margin-right: 5px;
}

/* Navbar right items */
.navbar-right {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* Notification button */
.notification .btn {
  background: transparent;
  border: none;
  position: relative;
  font-size: 18px;
  cursor: pointer;
  color: #333;
  background-color: #f4f5f6;
}

.notification .btn span {
  width: 25px;
  height: 20px;
}

/* Profile Text Button */
.profile-text .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
}

.profile-text img {
  border-radius: 8px;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

/* Profile Popup */
.profile-popup {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px;
  min-width: 220px;
}

.profile-popup .rounded-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  background-color: #6c757d;
  font-size: 14px;
}

.profile-popup hr {
  margin: 10px 0;
  border: 0;
  border-top: 1px solid #e0e0e0;
}

.profile-popup .btn {
  font-size: 14px;
  padding: 5px 10px;
}
/* Profile Text Button */
.profile-text .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
}
.profile-popup button.btn.btn-sm.btn-outline-primary {
  background-color: #d4e9ff;
  color: #258eff;
}
.profile-popup button.btn.btn-sm.btn-outline-danger {
  background-color: #ffcfdf;
  color: #ff2566;
}
.profile-text img {
  border-radius: 8px;
  width: 40px;
  height: 40px;
  object-fit: cover;
}
/* Sidebar Open / Close Body Class */
body.sidebar-open {
  transition: all 0.3s ease;
}

body.sidebar-closed {
  transition: all 0.3s ease;
}

/* Notification Popup - optional if not styled separately */
.notification-popup {
  position: absolute;
  top: 50px;
  right: 0;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px;
}

.notification-popup .notification-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.notification-popup .notification-item img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.notification-popup .notification-item h6 {
  font-size: 14px;
  margin: 0;
}

.notification-popup .notification-item p {
  font-size: 12px;
  margin: 0;
  color: #555;
}

.notification-popup .notification-item small {
  font-size: 10px;
  color: #999;
}
.right_col {
  margin-left: 0;
  margin-top: 74px;
  padding: 30px;
  background-color: #e8f2fa;
  min-height: calc(100vh - 74px);
  width: 100%;
}
/* Top Section Heading */
.top-sec-heading {
  margin-block-end: 30px;
}
.top-sec-heading h3 {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.top-sec-heading img {
  margin-right: 10px;
  width: 24px;
  height: 24px;
}

/* Dashboard Statics Box */
.dashboard-statics .g-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}
.g-box-img {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.dashboard-statics .g-box:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.1);
}

/* Inner box for stats */
.g-box-inner h4 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: #222;
}

.g-box-inner p {
  font-size: 18px;
  margin: 0;
  color: #214265;
}

/* Project Details Card */
.project-details-card {
  background: #e1eafb;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(22px);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
}
.project-details-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.1);
  background-color: #214265;
}
.project-details-card p {
  font-size: 18px;
  margin-bottom: 8px;
}

.project-details-card h4 {
  font-size: 24px;
  font-weight: 700;
}
.project-details-card:hover h4,
.project-details-card:hover p {
  color: #fff;
}
/* Card colors */

/* Two-section layout */
.two-section {
  margin-top: 30px;
}

/* Container Box */
.container-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  height: 100%;
}

.container-box-top-header p {
  font-size: 20px;
  font-weight: 600;
  color: #070303;
  margin-bottom: 15px;
}

/* Leads Section - Images */
.leads img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Select dropdown style */
.container-box-top-header select {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
  margin-left: 10px;
  font-size: 14px;
  color: #333;
}
.g-box.g-box1.color-prpl {
  background-color: #e1eafb;
}
.g-box.g-box1.color-red {
  background-color: #f0d8d8;
}
.g-box-img.color-prpl {
  background-color: #e1eafb;
}
.g-box-img.color-green {
  background-color: #e1fbfb;
}
.g-box-img.color-red {
  background-color: #ffebeb;
}

.container-box-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.container-box-top-header-left-2 input[type="search"] {
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-right: 5px;
}

select,
input[type="date"] {
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.table {
  width: 100%;
  border-collapse: collapse;
}
.table-dark th {
  background-color: #214265;
  color: #fff;
}
.table th,
.table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.select-status {
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Status Colors */
.select-status.converted {
  background-color: #d4edda;
  color: #155724;
}

.select-status.in-progress {
  background-color: #fff3cd;
  color: #856404;
}

.select-status.contacted {
  background-color: #cce5ff;
  color: #004085;
}

.select-status.lost {
  background-color: #f8d7da;
  color: #721c24;
}

/* Action button */
.action_toggle_outer {
  position: relative;
}

.action_toggle {
  background: none;
  border: none;
  cursor: pointer;
}

.action_toggle_content {
  display: none;
  position: absolute;
  top: 20px;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  z-index: 100;
  border-radius: 5px;
  min-width: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.action_toggle_outer:hover .action_toggle_content {
  display: block;
}

.action_toggle_content {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  min-width: 160px;
  position: absolute;
  top: 10px;
  right: 0;
  z-index: 10;
}

.action_toggle_content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.action_toggle_content li {
  display: flex;
  justify-content: center;
}

.action_toggle_content button {
  width: 100%;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

/* Edit button */
.action_toggle_content .edit-lead {
  color: #2563eb; /* blue */
}
.action_toggle_content .edit-lead:hover {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

/* History button */
.action_toggle_content .follow-up {
  color: #16a34a; /* green */
}
.action_toggle_content .follow-up:hover {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}

/* Help Us button */
.action_toggle_content .help-us {
  color: #eab308; /* yellow */
}
.action_toggle_content .help-us:hover {
  background: rgba(234, 179, 8, 0.1);
  color: #ca8a04;
}
.filters-inner {
  border: #95c5f8 1px solid;
  border-radius: 4px;
  padding: 6px 10px;
  display: flex;
  gap: 10px;
}
.submit-btn {
  background-color: #214265;
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

.custom-modal {
  background: #fff;
  border-radius: 8px;
  width: 80%;
  max-width: 800px;
  padding: 20px;
  position: relative;
}



.modal-header,
.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #234e79;
  margin-bottom: 10px;
}

.btn-close {
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.custom-file-upload {
  display: inline-block;
  padding: 12px 20px;
  cursor: pointer;
  background-color: #0d6efd; /* Bootstrap primary color */
  color: white;
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.2s;
  text-align: center;
  border: none;
}

.custom-file-upload:hover {
  background-color: #0b5ed7;
}

.custom-file-upload input[type="file"] {
  display: none; /* hide the default input */
}
.lead-score-stars .star {
  color: #ccc; /* default gray */
  transition: color 0.2s;
}

.lead-score-stars .star.filled {
  color: #ffc107; /* gold for filled stars */
}
.page-details label {
  margin-block-end: 10px;
}
.vertical {
  position: relative;
}
.vertical-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15px;
  width: 2px;
  height: 100%;
  background: #dee2e6;
}

.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 20px;
}

.timeline-dot {
  position: absolute;
  left: 7px;
  width: 16px;
  height: 16px;
  background: #0d6efd;
  border-radius: 50%;
  top: 0;
}

.timeline-content {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-left: 40px;
  flex: 1;
}

.status-badge {
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  margin-top: 5px;
}
.status-converted {
  background-color: #28a745;
}
.status-followed-up-due {
  background-color: #ffc107;
}
.status-lost {
  background-color: #dc3545;
}
.status-contacted {
  background-color: #17a2b8;
}
.status-not-intrested {
  background-color: #6c757d;
}

@media (max-width: 768px) {
  .timeline-content {
    margin-left: 30px;
  }
}
/* Contact Info */
.contact-info h4 {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 20px;
  color: #214265;
  font-size: 36px;
  text-align: center;
}

.contact-detail {
  background-color: #E8F2FA;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%;
  color: #214265;
  text-align: center;
}

.contact-detail strong {
  font-weight: bold;
  font-size: 24px;
  margin-block-end: 10px;
}

.contact-detail p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}
.contact-detail .svg-inline--fa {
  font-size: 30px;
  margin-block-end: 15px;
}

/* admin panel css start  */

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
  font-family: Arial, sans-serif;
  height: 100vh;
}

h2 {
  margin: 0;
  text-align: center;
  font-size: 2.5rem;
}


.contain {
  display: flex;
  width: 900px; 
  height: 550px;
  background-color: #f5efef;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-inline: auto;
}


.login-image {
  flex: 1;
}

.login-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.login-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.login-form input {
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-bottom: 1px solid black;
  background-color: transparent;
  font-size: 16px;
  outline: none;
}

.leaderboard.one-column {
  column-count: 1;
}

.leaderboard.two-column {
  column-count: 2;
  column-gap: 24px;
}

.login-form button {
  padding: 14px;
  background-color: #191042;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.login-form button:hover {
  background-color: #c6c97f;
  color: black;
}


.error-text {
  color: rgb(55, 139, 76);
  font-size: 14px;
  margin-top: 10px;
}

.password-input-container {
  position: relative;
  width: 100%; 
  margin: 15px 0;
}

.password-input-container input {
  width: 95%;
  /* height: 10px;  */
  font-size: 16px;
}

.eye-icon {
  cursor: pointer;
  color: #272626;
}

/* third section chart css  */

/* Make the chart card span full width */
.full-width-chart {
  width: 100%;
  background-color: #f9fbff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

/* Ensure chart canvas fills container */
.full-width-chart canvas {
  width: 100% !important;
  height: auto !important;
}

/* leaderboard */
.qr-code-box .container-box-inner {
  border-top: 1px solid #E7EAF3;
}
.leaderboard ul {
    column-count: 1;
}
.leaderboard ul li {
    display: flex;
    justify-content: space-between;
    background: #E1F1FB;
    border-radius: 8px;
    padding: 5px 25px;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    color: #000000;
    margin-block-end: 15px;
}
.leaderboard ul li .user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  padding: 10px;
}
.leaderboard ul li .user-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leaderboard ul li .user-name {
  color: #214265;
}
.leaderboard ul li.top-rank .user-img {
  position: relative;
}
.leaderboard ul li.top-rank .user-img:after {
  content: "";
  position: absolute;
  width: 36px;
  height: 36px;
  background-size: cover;
  top: -10px;
  left: -10px;
}
.leaderboard ul li.rank-1 .user-img:after {
  background-image: url("../img/top-tank-1.svg");
}
.leaderboard ul li.rank-2 .user-img:after {
  background-image: url("../img/top-tank-2.svg");
}
.leaderboard ul li.rank-3 .user-img:after {
  background-image: url("../img/top-tank-3.svg");
}


/* admin page */
.admin-container {
  padding: 55px;
  font-family: Arial, sans-serif;
  background: #ced7db;
  min-height: 100vh;
  margin-left:16%;
} 

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

.admin-header h2{
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}


.add-btn {
  background: #007bff;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}

/* .search-box {
  margin-bottom: 15px;
} */
/* 
.search-box input {
  margin-right: 60%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
} */

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.admin-table th,
.admin-table td {
  border: 1px solid #e4e2e2;
  padding: 10px;
  text-align: left;
}

.admin-table th {
  background: #fdfdfd;
}

.role-badge {
  padding: 4px 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}
.role-admin {
    background: blue;
}
.role-subadmin {
  background: #f6c23e;
}

.role-manager {
  background: #4e73df;
}

.role-viewer {
  background: #9b59b6;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}

.status-dot.active {
  background: #28a745;
}

.status-dot.inactive {
  background: #dc3545;
}

.action-btn {
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}

/* Add user page */

.adduser-container {
  background-color: #e9f1fb;
  padding: 40px;
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
}

.adduser-title h2{
  margin-left: 18%; 
  padding-top: 4%;
  display: flex;
  align-items: center;
  justify-content: left;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

/* White card container */
.usercontain {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  max-width: 1000px;
  margin-left: 250px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.adduser-title 

/* Form styling */
.adduser-form {
  display: flex;
  flex-direction: column;
}

.btn-back{  
  background: #225a96;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}

/* Label + input group */
.form-group {
  margin-bottom: 20px;
  
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* Input, select, date fields */
.form-input {
  width: 100%;
  padding: 7px 11px;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #a8a7a7;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: #1e3a8a;
  outline: none;
}

/* Submit button */
.btn-submit {
  background-color: #1b3781;
  color: #fff;
  font-size: 14px;
  width: 18%;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: #274caa;
}

.form-select {
  --bs-form-select-bg-img: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e);
  display: block;
  padding: .375rem 2.25rem .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bs-body-bg);
  background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color .15s 
ease-in-out, box-shadow .15s 
ease-in-out;
}

.form-select-down{
  width: 15%;
}

.form-select new{
  color: #0069d9;

}

/* leads status */
.custom-modal-scroll {
  height: 100vh;
  overflow-y: auto;
}

/* conversion-funnel */

.conversion-funnel-dashboard-page {
  padding: 25px;
  background-color: #f4f7f9; 
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  min-height: 200vh;
  box-sizing: border-box;
}

.card {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08); 
}

.card-title {
  font-size: 1.15em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  color: #000; 
  border-bottom: 1px solid #eee; 
}

.funnel-main-section {
  display: grid;
  grid-template-columns: 3fr 1fr; 
  gap: 20px;
  margin-bottom: 25px;
}

.funnel-visualization-area {
  display: flex;
  flex-direction: row;
}


.time-filters {
    display: flex;
  margin-block-end: 20px;
}
.time-filters select {
    flex-grow: 1;
}

.funnel-graphic {
    width: 35%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    justify-content: space-between;
}

.funnel-segment {
    width: 100%;
    height: 50px;
    margin-bottom: -15px; 
    filter: brightness(1.05); 
    background-color: var(--segment-color);
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

.funnel-segment.segment-1 { width: 95%; clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%); }
.funnel-segment.segment-2 { width: 85%; clip-path: polygon(7% 0%, 93% 0%, 95% 100%, 5% 100%); }
.funnel-segment.segment-3 { width: 75%; clip-path: polygon(9% 0%, 91% 0%, 90% 100%, 10% 100%); }
.funnel-segment.segment-4 { width: 65%; clip-path: polygon(11% 0%, 89% 0%, 85% 100%, 15% 100%); }
.funnel-segment.segment-5 { width: 55%; clip-path: polygon(13% 0%, 87% 0%, 80% 100%, 20% 100%); margin-bottom: 0; }

.funnel-steps-list-container {
    flex-grow: 1;
    padding-left: 20px; 
    display: flex;
    flex-direction: column;
    justify-content: space-around; 
    height: 350px; 
}

.funnel-step-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number-box {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
    font-size: 0.8em; 
    flex-shrink: 0; 
}

.step-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.step-title {
    font-size: 0.85em;
    color: #666;
    margin: 0;
}

.step-count {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.step-percentage {
    font-size: 0.85em;
    font-weight: 600;
    color: #555; 
    margin-left: auto; 
}

.metrics-footer-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --- Conversion Metrics Card --- */
.conversion-metrics-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between; 
}

.conversion-metrics-card .metrics-content-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.conversion-metrics-card .metrics-content-row.second-row {
    margin-top: auto; 
}

.metrics-data {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.85em; 
    color: #555;
    margin-bottom: 3px;
}

.metric-value {
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
}
.drop-offs-value {
    color: #2196F3; 
}


.line-chart-placeholder {
    width: 100px;
    height: 60px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background-color: #e6f7ff; 
}

.line-chart-placeholder::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60'%3E%3C!-- Fill Area --%3E%3Cpath fill='%23ccebff' d='M0 50 L20 40 L40 45 L60 30 L80 15 L100 0 L100 60 L0 60 Z'/%3E%3E%3C!-- Line Path --%3E%3Cpath fill='none' stroke='%232196F3' stroke-width='2.5' d='M0 50 L20 40 L40 45 L60 30 L80 15 L100 0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.9;
}


/* --- Trend Comparison Card --- */
.trend-comparison-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 45px); 
    padding-top: 10px; 
}

.comparison-rates {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px; 
}

.rate-item {
    display: flex;
    justify-content: space-between;
}

.bar-chart-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end; 
    justify-content: center; 
    height: 80px; 
    margin-top: auto; 
}

.bar-chart-percentage {
    position: absolute;
    top: -5px; 
    right: 20%; 
    font-size: 0.85em;
    font-weight: 600;
    color: #509952; 
}

.bar-chart-bars {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    justify-content: center; /* Center the bars */
    gap: 10px; /* Gap between bars */
    padding-bottom: 5px; /* Space for the bottom label */
}

.bar {
    width: 30%; /* Width of individual bars */
    background-color: #74b9f2; 
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease-out;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Subtle shadow */
}

.previous-bar {
    height: 60%; 
    background-color: #64B5F6; /* Lighter blue */
}
.current-bar {
    height: 75%; 
    background-color: #2196F3; /* Darker blue */
}

/* --- Tips Card --- */
.tips-list {
  list-style-type: none; 
  padding: 10px;
  margin: 0;
}

.tips-list li {
  margin-bottom: 10px;
  padding-left: 1.5em; 
  position: relative;
  font-size: 0.9em;
  color: #555;
}

.tips-list li::before {
  content: "•"; 
  color: #39A7A7; 
  font-weight: bold;
  font-size: 1.2em;
  display: inline-block; 
  width: 1em;
  margin-left: -1.5em; 
  position: absolute;
  left: 0;
  top: -2px; 
}

/* Performance Comparison */

.main-box-section{
  background-color: #fff;
  padding: inherit;
  border-radius: 8px;
}

/* Header */
.top-sec-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.top-sec-heading h3 {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-sec-heading select {
  padding: 6px 20px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.notification .btn {
    background: transparent;
    border: none;
    position: relative;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    background-color: #F4F5F6;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.notification .btn span {
    width: 15px;
    height: 15px;
    font-size: 10px;
    top: 0px !important;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Cards */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.card-box {
  flex: 1;
  min-width: 180px;
  background: #e8f2fa;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.card-box p {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 5px;
}

.card-box h2 {
  font-size: 22px;
  color: #25306e;
}

/* Charts */
.chart-section {
  background: #e8f2fa;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-bottom: 25px;
}

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

.dropdown-btn {
  border: 1px solid #ccc;
  background: #f0f4fa;
  border-radius: 6px;
  padding: 6px 10px; 
  cursor: pointer;
  
}

.bottom-charts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.chart-box {
  flex: 1;
  min-width: 280px;
  background: #e8f2fa;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Business Partner */

.top-sec-heading h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1b1b1b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-sec-heading img {
  width: 22px;
  height: 22px;
}

/* Search */
.search-container {
  padding: 10px;
}

.search-input {
  width: 250px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  outline: none;
}

/* Table */
.table-container {
  background: #fff;
  border-radius: 10px;
  padding: revert;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background-color: #173b6c;
  color: white;
}

th, td {
  padding: 12px 10px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #e0e0e0;
}

.email {
  color: #287bff;
  cursor: pointer;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.status-badge.active {
  color: #0b8e3c;
  background-color: #e0f7ea;
}

.status-badge.inactive {
  color: #d32f2f;
  background-color: #fdeaea;
}

.action-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #444;
}

.page-btn {
  border: 1px solid #d3d3d3;
  background: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 13px;
}

.page-btn.active {
  background: #173b6c;
  color: #fff;
  border: none;
}

/* ---------- Popup and Dropdown Styling ---------- */

.relative {
  position: relative;
 
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: 150px;
    padding: 4px 0;
    min-width: 120px;
}

.dropdown-menu button {
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 15px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
}

span.dropdown-item {
    padding: 8px 15px;
}
.dropdown-menu button:hover {
  background-color: #f2f2f2;
}

.top-level{
  display: flex;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 19%;
  left: 10%;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  width: 100%;
}

.pimg {
  width: 30%;
  height: 30%;
}

.popup-content.large {
  background: #fff;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 20px;
  padding-bottom: 10%;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.close-btn {
  background: #f0eaea;
  color: rgb(14, 3, 3);
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

input{
  background: #f9f9f9;
  border: 1px solid #e4d9d9;
  padding: 8px;
  border-radius: 5px;
  width: 100%;
}

/* Profile Section */
.profile-section {
  display: grid;
}

.profile-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60%;
}

.upload-btn {
  margin-top: 30%;
  background-color: #173b6c;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.password-section {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 60px;
}

.input-field {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.primary-btn {
  background: #173b6c;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}

/* Form Sections */
.form-section {
  margin-bottom: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 5%;
  gap: 15px 25px;
}

label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

input[readonly] {
  background: #f9f9f9;
  border: 1px solid #e4d9d9;
  padding: 8px;
  border-radius: 5px;
  width: 100%;
}

.view-btn,
.save-btn {
  background-color: #173b6c;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.top-level-next{
  display: grid;
  border-left: 1px solid #98a2a8;  /* line color and thickness */
  padding-left: 30px; 
}

.bank-section{
  margin-top: 5%;
}

h4{
  font-size: 2rem;
}

.board{
  width: 100%;
}

/* Detail-popup */

.details-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.details-popup {
  background: #f9fbfd;
  width: 90%;
  max-width: 1100px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  overflow: auto;
  max-height: 90vh;
}

.details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #6fa5ec;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.details-header h3 {
  font-size: 18px;
  color: #333;
}

.details-summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.details-summary .card {
  flex: 1;
  background: rgb(223, 220, 220);
  border-radius: 10px;
  text-align: center;
  padding: 15px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.details-summary h5 {
  font-size: 20px;
  margin-bottom: 5px;
}

.details-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  margin: 10px;
}

.details-tabs button {
  width: 30%;
  height: 7vh;
  margin-top: 1.8%;
  display: flex;
  justify-content: center;   /* center all buttons */
  align-items: center;
  background-color: #f9f9f9; /* frame background */
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.details-tabs .active {
  background: #1a73e8;
  color: #fff;
}

.details-table-container {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.details-table {
  width: 100%;
  border-collapse: collapse;
}

.details-table th,
.details-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e3e8ef;
}

.status {
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
}

.status.paid {
  background: #e0f8e9;
  color: #28a745;
}

.status.pending {
  background: #fff3cd;
  color: #ff9800;
}

.status.partial {
  background: #e6f0ff;
  color: #007bff;
}



.pagination button {
  border: none;
  padding: 6px 10px;
  background: #eef3fa;
  cursor: pointer;
}

.pagination .active {
  background: #1a73e8;
  color: #fff;
}

/* new css */
.close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
  flex-wrap: wrap;
  gap: 15px;
  width: -webkit-fill-available;
}

.stat-card {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle.blue {
  background: #e8f0ff;
  color: #5271ff;
}

.icon-circle.green {
  background: #dff6e3;
  color: #3ca865;
}

.icon-circle.purple {
  background: #e7e7ff;
  color: #5a4fff;
}

.icon-circle.pink {
  background: #fde8e8;
  color: #c45a64;
}

.stat-info h4 {
  margin: 0;
  font-size: 20px;
  color: #000;
}

.stat-info p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.tab-section h3 {
  margin-bottom: 10px;
}

.tab-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.tab-buttons button {
  padding: 8px 15px;
  border: 1px solid #ccc;
  background: white;
  border-radius: 5px;
  cursor: pointer;
}

.tab-buttons button.active {
  background: #0d6efd;
  color: white;
}

.tab-buttons input {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.payout-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.payout-table th,
.payout-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.status {
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
}

.status.paid {
  background-color: #d4edda;
  color: #155724;
}

.status.pending {
  background-color: #fff3cd;
  color: #856404;
}

.status.partial {
  background-color: #cce5ff;
  color: #004085;
}

/* lead {follow-up} */

.followup-container {
  background-color: #e9f0f7;
  min-height: 100vh;
  padding: 30px;
  font-family: "Segoe UI", sans-serif;
}

.title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.session-info {
  text-align: right;
  font-size: 14px;
  margin-bottom: 20px;
  color: #333;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px 25px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.section-title {
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid #2a4d7a;
  padding-bottom: 5px;
  color: #2a4d7a;
}

.sub-card {
  margin-top: 20px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 15px;
}

.sub-title {
  background-color: #0a2b4e;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 16px;
  margin-bottom: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 5px;
}

input,
select,
textarea {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 8px;
  font-size: 14px;
}

textarea {
  resize: none;
  height: 70px;
}

.add-btn {
  margin-top: 15px;
  background-color: #0a2b4e;
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 5px;
  cursor: pointer;
}

.add-btn:hover {
  background-color: #143f6b;
}

/* .search-input {
  margin-bottom: 10px;
  padding: 6px;
  border-radius: 5px;
  border: 1px solid #ccc;
} */

.call-table {
  width: 100%;
  border-collapse: collapse;
}

.call-table th,
.call-table td {
  border: 1px solid #ddd;
  text-align: center;
  padding: 8px;
  font-size: 14px;
}

.call-table th {
  background-color: #0a2b4e;
  color: white;
}

.actions button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding: 12px;
  align-items: center;
  gap: 8px;
  }
  


.pagination button {
  background-color: #0a2b4e;
  color: white;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
}

.pagination button:hover {
  background-color: #123b6b;
}



/* lead{editleadmodal} */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.modal-container {
  background: #fff;
  border-radius: 10px;
  width: 80%;
  max-width: 950px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.modal-body label {
  font-weight: 500;
  color: #333;
}

.lead-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
}

.lead-score {
  display: inline-block;
  font-size: 1.2rem;
}

.modal-footer {
  text-align: right;
  border-top: 1px solid #dee2e6;
  margin-top: 15px;
  padding-top: 10px;
}

/* lead{viewmodal} */

.lead-details-modal {
  width: 100%;
  max-width: 990px;
  border-radius: 10px;
  background: #fff;
  padding: 20px;
}

.details-header {
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 15px;
}

.details-header h4 {
  margin-bottom: 15px;
}

/* lead{followup} */




.followup-modal {
  width: 85%;
  max-width: 1000px;
  border-radius: 10px;
  background: #fff;
  padding: 20px;
}

.followup-modal  {
  color: #05213d;
  font-weight: 600;
}

.followup-modal table {
  margin-top: 10px;
}

/* lead{history} */

.timeline {
  position: relative;
  padding-left: 60px;
  margin-top: 20px;
}

/* Vertical line */
.timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 85px;
  bottom: 85px;
  width: 3px;
  background-color: #010307;
  border-radius: 5px;
}

/* Bullet list */
.timeline .bullet {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each bullet */
.timeline .bullet li {
  position: relative;
  margin-bottom: 20px;
}

/* Circle dot */
.timeline .bullet li::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 25px;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 3px solid #010408;
  border-radius: 50%;
  z-index: 1;
}

/* Horizontal connector from circle to box */
.timeline .bullet li::after {
  content: "";
  position: absolute;
  left: -21px;
  top: 31px;
  width: 24px;
  height: 2px;
  background: #01050a;
}

/* Timeline box style */
.timeline-event {
  background: #f6fafa;
  border: 2px solid #000;
  border-radius: 10px;
  padding: 15px 20px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.3s;
}

.timeline-event:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
}

/* Status badge */
.timeline-event .status {
  display: inline-block;
  margin-top: 5px;
  background-color: #0a0a0a;
  color: white;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 12px;
  width: fit-content;
}

.form-control-show{
  width: 100%;
}

select.form-select.form-select-sm.new {
    background-color: #d4d9ed;
    color: #3b3edf;
}
select.form-select.form-select-sm.converted {
    background-color: #d4edda;
    color: #155724;
}
select.form-select.form-select-sm.in-progress {
    background-color: #fff3cd;
    color: #856404;
}
select.form-select.form-select-sm.pending {
    background-color: #f8d7da;
    color: #721c24;
}



