/* Header Custom Styles */

/* Product Quick Access Buttons */
.main-menu__product-btn-outlined {
  background: #fff;
  color: #856dfc;
  border: 2px solid #856dfc;
  box-shadow: none;
  transition: all 0.3s ease;

  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

.main-menu__product-btn-outlined:hover {
  background: #f3f0ff;
  color: #6b4fd9;
  border-color: #6b4fd9;
  box-shadow: 0 4px 8px rgba(133, 109, 252, 0.3);

  transform: translateY(-2px);
}

.main-menu__product-btn-outlined i {
  font-size: 16px;
}

.main-menu__product-btn-outlined span {
  font-size: 13px;
}

.main-menu__products {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-menu__products-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-menu__products-mobile {
  display: none;
}

.main-menu__product-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  background: #856dfc;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

.main-menu__product-btn:hover {
  background: #6b4fd9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(133, 109, 252, 0.3);
}

.main-menu__product-btn i {
  font-size: 16px;
}

.main-menu__product-btn span {
  font-size: 13px;
}

/* Product Dropdown */
.main-menu__product-dropdown {
  cursor: pointer;
}

.main-menu__product-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999;
  padding: 8px 0;
}

.main-menu__product-dropdown:hover .main-menu__product-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu__product-submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #333;
  font-size: 14px;
  transition: all 0.3s ease;
}

.main-menu__product-submenu a:hover {
  background: #f5f5f5;
  color: #856dfc;
  padding-left: 25px;
}

.main-menu__product-submenu a i {
  font-size: 16px;
  width: 20px;
}

.main-menu__product-submenu-group {
  padding: 8px 0;
  border-top: 1px solid #eee;
  margin-top: 5px;
}

.main-menu__product-submenu-group p {
  padding: 8px 20px;
  color: #666;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Login Button */
.main-menu__login {
  margin-left: 15px;
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.main-menu__login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  color: #856dfc;
  border-radius: 50%;
  border: 2px solid #856dfc;
  font-size: 20px;
  transition: all 0.3s ease;
}

.main-menu__login-btn:hover {
  background: #856dfc;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(133, 109, 252, 0.4);
}

/* Responsive Breakpoints */

/* Extra Large Desktop (>= 1920px) - Show all 4 buttons */
@media (min-width: 1920px) {
  .main-menu__products-desktop {
    display: flex;
  }

  .main-menu__products-mobile {
    display: none;
  }
}

/* All screens below 1920px - Show dropdown */
@media (max-width: 1919px) {
  .main-menu__products-desktop {
    display: none;
  }

  .main-menu__products-mobile {
    display: flex;
  }
}

/* Ensure products and login always visible */
.main-menu__products,
.main-menu__login {
  display: flex !important;
}

/* Mobile adjustments - Keep visible but adjust submenu position */
@media (max-width: 767px) {
  .main-menu__product-submenu {
    right: 0;
    left: auto;
    min-width: 220px;
  }

  .main-menu__login {
    margin-left: 10px;
    padding-left: 10px;
  }

  .main-menu__login-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* Extra small mobile - Adjust button text */
@media (max-width: 575px) {
  .main-menu__product-btn span {
    font-size: 12px;
  }

  .main-menu__product-btn {
    padding: 8px 10px;
  }
}

/* Top header hotline styling */
.main-header__top-address li a {
  color: inherit;
  transition: color 0.3s ease;
}

.main-header__top-address li a:hover {
  color: #856dfc;
}

/* Social links - Fix height issue */
.main-header__top-right-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-header__top-right-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  transition: all 0.3s ease;
  line-height: 1;
}

.main-header__top-right-social a:hover {
  transform: translateY(-2px);
}

.main-header__top-right-social a i {
  font-size: 14px;
  line-height: 1;
}

/* Form Input Styles */
.comment-form__input-box input[type="tel"],
.comment-form__input-box input[type="password"] {
  height: 60px;
  width: 100%;
  border: none;
  background-color: var(--notech-extra);
  padding-left: 30px;
  padding-right: 30px;
  outline: none;
  font-size: 14px;
  color: var(--notech-gray);
  display: block;
}

.comment-form__input-box select {
  height: 60px;
  width: 100%;
  border: none;
  background-color: var(--notech-extra);
  padding-left: 30px;
  padding-right: 30px;
  outline: none;
  font-size: 14px;
  color: var(--notech-gray);
  display: block;
  cursor: pointer;
}

.comment-form__input-box input:focus,
.comment-form__input-box select:focus {
  border-color: #856dfc;
  box-shadow: 0 0 0 2px rgba(133, 109, 252, 0.1);
}

/* User Menu Styles */
.main-menu__user-menu {
  position: relative;
}

.main-menu__user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.main-menu__user-info:hover {
  background-color: rgba(133, 109, 252, 0.1);
}

.main-menu__user-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-menu__user-info::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 12px;
  color: #666;
  margin-left: 4px;
}

