/* Add your custom styles here */
.admin-dashboard {
  font-family: Arial, sans-serif;
}

.dashboard-header {
  background: #f5f5f5;
  padding: 20px;
}

.dashboard-balance {
  background: #333;
  color: #fff;
  padding: 20px;
  margin: 20px 0;
}

.withdraw-button {
  background: #ff6f61;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
}

.dashboard-table {
  background: #fff;
  padding: 20px;
}

.search-button,
.clear-button {
  background: #ff6f61;
  color: #fff;
  padding: 10px 20px;
  margin: 10px;
}

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

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
}

th {
  background: #f2f2f2;
}

.details-button,
.send-button {
  background: #ff6f61;
  color: #fff;
  padding: 5px 10px;
}

.consultant-profile-container {
  display: flex;
}





.upload-section {
  margin-bottom: 20px;
}

.upload-button {
  padding: 10px 20px;
  background-color: #ff4081;
  color: white;
  border: none;
  cursor: pointer;
}

.consultant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.consultant-item {
  width: 48%;
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
}

.consultant-item img {
  max-width: 100%;
  height: auto;
}

.consult-button {
  padding: 10px 20px;
  background-color: #ff4081;
  color: white;
  border: none;
  cursor: pointer;
}




/* button {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #ffffff !important;
  border: none;
  border-radius: 5px;
  cursor: pointer;
} */

.button-icon {
  width: 20px;
  /* Adjust the size as needed */
  height: auto;
  margin-right: 10px;
  /* Space between image and text */
}

button img {
  display: inline-block;
}

/* consultant profile  */
.consultant-profile {
  text-align: center;
  background: #f7f7f7;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 0 auto;
}

.consultant-profile .top-image img {
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
}

.consultant-profile .profile-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-top: -50px;
  border: 5px solid white;
}

.consultant-profile .profile-info {
  padding: 20px;
}

.consultant-profile .profile-info h2 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

.consultant-profile .profile-info p {
  margin: 5px 0;
  color: #555;
}

.consultant-profile .services {
  margin-top: 20px;
}

.consultant-profile .services button {
  display: block;
  width: 80%;
  margin: 10px auto;
  padding: 10px;
  border: none;
  background: #00aaff;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

.consultant-profile .services button:hover {
  background: #0088cc;
}

/* Premium Admin Chat Styles */
:root {
  --premium-gold: #D4AF37;
  --premium-dark: #1a1a1a;
  --premium-light: #f5f5f5;
  --section-bg: #222222;
}

#ixi-chat-modal .ixi-chat-modal-content {
  /* Match Header/Theme Gradient to remove white border */
  background: linear-gradient(180deg, #D81B60 0%, #880E4F 100%);
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ixi-modal-header {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: var(--premium-gold);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--premium-gold);
}

.ixi-header-info {
  display: flex;
  align-items: center;
  width: 100%;
}

.ixi-user-info {
  flex: 1;
}

.ixi-user-info h3 {
  color: var(--premium-light);
  margin: 0;
  font-size: 1.2rem;
}

.ixi-user-info span {
  color: var(--premium-gold);
  font-size: 0.9rem;
  font-weight: 600;
}

.ixi-stats-bar {
  display: flex;
  gap: 15px;
  margin-right: 20px;
}

.ixi-stat-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  text-align: center;
  min-width: 80px;
}

.ixi-stat-label {
  display: block;
  font-size: 0.7rem;
  color: #aaa;
  text-transform: uppercase;
}

.ixi-stat-value {
  display: block;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
}

