.header {
  height: 65px;
  background: white;
  border-bottom: 1px solid #b0d1ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header .left_side {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header .left_side .toggle_btn {
  border: none;
  background: no-repeat;
  margin-right: 14px;
  font-size: 20px;
  font-weight: 400;
}

.header .left_side .logo_div {}

.header .left_side .logo_div .img_logo {
  height: auto;
  width: 150px;
}

.header .profile {
  display: flex;
  align-items: center;
}

.header .profile .circle_div {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #1967d3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .profile .circle_div .inner_name {
  color: #fff;
  font-size: 14px;
  margin-bottom: 0px;
  font-weight: 500;
}


/* ---------------- */
/* Dropdown Toggle Button */
.header .profile .credit_toggle_btn {
  background-color: #f0f4f8;
  border: none;
  color: #1a2a47;
  padding: 7px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  font-size: 14px;
}

/* Main Dropdown Menu */
.header .profile .credit-dropdown-menu {
  width: 340px;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  margin-top: 8px;
}

.header .profile .credit-dropdown-menu .credit-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.header .profile .credit-dropdown-menu .credit-close-btn {
  background: transparent;
  border: none;
  color: #1e293b;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.header .profile .credit-dropdown-menu .credit-close-btn:hover {
  opacity: 0.7;
}

/* Icon Box Styles */
.header .profile .credit-dropdown-menu .credit-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.header .profile .credit-dropdown-menu .blue-box {
  background-color: #0066ff;
}

.gradient-box {
  background: linear-gradient(135deg, #0066ff 0%, #b026ff 100%);
}

.header .profile .credit-dropdown-menu .purple-box {
  background-color: #f47a26;
}

/* Content Typography */
.header .profile .credit-dropdown-menu .credit-count {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.1;
}

.header .profile .credit-dropdown-menu .credit-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.header .profile .credit-dropdown-menu .credit-info-icon {
  color: #64748b;
  font-size: 0.85rem;
  cursor: pointer;
}

.header .profile .credit-dropdown-menu .credit-expiry-text {
  font-size: 11px;
  color: #353535;
  margin: 2px 0 0 0;
}

.header .profile .credit-dropdown-menu .credit-divider {
  margin: 12px 0;
  border-color: #f1f5f9;
  opacity: 1;
}

/* Badge & CTA Styles */
.header .profile .credit-dropdown-menu .discount-badge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -4px;
  position: relative;
  z-index: 2;
}

.header .profile .credit-dropdown-menu .discount-badge {
  background: linear-gradient(90deg, #6b21a8 0%, #e11d48 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header .profile .credit-dropdown-menu .badge-percent-icon {
  font-size: 0.65rem;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  padding: 2px;
  width: 10px;
  height: 10px;
}

.header .profile .credit-dropdown-menu .badge-arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #b81e7d;
}

.header .profile .credit-dropdown-menu .credit-buy-btn {
  width: 100%;
  background-color: #0f766e;
  border: none;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .profile .credit-dropdown-menu .credit-buy-btn:hover {
  background-color: #0d655e;
}


/* profile dropdown */
/* Dropdown Wrapper */
.profile_dropdown {
  position: relative;
  display: inline-block;
}

/* Custom Avatar Trigger */
.circle_div {
  width: 36px;
  height: 36px;
  background-color: #4a3b53;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

/* Hide default Bootstrap arrow on toggle */
.circle_div::after {
  display: none !important;
}

.inner_name {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

/* Menu Dropdown Overrides */
.profile_menu {
  min-width: 250px !important;
  border-radius: 12px !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  padding: 16px !important;
}

/* Header Inside Menu */
.profile_header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header_avatar {
  position: relative;
  width: 38px;
  height: 38px;
  background-color: #1967d3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar_text {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: normal;
}

.user_info {
  display: flex;
  flex-direction: column;
}

.user_name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.user_phone {
  font-size: 12px;
  color: #192b45;
  margin: 2px 0 0 0;
  font-weight: 500;
}

/* Divider Line */
.dropdown_divider {
  border: 0;
  border-top: 1px solid #9ccbfa;
  margin: 14px 0 8px 0;
  opacity: 1;
}

/* Nav Menu List */
.menu_items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0px;
  border-radius: 8px;
  color: #061e41;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.menu_item:hover {
  background-color: #f8fafc;
  color: #1e293b;
}

.menu_icon {
  font-size: 0.95rem;
  color: #64748b;
}

/* Sign Out Red Styling */
.sign_out_btn {
  color: #dc2626;
}

.sign_out_btn:hover {
  background-color: #fef2f2;
  color: #dc2626;
}

.sign_out_icon {
  color: #dc2626;
}



@media (min-width:0px) and (max-width:767.98px) {
  .header .left_side .logo_div .img_logo {
    width: 110px;
  }

  .header {
    padding: 0px 10px;
  }

  .header .profile .credit_toggle_btn .coins_icon {
    margin-right: 0px !important;
  }

  .header .profile .credit_toggle_btn .inner_text,
  .header .profile .dropdown-toggle::after {
    display: none;
  }

  .header .profile .credit-dropdown-menu .credit-card-title {
    font-size: 15px;
  }

  .header .profile .credit-dropdown-menu .credit-icon-box {
    width: 35px;
    height: 35px;
    font-size: 13px;
  }

  .header .profile .credit-dropdown-menu .credit-label {
    font-size: 13px;
  }

  .header .profile .credit-dropdown-menu .credit-buy-btn {
    padding: 9px 16px;
    font-size: 13px;
  }

  .header .profile .credit-dropdown-menu .credit-count {
    font-size: 17px;
  }

  .header .profile .credit-dropdown-menu {
    width: 300px;
    padding: 10px;
    background: aliceblue;
  }
}

@media (min-width:576px) and (max-width:991px) {

  .header .profile .circle_div {
    width: 33px;
    height: 33px;
  }

  .header {
    padding: 13px 8px;
  }

  .header .profile .credit_toggle_btn {
    font-size: 13px;
  }

  .header .left_side .logo_div .img_logo {
    height: auto;
    width: 120px;
  }
}

@media (min-width:992px) and (max-width:1399px) {

  .header .profile .circle_div {
    width: 33px;
    height: 33px;
  }

  .header .left_side .logo_div .img_logo {
    height: auto;
    width: 140px;
  }
}