.main-menu__user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.main-menu__user-info:hover .main-menu__user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu__user-dropdown-item {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #f5f5f5;
}

.main-menu__user-dropdown-item:hover {
  background-color: #f8f9fa;
  color: #856dfc;
}

.main-menu__user-dropdown-item:last-child {
  border-bottom: none;
}

.main-menu__user-dropdown-item i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.main-menu__logout-btn {
  color: #dc3545 !important;
}

.main-menu__logout-btn:hover {
  background-color: #f8d7da !important;
  color: #721c24 !important;
}

/* Account Page Styles - Blog Layout */
.blog-sidebar .sidebar {
  padding: 0;
}

.blog-sidebar .sidebar__single {
  margin-bottom: 30px;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-sidebar .sidebar__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  position: relative;
  padding-bottom: 10px;
}

.blog-sidebar .sidebar__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #856dfc;
}

.blog-sidebar .sidebar__category-list li {
  margin-bottom: 10px;
}

.blog-sidebar .sidebar__category-list li a {
  display: block;
  padding: 12px 15px;
  color: #666;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.blog-sidebar .sidebar__category-list li a:hover,
.blog-sidebar .sidebar__category-list li.active a {
  background: #856dfc;
  color: #fff;
}

.blog-sidebar .sidebar__category-list li a span {
  float: right;
  margin-top: 2px;
}

/* User Info Card */
.user-info-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  /* background: linear-gradient(135deg, #856dfc 0%, #6b4fd9 100%); */
  border-radius: 8px;
  /* color: white; */
}

.user-avatar {
  flex-shrink: 0;
}

.user-details h5 {
  margin: 0 0 5px 0;
  font-size: 18px;
  font-weight: 600;
}

.user-details p {
  margin: 0 0 10px 0;
  opacity: 0.9;
  font-size: 14px;
}

.user-details small {
  opacity: 0.8;
  font-size: 12px;
}

/* Content Area */
.blog-details__content {
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-details__meta {
  margin-bottom: 20px;
}

.blog-details__meta h2 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.blog-details__title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 30px 0 20px 0;
}

/* Profile Tab */
.blog-details__author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.blog-details__author-image img {
  border-radius: 50%;
  border: 3px solid #856dfc;
}

.blog-details__author-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
}

.blog-details__author-content p {
  color: #666;
  margin: 0 0 15px 0;
}

/* Contact Form */
.contact-form__input-box {
  margin-bottom: 20px;
}

