.aud_message {
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 25px 20px 25px 70px;
    background: rgba(0, 0, 0, 0.7);
    color: #FFF;
    border-radius: 8px;
    font-size: 18px;
    display: block;
    max-width: 400px;
    z-index: 99999;
    width: 100%;
}
.aud_message.aud_success {
    background: url(../img/tick.png) rgba(0, 0, 0, 0.7) no-repeat 10px center;
}
.aud_message.aud_error {
    background: url(../img/cross.png) rgba(0, 0, 0, 0.7) no-repeat 10px center;
}
.aud_message.aud_warning {
    background: url(../img/warning.png) rgba(0, 0, 0, 0.7) no-repeat 10px center;
}
.cke_notifications_area {
    display: none;
}

/** Main menu page */
.ckeditor-content h1, .ckeditor-content h2, .ckeditor-content h3, .ckeditor-content h4, .ckeditor-content h5, .ckeditor-content h6, .ckeditor-content p  {
    display: none;
}
.c-startups-product .tab-content { min-height: 250px;}

/*********Rating****/
.c-talk-to-lawyaar-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.c-rate-lawyaar {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.c-rate-label {
  font-size: 12px;
  color: #555;
  margin: 0;
  text-align: center;
}

.c-star-rating {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.c-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 1px;
  font-size: 16px;
  color: #f5a623;
  transition: transform 0.1s;
  line-height: 1;
}

.c-star-btn:hover {
  transform: scale(1.2);
}

.c-rating-feedback {
  font-size: 11px;
  color: #28a745;
  min-height: 14px;
  height: 14px;
  overflow: hidden;
  text-align: center;
  display: block;
  white-space: nowrap;
}

/* Review Box */
.c-review-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.c-review-input {
  width: 100%;
  font-size: 11px;
  padding: 5px 7px;
  border: 1px solid #ddd;
  border-radius: 6px;
  resize: none;
  outline: none;
  color: #333;
  background: #f9f9f9;
  transition: border 0.2s;
}

.c-review-input:focus {
  border-color: #7c6be0;
  background: #fff;
}

.c-review-submit-btn {
  width: 100%;
  padding: 5px 0;
  font-size: 12px;
  font-weight: 600;
  background: #7c6be0;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.c-review-submit-btn:hover {
  background: #5a48c8;
}

/* ── Overlay ── */
.c-review-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

/* ── Modal Box ── */
.c-review-modal {
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px 20px;
  width: 340px;
  max-width: 95vw;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideUp 0.25s ease;
}

/* ── Header ── */
.c-review-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-review-modal-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0;
}

.c-review-modal-close {
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.c-review-modal-close:hover {
  background: #e0e0e0;
}

/* ── Star Display inside Modal ── */
.c-review-modal-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 26px;
  color: #f5a623;
}

/* ── Emoji Section ── */
.c-emoji-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.c-emoji-label {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.c-emoji-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.c-emoji-btn {
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 8px 6px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.2s;
  min-width: 52px;
}

.c-emoji-btn span {
  font-size: 26px;
  line-height: 1;
  transition: transform 0.2s;
}

.c-emoji-btn small {
  font-size: 10px;
  color: #777;
  font-weight: 500;
}

.c-emoji-btn:hover {
  background: #ede9ff;
  border-color: #7c6be0;
  transform: translateY(-2px);
}

.c-emoji-btn:hover span {
  transform: scale(1.2);
}

.c-emoji-btn.active {
  background: #ede9ff;
  border-color: #7c6be0;
}

.c-emoji-btn.active small {
  color: #7c6be0;
  font-weight: 700;
}

/* ── Submit Button ── */
.c-review-submit-btn {
  width: 100%;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 700;
  background: #7c6be0;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.3px;
}

.c-review-submit-btn:hover {
  background: #5a48c8;
  transform: translateY(-1px);
}

.c-review-submit-btn:active {
  transform: translateY(0);
}

/* ── Feedback ── */
.c-review-modal-feedback {
  font-size: 12px;
  text-align: center;
  min-height: 14px;
  height: 27px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
}

/* ── Animations ── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/******Rating END******/

/******reviewmodal css*/

.review-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  /* main modal layer */
}