.ixi-chat-messages {
  background-color: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239C92AC' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.ixi-chat-msg {
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  position: relative;
  max-width: 70%;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.ixi-chat-msg.send {
  /* Admin/Consultant */
  background: #dcf8c6;
  align-self: flex-end;
  border-top-right-radius: 0;
}

.ixi-chat-msg.received {
  /* Client */
  background: #fff;
  align-self: flex-start;
  border-top-left-radius: 0;
}

.ixi-msg-time {
  font-size: 0.65rem;
  color: #999;
  text-align: right;
  margin-top: 4px;
}

/* consultant list shortcode */
.consultant-list {
  margin: 20px;
}

.consultant {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  background: #fff;
}

.consultant-header {
  display: flex;
  justify-content: space-between;
}

.consultant-header img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.consultant-info {
  flex: 1;
  margin-left: 20px;
}

.consultant-experience {
  text-align: right;
}

.consultant-experience p {
  margin: 0 0 10px 0;
}

.btn {
  display: inline-block;
  padding: 8px 12px;
  margin: 5px 0;
  background: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.consultant-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.stat {
  text-align: center;
  flex: 1;
  border-right: 1px solid #ddd;
}

.stat:last-child {
  border-right: none;
}

/* consultant list shortcode */

/* service chat */
#chat-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #ddd;
  padding: 10px;
}

#chat-box {
  height: 400px;
  border: 1px solid #ccc;
  overflow-y: scroll;
  padding: 10px;
  margin-bottom: 10px;
}

#chat-input {
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
}

#send-button {
  width: 100%;
}

.dd-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}

.consultant-details {
  text-align: justify;
}

.services {
  margin: auto;
}

/* table css */
.table-set,
th,
td {
  border: 1px solid grey !important;
  border-collapse: collapse;
  text-align: center;
  padding: 9px 0px;
  font-size: 13px;
}

.table-set th {
  text-transform: capitalize;
  color: #f65169;
  background-color: #ffff;
}

.table-d_flex {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  margin-bottom: 10px;
}

button.details-button {
  padding: 7px 17px;
  border-radius: 6px;
  text-transform: capitalize;
  color: white;
  background-color: #f65169 !important;
  border: none;
}

button.send-button {
  padding: 7px 17px;
  border-radius: 6px;
  text-transform: capitalize;
  color: white;
  background-color: #f65169 !important;
  border: none;
  margin-left: 12px;
}

button#search-services {
  text-transform: capitalize;
  width: 2312px;
  background-color: #f65169 !important;
  color: #ffff;
  margin: 0%;
  border-radius: 5px;
}

button#clear-search {
  text-transform: capitalize;
  background-color: #f65169 !important;
  color: #ffff;
  margin: 0%;
  border-radius: 5px;
}

input[type="email"],
input[type="date"],
input[type="search"],
input[type="number"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  background-color: #ffffff !important;
  border-radius: 8px !important;
  border: 1px solid #ddd !important;
  padding: 10px !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

button.ixi-message-send-btn {
  width: 100%;
  margin: 5px 0px 0px 36px;
  border-radius: 10px;
  background-color: #20a1cf !important;
  color: white;
}

.about-chat-details {
  text-align: end;
  padding: 10px 15px;
}

.ixi-loading {
  text-align: center;
}

div#categories-1 {
  margin-top: 15px;
}