.contact-form__input-box input {
  width: 100%;
  height: 50px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 0 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.contact-form__input-box input:focus {
  border-color: #856dfc;
  box-shadow: 0 0 0 2px rgba(133, 109, 252, 0.1);
  outline: none;
}

.contact-form__btn {
  background: #856dfc;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form__btn:hover {
  background: #6b4fd9;
  transform: translateY(-2px);
}

.thm-btn--secondary {
  background: #6c757d !important;

  border: none;
  border-radius: 4px;
  padding: 12px 30px;
}

.thm-btn--secondary:hover {
  background: #5a6268 !important;
}

/* Danger variant for thm-btn - follows same structure as thm-btn */
.thm-btn--danger {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
  outline: none !important;
  background-color: #dc3545;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 40px 14px;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
  overflow: hidden;
  z-index: 1;
  border: none;
  border-radius: 4px;
  padding: 12px 30px;
}

.thm-btn--danger:hover {
  color: #fff;
}

.thm-btn--danger::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-color: #b02a37;
  -webkit-transition-delay: .1s;
  transition-delay: .1s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
  -webkit-transition-property: all;
  transition-property: all;
  opacity: 1;
  -webkit-transform-origin: top;
  transform-origin: top;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  z-index: -1;
}

.thm-btn--danger:hover::after {
  opacity: 1;
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

/* Subscription Cards */
.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 100%;
}

.blog-card__content {
  padding: 25px;
}

.blog-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
}

.blog-card__meta {
  margin-bottom: 10px;
  color: #666;
  font-size: 14px;
}

.blog-card__meta strong {
  color: #333;
}

.blog-card__btn {
  margin-top: 20px;
}

.blog-card__btn .thm-btn {
  margin-right: 10px;
  margin-bottom: 10px;
}

/* Subscription Card Styles */
.subscription-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subscription-card__content h3 {
  color: #333;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.subscription-card__meta {
  margin-bottom: 10px;
  color: #666;
  font-size: 14px;
}

.subscription-card__meta strong {
  color: #333;
}

.subscription-card__btn {
  margin-top: 15px;
}

.subscription-card__btn .thm-btn {
  margin-right: 10px;
}

/* Expert Subscription Card */
.expert-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 25px;
  color: white;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  border: 2px solid #667eea;
}

.expert-card.available {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-color: #f5576c;
  box-shadow: 0 8px 25px rgba(245, 87, 108, 0.3);
}

.expert-card.subscribed {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-color: #4facfe;
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}

.expert-card__content h4 {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.expert-card__price {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.expert-card__features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.expert-card__features li {
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.expert-card__features li:before {
  content: "✓";
  margin-right: 8px;
  color: #fff;
  font-weight: bold;
}

.expert-card__status {
  margin-top: 15px;
}

.badge-premium {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #333;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Expert Subscription Card (Active) */
.expert-subscription-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 20px;
  color: white;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  border: 2px solid #667eea;
}

.expert-subscription-card.active {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-color: #4facfe;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
  }

  50% {
    box-shadow: 0 8px 35px rgba(79, 172, 254, 0.5);
  }

  100% {
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
  }
}

.expert-subscription-card__content h3 {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.expert-subscription-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.expert-subscription-card__meta {
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.expert-subscription-card__features {
  margin: 15px 0;
}

.expert-subscription-card__features ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.expert-subscription-card__features li {
  padding: 3px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.expert-subscription-card__actions {
  margin-top: 20px;
}

/* Enhanced Pricing Card */
.pricing-card__price {
  font-size: 18px;
  font-weight: 600;
  color: #856dfc;
  margin: 10px 0 15px 0;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  text-align: left;
}

.pricing-card__features li {
  padding: 5px 0;
  font-size: 14px;
  color: #666;
  position: relative;
  padding-left: 20px;
}

.pricing-card__features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #856dfc;
  font-weight: bold;
}

/* Subscription Card Enhancements */
.subscription-card.active {
  border: 2px solid #856dfc;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.subscription-card__header {
  /* display: flex; */
  justify-content: space-between;
  align-items: flex-start;
  /* margin-bottom: 15px; */
}

.subscription-card__features {
  margin: 15px 0;
}

.subscription-card__features ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.subscription-card__features li {
  padding: 3px 0;
  font-size: 13px;
  color: #666;
}

.subscription-card__actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}