.review-box {
  position: relative;
  background: #fff;
  padding: 25px;
  width: 420px;
  border-radius: 12px;
  z-index: 10000;
}

/* rating header fix */
.review-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.review-box {
  position: relative;
  background: white;
  width: 440px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  overflow: hidden;
}

.review-box-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

#reviewList {
  overflow-y: auto;
  flex: 1;
  padding: 0;
}

.review-box-footer {
  padding: 12px 20px;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
  text-align: center;
}

.review-box-footer button {
  font-size: 13px;
  padding: 8px 28px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  color: #444;
}

.review-box-footer button:hover {
  background: #f5f5f5;
}

.rating-open {
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  transition: background 0.2s, transform 0.15s;
  user-select: none;
}

.rating-open i {
  color: #ffc107;
  font-size: 14px;
}

.rating-open:hover {
  background: #000000;
  transform: scale(1.05);
  cursor: pointer;
}

.rating-open:active {
  transform: scale(0.97);
}

/******reviewmodal css*****/
/*********profile page css*********/
.profile-card {
  max-width: 720px;
  /* wider */
  margin: 40px auto;
  /* centered on page */
  background: #fff;
  border-radius: 14px;
  border: 0.5px solid #e5e7eb;
  overflow: hidden;
}

.profile-header {
  /* background: #1e3a5f; */
  background-color: #1600a2;
  padding: 28px 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
  color: #1e3a5f;
  flex-shrink: 0;
}

.profile-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.profile-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.badge-verified {
  background: #22c55e;
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.joined-text {
  font-size: 12px;
  color: #93c5fd;
}

.profile-info-row {
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  gap: 24px;
}

.profile-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  /* font-size: 11px; */
  font-size: 14px;
  font-weight: 600;
  /* color: #aaa; */
  color: #121122;
  text-transform: uppercase;
  /* letter-spacing: 0.5px; */
}

.info-value {
  font-size: 13px;
  color: #555;
}

.profile-reviews {
  padding: 16px 24px;
}

.reviews-title {
  margin: 0 0 12px;
  /* font-size: 13px;
  font-weight: 500;
  color: #111; */
  font-size: 14px;
  font-weight: 600;
  color: #121122;
}

.reviews-count {
  font-weight: 400;
  color: #aaa;
}

.review-item {
  background: #f9fafb;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.review-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-lawyer-name {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #111;
}

.review-date {
  margin: 2px 0 0;
  font-size: 11px;
  color: #aaa;
}

.review-stars {
  display: flex;
  gap: 1px;
  flex-shrink: 0;
}

.review-text {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.no-reviews {
  font-size: 13px;
  color: #aaa;
  text-align: center;
  padding: 16px 0;
}

.avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.avatar-edit-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 10px;
  color: #1e3a5f;
  border: 1px solid #e5e7eb;
}

.edit-toggle-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.edit-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.profile-edit-form {
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  background: #f9fafb;
}

.edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.edit-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.edit-field label {
  /*font-size: 11px;
   color: #aaa; */
   font-size: 14px;
   font-weight: 600;
  color: #121122;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.edit-field input[type="text"],
.edit-field input[type="date"] {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #111;
  background: #fff;
  outline: none;
  transition: border 0.2s;
}

.edit-field input:focus {
  border-color: #1e3a5f;
}

.edit-field input[type="file"] {
  font-size: 13px;
  color: #555;
}

.edit-actions {
  display: flex;
  gap: 10px;
}

.btn-save {
  /* background: #1e3a5f; */
  background-color: #1600a2;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-save:hover {
  /* background: #16304f; */
  background-color: #5cbd32;
}

.btn-cancel {
  background: #fff;
  color: #555;
  border: 1px solid #e5e7eb;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}

.avatar,
.avatar-img {
  width: 77px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: #eee;
  overflow: hidden;
}


/*s***********profile page css end********* */