.fe_post-container {
  width: 100%;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.fe_post {
  margin-top: 20px;
  margin-bottom: 20px;
}

.fe_post-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.fe_post-content {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.fe_post-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fe_comments {
  border-top: 1px solid #ddd;
  padding-top: 20px;
  padding-bottom: 20px;
}

.fe_post-with-comments {
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}

.fe_comments-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}

.fe_comment {
  border: 0px solid black;
  border-radius: 3px;
  padding: 6px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fe_comment p {
  margin: 0 !important;
}

.fe_comment-author {
  font-weight: bold;
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
}

.fe_comment-content {
  font-size: 14px;
  color: #666;
}

.fe_comment-form {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.fe_comment-input {
  width: 75% !important;
  padding: 10px;
  font-size: 14px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  /* border-radius: 5px; */
}

.fe_comment-button {
  width: 20% !important;
  padding: 10px 15px;
  font-size: 14px;
  color: #fff !important;
  background-color: #007bff !important;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  align-self: flex-start;
}

.fe_comment-button:hover {
  background-color: #0056b3 !important;
}

div:where(.swal2-container) .swal2-input {
  height: 2.625em;
  padding: 0 0.75em;
  width: 95% !important;
  margin: 0px 11px !important;
}

.ixi_heading {
  text-align: center;
  background-color: black;
  border-radius: 3px;
}

.ixi_heading h2 {
  color: white;
  padding: 7px;
}

/* =========================================
   Consultant Profile Redesign (Phase 3 - Buttons in Header) 
   ========================================= */

.consultant-profile-wrapper {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 40px;
  font-family: 'Poppins', sans-serif;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Header & Banner */
.c-profile-header {
  display: flex;
  flex-direction: column;
}

.c-profile-banner {
  height: 250px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  background-color: #eee;
}

.c-profile-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

/* Identity Section Container */
.c-profile-identity {
  position: relative;
  z-index: 10;
  padding: 0 40px;
  margin-top: -90px;
  display: flex;
  flex-direction: row;
  /* Side by side layout */
  align-items: flex-end;
  /* Align bottom to match avatar bottom roughly */
  gap: 30px;
}

/* Avatar - Left Side */
.c-profile-avatar-wrapper {
  flex-shrink: 0;
}

.c-profile-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  background: #fff;
  display: block;
}

/* Right Side Content */
.c-profile-header-content {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
  /* Spacing from bottom of avatar area */
  width: 100%;
}

.c-header-top {
  margin-bottom: 15px;
}

.c-profile-name {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 15px;
}

.c-profile-rating {
  font-size: 16px;
  font-weight: 600;
  color: #f5a623;
  background: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
}

.c-profile-rating .star-icon {
  margin-right: 4px;
}

/* Buttons Row */
.c-header-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Pink Pill Buttons */
.c-profile-btn {
  display: inline-block;
  background-color: #efaec5;
  /* Pink base */
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 50px;
  /* Pill shape */
  text-decoration: none;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8),
    /* Outer shadow matches pink */
    0 4px 10px rgba(239, 174, 197, 0.4);
  border: 2px solid #fff;
  /* Outer white rim */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.c-profile-btn:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 1),
    0 6px 15px rgba(239, 174, 197, 0.6);
  background-color: #f1bacc;
  color: #fff;
}


/* Bio below header */
.c-profile-bio {
  width: 100%;
  margin: 30px 0;
  padding: 0 40px;
  text-align: left;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

/* Reviews */
.c-profile-reviews {
  padding: 40px;
  margin-top: 50px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

.c-reviews-header h3 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  width: 100%;
  font-weight: 700;
}

.c-reviews-header h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #ff6f61;
  /* Keeping orange accent for title underline */
  margin: 10px auto 0;
}

.c-reviews-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.c-reviews-list li {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  font-size: 15px;
  color: #555;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #efaec5;
  /* Accent color matches buttons */
  line-height: 1.6;
}

.c-no-reviews {
  text-align: center;
  color: #999;
}

/* Edit Button */
.edit-profile-action {
  text-align: center;
  padding: 20px;
  background: transparent;
}

.c-btn-edit {
  padding: 12px 30px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.c-btn-edit:hover {
  background-color: #000;
}

/* Online/Offline Status Indicators */
.image-container {
  position: relative !important;
  display: inline-block !important;
  z-index: 10;
}

.status-indicator-dot {
  position: absolute;
  bottom: 5px;
  right: 15px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #fff;
  z-index: 100;
}

.status-indicator-dot.online {
  background-color: #4cd964;
  /* Green */
  box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.7);
  animation: pulse-green 2s infinite;
}

.status-indicator-dot.offline {
  background-color: #ff3b30;
  /* Red */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  /* No animation for offline, just a red dot */
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(76, 217, 100, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(76, 217, 100, 0);
  }
}


/* Action Cards (Body Grid) - Restored */
.c-profile-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px 40px;
  width: 100%;
}

.c-action-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.c-action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

/* Bottom highlight bar */
.c-action-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ff6f61;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.c-action-card:hover::before {
  opacity: 1;
}

.c-action-icon {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: none;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.c-action-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-action-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.c-action-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.c-action-price {
  font-size: 16px;
  color: #777;
  margin-bottom: 5px;
  font-weight: 500;
}

.c-action-cta {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ff6f61;
  letter-spacing: 0.5px;
  margin-top: 5px;
}


/* Responsive */
@media (max-width: 768px) {
  .consultant-profile-wrapper {
    border-radius: 0;
    /* Full edge on mobile */
    margin-bottom: 20px;
  }

  .c-profile-banner {
    height: 200px;
  }

  .c-profile-identity {
    flex-direction: column;
    /* Stack on mobile */
    align-items: center;
    margin-top: -60px;
    text-align: center;
    padding: 0 20px;
    gap: 10px;
  }

  .c-profile-avatar {
    width: 140px;
    height: 140px;
    border-width: 4px;
    display: block;
    margin: 0 auto;
  }

  .c-profile-header-content {
    padding-bottom: 0;
    align-items: center;
    width: 100%;
  }

  .c-profile-name {
    justify-content: center;
    flex-direction: column;
    /* Name above stars on mobile */
    margin-bottom: 15px;
    font-size: 26px;
    width: 100%;
  }

  .c-header-actions {
    justify-content: center;
    width: 100%;
    flex-direction: column;
    /* Stack buttons on very small screens? Or keeping row. */
  }

  .c-profile-btn {
    width: 100%;
    /* Full width buttons on mobile */
  }

  .c-profile-bio {
    padding: 0 20px;
    text-align: center;
    /* Center bio on mobile */
  }

  .c-profile-actions {
    grid-template-columns: 1fr;
    /* Stack cards on mobile */
    padding: 20px;
  }

  .c-action-icon {
    width: 100px;
    /* Slightly smaller on mobile but still large */
    height: 100px;
  }
}

/* ---------------------------------------------------- */
/* Consultant Profile Full Width Redesign - Jan 2026    */
/* ---------------------------------------------------- */

/* 1. Hide Sidebar & Force Full Width for Profile Page (ID 27966) */
.page-id-27966 .sidebar-container,
.page-id-27966 .widget-area {
  display: none !important;
}

.page-id-27966 .site-content,
.page-id-27966 .content-area,
.page-id-27966 .col-lg-9 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
}

/* 2. Profile Container */
.consultant-profile-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  color: #4a4a4a;
}

/* 3. Header Redesign */
.c-profile-header {
  position: relative;
  text-align: center;
  background: #fff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  /* Softer shadow */
  overflow: visible;
  /* Allow avatar to overflow if needed, but we pull it up */
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.c-profile-banner {
  height: 320px;
  width: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 15px 15px 0 0;
  /* Match container top */
  position: relative;
}

/* Avatar centered overlapping banner */
.c-profile-identity {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -85px;
  /* Pull up */
}

.c-profile-avatar-wrapper {
  width: 170px;
  height: 170px;
  border-radius: 25px;
  /* Smooth square */
  border: 5px solid #fff;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  margin-bottom: 15px;
  z-index: 2;
}

.c-profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Name & Rating */
.c-profile-name {
  font-size: 32px;
  font-weight: 700;
  margin: 5px 0;
  color: #333;
}

.c-profile-rating {
  display: inline-flex;
  align-items: center;
  background: #fff3f8;
  color: #e91e63;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  margin-left: 10px;
  vertical-align: middle;
}

/* Buttons */
.c-header-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.c-profile-btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

/* Chat Button (Pink) */
.c-profile-btn.start-new-chat,
.c-profile-btn:nth-child(1) {
  background: linear-gradient(135deg, #ff4081 0%, #e91e63 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

/* Email Button (Purple/Alt) */
.c-profile-btn.ixi-modal-open-btn,
.c-profile-btn:nth-child(2) {
  background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
}

/* Free Button (Outline) */
.c-profile-btn.ask-free-question,
.c-profile-btn:nth-child(3) {
  background: transparent;
  color: #e91e63;
  border-color: #e91e63;
}

.c-profile-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 4. Labels (Tags) Style */
.c-profile-details {
  margin-top: 40px;
  text-align: left;
  /* Keep details readable */
  padding: 0 20px 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.c-profile-labels-section {
  margin-bottom: 25px;
}

.c-label-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  display: block;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 8px;
}

.c-label-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.c-profile-label {
  background: #f8f9fa;
  color: #555;
  padding: 8px 16px;
  border-radius: 8px;
  /* Rectangular-ish with radius */
  font-size: 14px;
  border: 1px solid #eee;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.c-profile-label i {
  margin-right: 6px;
  color: #e91e63;
}

/* 5. Bio Text */
.c-profile-bio {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 40px;
  text-align: left;
  /* Or center? usually left is better for reading long text */
}

/* Remove default WP image margins */
.c-profile-bio img {
  margin: 5px;
  border-radius: 8px;
}

/* Custom Product Grid Alignment for My Account */
.my-products-grid-custom ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.my-products-grid-custom ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

@media (max-width: 768px) {
  .my-products-grid-custom ul.products {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

/* ---------------------------------------------------- */
/* Question & Response Premium Styles - Jan 2026        */
/* ---------------------------------------------------- */

.fe_post-with-comments {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}

.fe_post-container {
  display: block !important;
  grid-template-columns: none !important;
  flex-wrap: nowrap !important;
}

.fe_post-with-comments:hover {
  transform: translateY(-2px);
}

.fe_comments {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px dashed #f0f0f0;
}

.fe_comment {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 15px;
  max-width: 85%;
  position: relative;
  box-shadow: none !important;
  border: 1px solid #eee;
}

.fe_comment.consultant-reply {
  background: #fff5f8;
  /* Soft pink */
  border-color: #ffdce5;
  margin-left: auto;
  border-bottom-right-radius: 2px;
  text-align: right;
}

.fe_comment:not(.consultant-reply) {
  border-bottom-left-radius: 2px;
}

.fe_comment-author {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 6px !important;
}

.consultant-reply .fe_comment-author {
  color: #e91e63;
  font-weight: 700;
}

.fe_comment-content {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

.fe_comment-form {
  margin-top: 30px;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #eee;
  display: flex;
  gap: 10px;
}

.fe_comment-input {
  flex: 1;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  padding: 12px 15px !important;
  font-size: 14px !important;
  outline: none !important;
}

.fe_comment-input:focus {
  border-color: #e91e63 !important;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1) !important;
}

.fe_comment-button {
  background: #e91e63;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fe_comment-button:hover {
  background: #c2185b;
  transform: scale(1.02);
}

/* =========================================
   Chat Message Timestamp Styles
   ========================================= */
.ixi-msg-content {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  max-width: 100%;
}

.ixi-chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 70%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.ixi-chat-msg.send {
  margin-left: auto;
}

.ixi-chat-msg.received {
  margin-right: auto;
}

.ixi-msg-time {
  font-size: 10px;
  color: #888;
  margin-top: 4px;
  opacity: 0.8;
}

.ixi-chat-msg.send .ixi-msg-time {
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
}

.ixi-chat-msg.received .ixi-msg-time {
  text-align: left;
  color: #888;
}

/* Chat Ended System Message */
.ixi-chat-msg.system-message.chat-ended {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%) !important;
  color: #fff !important;
  text-align: center !important;
  margin: 20px auto !important;
  max-width: 80% !important;
  border-radius: 12px !important;
  padding: 15px 20px !important;
  box-shadow: 0 4px 15px rgba(238, 90, 90, 0.3) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.ixi-chat-msg.system-message.chat-ended .ixi-msg-content {
  color: #fff !important;
}

/* Disabled input style */
.ixi-msg-input:disabled {
  background-color: #f0f0f0 !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
}

.ixi-message-send-btn:disabled {
  cursor: not-allowed !important;
}

/* Chat Info Display Styles */
#totalChargedCredit,
#userWalletBalance {
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 5px 0;
  display: inline-block;
}

#totalChargedCredit {
  background-color: #e91e63;
  color: #fff;
}

#userWalletBalance {
  background-color: #4caf50;
  color: #fff;
}


/* Hide Header Search and Wishlist */
.wd-header-search,
.wd-header-wishlist {
  display: none !important;
}

/* Diagrammed Chat Header Layout */
/* Diagrammed Chat Header Layout - Revised */
.chat-header-diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 15px 0;
  margin-top: 10px;
  border-top: 1px solid #f1f1f1;
  width: 100%;
}

@media (max-width: 768px) {
  .chat-header-diagram {
    flex-wrap: wrap;
    gap: 20px;
  }
}

.chat-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-top: 2px;
}

/* Pills */
.finance-pill {
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#totalChargedCredit {
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.wallet-pill {
  background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

/* Exit Button Styles */
.diagram-exit-btn {
  background: linear-gradient(90deg, #ff8dc7 0%, #ff5eb1 100%) !important;
  background-color: #ff5eb1 !important;
  color: #fff !important;
  border: none !important;
  padding: 8px 25px !important;
  border-radius: 25px !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(255, 94, 177, 0.4) !important;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
  opacity: 1 !important;
  visibility: visible !important;
}

.diagram-exit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 94, 177, 0.6) !important;
}

/* FIX: Missing .ixi-modal definition preventing visibility issues */
.ixi-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.ixi-modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
}

/* Hide Recent Posts Widget Globally (Requested by User) */
.widget_recent_entries,
.widget_recent_entries_2,
.footer-widget-recent-entries,
footer .widget_recent_entries,
.woodmart-recent-posts,
.widget_woodmart_recent_posts,
.wd-recent-posts,
#recent-posts-2,
#recent-posts-3,
.footer-sidebar .widget_recent_entries,
.footer-column .widget_recent_entries {
  display: none !important;
}

/* Hide 'Minha Conta', 'Comparar', and 'Lista de Desejos' in Mobile Menu */
.wd-nav-mobile .menu-item-compare,
.wd-nav-mobile .compare-icon-link,
.mobile-menu-tab-mobile .menu-item-compare,
.mobile-menu-tab-mobile .compare-icon-link,
.wd-nav-mobile .wd-my-account-links,
.mobile-menu-tab-mobile .wd-my-account-links,
.mobile-nav-bottom .wd-my-account-links,
.mobile-nav-bottom .menu-item-account,
.wd-nav-mobile li.menu-item-account,
.wd-nav-mobile .menu-item-wishlist,
.wd-nav-mobile .wishlist-icon-link,
.mobile-menu-tab-mobile .menu-item-wishlist,
.mobile-menu-tab-mobile .wishlist-icon-link {
  display: none !important;
}

/* Hide persistent floating sidebar opener globally */
.woodmart-sticky-sidebar-opener,
.wd-sidebar-opener,
.wd-nav-opener.wd-style-text {
  display: none !important;
}

/* 
   FIX: iPhone/iOS White Bar Below Footer 
   Sets the "void" area background to black to match the footer/theme 
   instead of the default browser white.
*/
html,
body {
  background-color: #101010 !important;
  /* Dark background for overscroll area */
}

/* Ensure the main site content stays white/light */
.website-wrapper,
.main-page-wrapper,
.site-content {
  background-color: #fff;
}