* {
  box-sizing: border-box;
}

.bookConsultation {
  width: 100%;
  max-width: 1200px;
  padding: 2rem 1rem;
}
.bookConsultation-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.bookConsultation-header .backLink {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: white;
  color: #082645;
  text-decoration: none;
}
.bookConsultation-header .backLink:hover {
  background-color: #8bad7f;
  color: white;
}
.bookConsultation-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #082645;
}
.bookConsultation-content {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 1.3rem;
}
@media screen and (max-width: 900px) {
  .bookConsultation-content {
    grid-template-columns: 1fr;
  }
}
.bookConsultation-specialist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bookConsultation-form {
  background-color: white;
  border-radius: 20px;
  padding: 2rem;
}

.specialistCard {
  background-color: white;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.specialistCard-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.specialistCard-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.specialistCard-image-placeholder {
  width: 100%;
  height: 100%;
  background-color: #e1e9fd;
  display: flex;
  align-items: center;
  justify-content: center;
}
.specialistCard-image-placeholder i {
  font-size: 2rem;
  color: #082645;
}
.specialistCard-info {
  flex: 1;
}
.specialistCard-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #082645;
  margin-bottom: 0.25rem;
}
.specialistCard-specialty {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.specialistCard-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #f59e0b;
  font-weight: 500;
  font-size: 0.9rem;
}

.pricingCard {
  background-color: white;
  border-radius: 20px;
  padding: 1.5rem;
}
.pricingCard-title {
  font-size: 1rem;
  font-weight: 600;
  color: #082645;
  margin-bottom: 1rem;
}
.pricingCard-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pricingCard-option {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background-color: #f8f9fa;
  border-radius: 10px;
}
.pricingCard-option .duration {
  color: #666;
}
.pricingCard-option .price {
  font-weight: 600;
  color: #082645;
}

.scheduleCard {
  background-color: white;
  border-radius: 20px;
  padding: 1.5rem;
}
.scheduleCard-title {
  font-size: 1rem;
  font-weight: 600;
  color: #082645;
  margin-bottom: 1rem;
}
.scheduleCard-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: #666;
}
.scheduleCard-row i {
  color: #8bad7f;
  width: 20px;
}

.formSection {
  margin-bottom: 2rem;
}
.formSection-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #082645;
  margin-bottom: 1rem;
}
.formSection-title .stepNumber {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #8bad7f;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.formSection-summary {
  background-color: #f8f9fa;
  border-radius: 15px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.consultationType-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media screen and (max-width: 500px) {
  .consultationType-options {
    grid-template-columns: 1fr;
  }
}

.consultationType-option {
  cursor: pointer;
}
.consultationType-option input {
  display: none;
}
.consultationType-option .optionContent {
  padding: 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 15px;
  text-align: center;
  transition: all 0.2s;
}
.consultationType-option .optionContent i {
  font-size: 2rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
  display: block;
}
.consultationType-option .optionContent .optionTitle {
  display: block;
  font-weight: 600;
  color: #082645;
  margin-bottom: 0.25rem;
}
.consultationType-option .optionContent .optionDesc {
  display: block;
  font-size: 0.85rem;
  color: #9ca3af;
}
.consultationType-option.active .optionContent {
  border-color: #8bad7f;
  background-color: rgba(139, 173, 127, 0.05);
}
.consultationType-option.active .optionContent i {
  color: #8bad7f;
}
.consultationType-option.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.locationInfo {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 10px;
}
.locationInfo-address, .locationInfo-instructions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.locationInfo-address i, .locationInfo-instructions i {
  color: #8bad7f;
  margin-top: 2px;
}
.locationInfo-map {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #8bad7f;
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.5rem;
}
.locationInfo-map:hover {
  text-decoration: underline;
}

.duration-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media screen and (max-width: 600px) {
  .duration-options {
    grid-template-columns: 1fr;
  }
}

.duration-option {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 15px;
  transition: all 0.2s;
}
.duration-option input {
  display: none;
}
.duration-option .durationValue {
  font-size: 2rem;
  font-weight: 700;
  color: #082645;
}
.duration-option .durationUnit {
  color: #9ca3af;
  margin-bottom: 0.5rem;
}
.duration-option .durationPrice {
  font-weight: 600;
  color: #8bad7f;
  font-size: 0.9rem;
}
.duration-option.active {
  border-color: #8bad7f;
  background-color: rgba(139, 173, 127, 0.05);
}

.date-selector .showMoreDates {
  width: 100%;
  padding: 0.75rem;
  background: none;
  border: 1px dashed #e5e7eb;
  border-radius: 10px;
  color: #9ca3af;
  cursor: pointer;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.date-selector .showMoreDates:hover {
  border-color: #8bad7f;
  color: #8bad7f;
}

.date-options,
.date-options-more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.date-option {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s;
}
.date-option input {
  display: none;
}
.date-option .dateDay {
  font-size: 1.25rem;
  font-weight: 700;
  color: #082645;
}
.date-option .dateMonth {
  font-size: 0.8rem;
  color: #9ca3af;
  text-transform: uppercase;
}
.date-option.active {
  border-color: #8bad7f;
  background-color: #8bad7f;
}
.date-option.active .dateDay,
.date-option.active .dateMonth {
  color: white;
}

.time-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.time-option {
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.2s;
}
.time-option input {
  display: none;
}
.time-option.active {
  border-color: #8bad7f;
  background-color: #8bad7f;
  color: white;
}

.time-loading,
.time-empty,
.time-error {
  padding: 2rem;
  text-align: center;
  color: #9ca3af;
  width: 100%;
}
.time-loading i,
.time-empty i,
.time-error i {
  margin-right: 0.5rem;
}

.time-error {
  color: #ef4444;
}

.bookingSummary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.bookingSummary-row .label {
  color: #666;
}
.bookingSummary-row .value {
  font-weight: 500;
  color: #082645;
}
.bookingSummary-row:last-child {
  border-bottom: none;
}
.bookingSummary-total {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid #082645;
}
.bookingSummary-total .label,
.bookingSummary-total .value {
  font-size: 1.1rem;
  font-weight: 700;
}
.bookingSummary-total .value {
  color: #8bad7f;
}

.bookingNotice {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  margin: 1.5rem 0;
}
.bookingNotice i {
  color: #3b82f6;
  margin-top: 2px;
}
.bookingNotice p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.submitBtn {
  width: 100%;
  padding: 1rem 2rem;
  background-color: #8bad7f;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.submitBtn:hover {
  background-color: #082645;
}
.submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.myConsultations {
  width: 100%;
  max-width: 1000px;
  padding: 2rem 1rem;
}
.myConsultations-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
@media screen and (max-width: 600px) {
  .myConsultations-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
}
.myConsultations-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #082645;
}
.myConsultations .newConsultationBtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #8bad7f;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
}
.myConsultations .newConsultationBtn:hover {
  background-color: #082645;
}

.consultationsSection {
  margin-bottom: 2rem;
}
.consultationsSection-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #082645;
}
.consultationsSection-title i {
  color: #8bad7f;
}

.consultationsList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.consultationsList-archived .consultationCard {
  opacity: 0.8;
}

.consultationCard {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background-color: white;
  border-radius: 15px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.consultationCard:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
@media screen and (max-width: 700px) {
  .consultationCard {
    flex-wrap: wrap;
  }
}
.consultationCard-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.consultationCard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.consultationCard-avatar .avatar-placeholder {
  width: 100%;
  height: 100%;
  background-color: #e1e9fd;
  display: flex;
  align-items: center;
  justify-content: center;
}
.consultationCard-avatar .avatar-placeholder i {
  color: #082645;
}
.consultationCard-info {
  flex: 1;
  min-width: 150px;
}
.consultationCard-specialist {
  font-size: 1rem;
  font-weight: 600;
  color: #082645;
  margin-bottom: 0.25rem;
}
.consultationCard-specialty {
  font-size: 0.85rem;
  color: #666;
}
.consultationCard-schedule {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #666;
  font-size: 0.9rem;
}
.consultationCard-schedule > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.consultationCard-schedule > div i {
  width: 16px;
  color: #8bad7f;
}
.consultationCard-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
.consultationCard-type {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}
.consultationCard-type.type-online {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.consultationCard-type.type-offline {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.consultationCard-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}
.consultationCard-arrow {
  color: #ccc;
}
@media screen and (max-width: 700px) {
  .consultationCard-arrow {
    display: none;
  }
}
.consultationCard-actions {
  display: flex;
  gap: 0.5rem;
}
.consultationCard-actions .actionBtn {
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.consultationCard-actions .actionBtn:hover {
  border-color: #8bad7f;
  color: #8bad7f;
}

.consultationsEmpty {
  padding: 3rem 2rem;
  text-align: center;
  background-color: white;
  border-radius: 15px;
}
.consultationsEmpty i {
  font-size: 3rem;
  color: #ddd;
  margin-bottom: 1rem;
}
.consultationsEmpty p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1rem;
}
.consultationsEmpty .emptyAction {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #8bad7f;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
}
.consultationsEmpty-small {
  padding: 2rem;
}
.consultationsEmpty-small i {
  font-size: 2rem;
}
.consultationsEmpty-small p {
  margin-bottom: 0;
}

.status-badge.status-pending {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.status-badge.status-in-progress {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.status-badge.status-finished {
  background-color: rgba(54, 186, 152, 0.1);
  color: #36ba98;
}
.status-badge.status-cancelled {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.status-badge.status-no-show {
  background-color: rgba(102, 102, 102, 0.1);
  color: #666;
}

.consultationChat {
  width: 100%;
  height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  background-color: #f5f7f8;
}
.consultationChat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
  position: static;
  top: 0;
}
.consultationChat-header .backLink {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #082645;
  text-decoration: none;
}
.consultationChat-header .backLink:hover {
  background-color: #f5f7f8;
}
.consultationChat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}
.consultationChat-header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e1e9fd;
  display: flex;
  align-items: center;
  justify-content: center;
}
.consultationChat-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.consultationChat-header-avatar i {
  color: #082645;
}
.consultationChat-header-text h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #082645;
  margin-bottom: 0.25rem;
}
.consultationChat-header-text .status-badge {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
}
.consultationChat-header-actions {
  display: flex;
  gap: 0.5rem;
}
.consultationChat-header-actions .actionBtn {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: white;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.consultationChat-header-actions .actionBtn:hover {
  border-color: #8bad7f;
  color: #8bad7f;
}
.consultationChat-header-actions .actionBtn-cancel {
  border-color: #ef4444;
  color: #ef4444;
}
.consultationChat-header-actions .actionBtn-cancel:hover {
  background-color: #ef4444;
  color: white;
}
@media screen and (max-width: 600px) {
  .consultationChat-header-actions .actionBtn span {
    display: none;
  }
}
.consultationChat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.consultationChat-main.sidebar-open::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
  display: none;
}
@media screen and (max-width: 900px) {
  .consultationChat-main.sidebar-open::before {
    display: block;
    cursor: pointer;
  }
}
.consultationChat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}
.consultationChat-input {
  padding: 1rem 1.5rem;
  background-color: white;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.consultationChat-input form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.consultationChat-input .inputWrapper {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}
.consultationChat-input .inputWrapper textarea {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 25px;
  resize: none;
  outline: none;
  font-size: 0.95rem;
  min-height: 44px;
  max-height: 150px;
  font-family: inherit;
  line-height: 1.4;
}
.consultationChat-input .inputWrapper textarea:focus {
  border-color: #8bad7f;
  box-shadow: 0 0 0 3px rgba(139, 173, 127, 0.1);
}
.consultationChat-input .inputWrapper textarea:disabled {
  background-color: #f5f7f8;
  cursor: not-allowed;
}
.consultationChat-input .inputWrapper button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: #8bad7f;
  color: white;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}
.consultationChat-input .inputWrapper button:hover {
  background-color: #082645;
  transform: scale(1.05);
}
.consultationChat-input .inputWrapper button:active {
  transform: scale(0.95);
}
.consultationChat-input .inputWrapper button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.consultationChat-input .inputWrapper button i {
  display: block;
}
.consultationChat-input .rateLimitNotice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f59e0b;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  background-color: rgba(245, 158, 11, 0.05);
  border-radius: 8px;
}
.consultationChat-input .chatClosed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  text-align: center;
}
.consultationChat-input .chatClosed i {
  font-size: 1.5rem;
  color: #999;
}
.consultationChat-input .chatClosed span {
  color: #666;
  font-size: 0.95rem;
}
.consultationChat-input .chatClosed .rebookBtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background-color: #8bad7f;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.5rem;
}
.consultationChat-input .chatClosed .rebookBtn i {
  font-size: 1rem;
  color: white;
}
.consultationChat-input .chatClosed .rebookBtn:hover {
  background-color: #082645;
}
.consultationChat-sidebar {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 320px;
  height: 100%;
  background-color: white;
  border-left: 1px solid #e5e7eb;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 50;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 900px) {
  .consultationChat-sidebar {
    width: 100%;
    position: fixed;
    z-index: 999;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  }
}
.consultationChat-sidebar.active {
  transform: translateX(0);
}
.consultationChat-sidebar .sidebar-close {
  position: sticky;
  top: 0;
  right: 0;
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background-color: white;
  color: #666;
  cursor: pointer;
  border-radius: 8px;
  font-size: 1.2rem;
  margin: 0.75rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s;
}
.consultationChat-sidebar .sidebar-close:hover {
  background-color: #f5f7f8;
  color: #082645;
}
.consultationChat-sidebar .sidebar-close:active {
  transform: scale(0.95);
}
@media screen and (max-width: 900px) {
  .consultationChat-sidebar .sidebar-close {
    display: flex;
  }
}
.consultationChat-sidebar .sidebar-close i {
  display: block;
}
.consultationChat-sidebar .sidebar-section {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}
.consultationChat-sidebar .sidebar-section h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #082645;
  margin-bottom: 1rem;
}
.consultationChat-sidebar .sidebar-section-danger h3 {
  color: #ef4444;
}
.consultationChat-sidebar .infoRow {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}
.consultationChat-sidebar .infoRow .label {
  color: #666;
  font-size: 0.9rem;
}
.consultationChat-sidebar .infoRow .value {
  font-weight: 500;
  color: #082645;
  font-size: 0.9rem;
}
.consultationChat-sidebar .instructionsList {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.consultationChat-sidebar .instruction {
  display: flex;
  gap: 0.75rem;
}
.consultationChat-sidebar .instruction .num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #8bad7f;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}
.consultationChat-sidebar .instruction p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}
.consultationChat-sidebar .verificationToken {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: #f5f7f8;
  border-radius: 10px;
}
.consultationChat-sidebar .verificationToken code {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: #082645;
  font-family: "Courier New", monospace;
  word-break: break-all;
}
.consultationChat-sidebar .verificationToken .copyBtn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.consultationChat-sidebar .verificationToken .copyBtn:hover {
  color: #8bad7f;
}
.consultationChat-sidebar .tokenNote {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.5rem;
}
.consultationChat-sidebar .cancelNote {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.consultationChat-sidebar .cancelBtn {
  width: 100%;
  padding: 0.75rem;
  background-color: #ef4444;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}
.consultationChat-sidebar .cancelBtn:hover {
  background-color: rgb(226.242364532, 19.357635468, 19.357635468);
}
.consultationChat-sidebar .cancelBtn:active {
  transform: scale(0.98);
}

.chatNotice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: rgba(245, 158, 11, 0.1);
  color: rgb(196.737007874, 126.588976378, 8.062992126);
  border-radius: 10px;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin: 0;
}
.chatNotice i {
  flex-shrink: 0;
}
.chatNotice p {
  margin: 0;
  line-height: 1.4;
}

.chatDivider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
  color: #999;
  font-size: 0.8rem;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  background: linear-gradient(to bottom, #f5f7f8 0%, transparent 100%);
  z-index: 10;
}
.chatDivider::before, .chatDivider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #e5e7eb;
}
.chatDivider.historyToggle {
  cursor: pointer;
  user-select: none;
  padding: 0.75rem 0;
}
.chatDivider.historyToggle:hover {
  color: #8bad7f;
}
.chatDivider.historyToggle:hover::before, .chatDivider.historyToggle:hover::after {
  background-color: #8bad7f;
}
.chatDivider.historyToggle #historyChevron {
  transition: transform 0.3s ease;
}
.chatDivider.historyToggle #historyChevron.rotated {
  transform: rotate(180deg);
}

.chatHistory {
  margin: 0;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 10px;
  max-height: 300px;
  overflow-y: auto;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
}
.chatHistory-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.chatHistory-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.chatHistory-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #999;
}
.chatHistory-empty {
  text-align: center;
  color: #999;
  font-size: 0.85rem;
  padding: 1rem 0;
}

.messagesContainer {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
  scroll-behavior: smooth;
}
.messagesContainer::-webkit-scrollbar {
  width: 6px;
}
.messagesContainer::-webkit-scrollbar-track {
  background: transparent;
}
.messagesContainer::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}
.messagesContainer::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.msg-box {
  display: flex;
  gap: 0.75rem;
  max-width: 75%;
  align-items: flex-end;
}
@media screen and (max-width: 600px) {
  .msg-box {
    max-width: 90%;
  }
}
.msg-box.msg-own {
  align-self: flex-end;
  justify-content: flex-end;
}
.msg-box.msg-own .msg-content {
  background-color: #8bad7f;
  color: white;
}
.msg-box.msg-own .msg-content .msg-sender {
  color: rgba(255, 255, 255, 0.8);
}
.msg-box.msg-own .msg-content .msg-time {
  color: rgba(255, 255, 255, 0.7);
}
.msg-box.msg-system {
  max-width: 100%;
  align-self: center;
  justify-content: center;
}
.msg-box.msg-system .msg-content {
  background-color: rgba(0, 0, 0, 0.05);
  color: #666;
  text-align: center;
  font-size: 0.85rem;
}

.msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e1e9fd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.msg-avatar i {
  font-size: 0.9rem;
  color: #082645;
}

.msg-content {
  background-color: white;
  padding: 0.75rem 1rem;
  border-radius: 15px;
}
.msg-content .msg-sender {
  font-size: 0.75rem;
  color: #8bad7f;
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: block;
}
.msg-content .msg-text {
  margin: 0;
  line-height: 1.4;
  word-wrap: break-word;
}
.msg-content .msg-time {
  font-size: 0.7rem;
  color: #999;
  display: block;
  margin-top: 0.25rem;
  text-align: right;
}

.msg-actions {
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.msg-box:hover .msg-actions {
  opacity: 1;
}
.msg-actions .msg-delete {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 0.5rem;
  opacity: 0.5;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}
.msg-actions .msg-delete:hover {
  opacity: 1;
}
.msg-actions .msg-delete:active {
  transform: scale(0.95);
}
@media screen and (max-width: 768px) {
  .msg-actions .msg-delete {
    opacity: 0.6;
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
  }
  .msg-actions .msg-delete:active {
    opacity: 1;
    background-color: rgba(239, 68, 68, 0.2);
  }
}

.messagesEmpty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
}
.messagesEmpty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.messagesEmpty p {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.messagesEmpty span {
  font-size: 0.9rem;
  opacity: 0.7;
}

.chatClosed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}
.chatClosed i {
  font-size: 1.5rem;
  color: #999;
}
.chatClosed span {
  color: #666;
}
.chatClosed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.chatClosed-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.chatClosed-btn-primary {
  background: #8bad7f;
  color: white;
}
.chatClosed-btn-primary:hover {
  background: #082645;
}
.chatClosed-btn-secondary {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #e0e0e0;
}
.chatClosed-btn-secondary:hover {
  background: #eeeeee;
  border-color: #ccc;
}
.chatClosed-btn-success {
  background: #e8f5e9;
  color: #2e7d32;
}
.chatClosed-btn-success:hover {
  background: #c8e6c9;
}
.chatClosed .rebookBtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #8bad7f;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
}
.chatClosed .rebookBtn i {
  color: white;
}
.chatClosed .rebookBtn:hover {
  background-color: #082645;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  position: relative;
  background-color: white;
  padding: 2rem;
  border-radius: 20px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}
.modal-content h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #ef4444;
  margin-bottom: 1rem;
}
.modal-content p {
  color: #666;
  margin-bottom: 1rem;
}
.modal-refund {
  padding: 1rem;
  background-color: #f5f7f8;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}
.modal-refund p {
  margin: 0;
}
.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.modal-actions .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: none;
  font-weight: 500;
  cursor: pointer;
}
.modal-actions .btn-secondary {
  background-color: #f5f7f8;
  color: #666;
}
.modal-actions .btn-secondary:hover {
  background-color: #e5e7eb;
}
.modal-actions .btn-danger {
  background-color: #ef4444;
  color: white;
}
.modal-actions .btn-danger:hover {
  background-color: rgb(226.242364532, 19.357635468, 19.357635468);
}

.specialistConsultations {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-y: auto;
  flex: 1;
}

.consultationsSection {
  margin-bottom: 2rem;
  flex-shrink: 0;
}
.consultationsSection-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.consultationsSection-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #082645;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.consultationsSection-title i {
  color: #8bad7f;
}
.consultationsSection-count {
  background-color: #8bad7f;
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 500;
}

.consultationsList {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.consultationsList--compact {
  gap: 0.5rem;
}

.consultationCard {
  background-color: white;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}
.consultationCard:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.consultationCard--today {
  border-left: 4px solid #8bad7f;
}
.consultationCard--upcoming {
  padding: 0.75rem 1rem;
}
.consultationCard-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}
.consultationCard-date .dateDay {
  font-size: 1.25rem;
  font-weight: 700;
  color: #082645;
}
.consultationCard-date .dateMonth {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
}
.consultationCard-date.horizontal {
  flex-direction: row;
}
.consultationCard-time {
  display: flex;
  flex-direction: column;
  min-width: 100px;
}
.consultationCard-time .timeBlock {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.consultationCard-time .timeValue {
  font-weight: 600;
  color: #082645;
}
.consultationCard-time .timeDivider {
  color: #999;
}
.consultationCard-time .duration {
  font-size: 0.8rem;
  color: #999;
}
.consultationCard-time.horizontal {
  flex-direction: row;
}
.consultationCard-patient {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}
.consultationCard-type {
  min-width: 80px;
}
.consultationCard-status {
  min-width: 100px;
}
.consultationCard-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.consultationCard-token {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: #f5f7f8;
  border-radius: 8px;
  font-size: 0.85rem;
}
.consultationCard-token .tokenLabel {
  color: #666;
}
.consultationCard-token .tokenValue {
  font-family: monospace;
  font-weight: 600;
  color: #082645;
}
@media screen and (max-width: 900px) {
  .consultationCard {
    flex-wrap: wrap;
  }
  .consultationCard-token {
    width: 100%;
    margin-top: 0.5rem;
  }
}

.patientAvatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e1e9fd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.patientAvatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.patientAvatar i {
  color: #999;
}
.patientAvatar--sm {
  width: 32px;
  height: 32px;
}
.patientAvatar--xs {
  width: 24px;
  height: 24px;
  font-size: 0.7rem;
}

.patientInfo {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.patientInfo .patientName {
  font-weight: 500;
  color: #082645;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.patientInfo .patientUsername {
  font-size: 0.8rem;
  color: #999;
}

.typeTag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}
.typeTag--online {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.typeTag--offline {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.typeTag--sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}
.typeTag--xs {
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
}

.statusTag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}
.statusTag--sm {
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
}

.status-pending,
.statusTag.status-pending {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.status-in-progress,
.statusTag.status-in-progress {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.status-finished,
.statusTag.status-finished {
  background-color: rgba(54, 186, 152, 0.1);
  color: #36ba98;
}

.status-cancelled,
.statusTag.status-cancelled {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.status-no-show,
.statusTag.status-no-show {
  background-color: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}

.actionBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.actionBtn--primary {
  background-color: #8bad7f;
  color: white;
}
.actionBtn--secondary {
  background-color: #f5f7f8;
  color: #082645;
}
.actionBtn--secondary:hover {
  background-color: #e5e7eb;
}
.actionBtn--danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.actionBtn--danger:hover {
  color: white;
}

.emptyState {
  padding: 2rem;
  text-align: center;
  background-color: #f9fafb;
  border-radius: 12px;
  border: 2px dashed #e5e7eb;
}
.emptyState i {
  font-size: 2.5rem;
  color: #d1d5db;
  margin-bottom: 0.75rem;
}
.emptyState p {
  color: #9ca3af;
  margin: 0;
}
.emptyState--sm {
  padding: 1.5rem;
}
.emptyState--sm i {
  font-size: 2rem;
}

.consultationsTable {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
}
.consultationsTable table {
  width: 100%;
  border-collapse: collapse;
}
.consultationsTable thead {
  background-color: #f9fafb;
}
.consultationsTable thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.consultationsTable tbody tr {
  border-bottom: 1px solid #f3f4f6;
}
.consultationsTable tbody tr:last-child {
  border-bottom: none;
}
.consultationsTable tbody tr:hover {
  background-color: #f9fafb;
}
.consultationsTable tbody td {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #082645;
}
.consultationsTable .tablePatient {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.consultationsTable .tableAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.15s;
}
.consultationsTable .tableAction:hover {
  background-color: #8bad7f;
  color: white;
}

.consultationChatSpecialist {
  height: calc(100vh - 7.75rem);
  max-height: 800px;
}

.chatLayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 1rem;
  height: 100%;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .chatLayout {
    grid-template-columns: 1fr;
  }
}

.chatMain {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}
.chatMain-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}
.chatMain-header .patientInfo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-direction: row;
}
.chatMain-header .patientAvatar {
  width: 48px;
  height: 48px;
}
.chatMain-header .patientDetails h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #082645;
  margin: 0;
}
.chatMain-header .patientDetails .patientUsername {
  font-size: 0.85rem;
  color: #999;
}
.chatMain-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background-color: #f9fafb;
}
.chatMain-input {
  padding: 1rem;
  background-color: white;
  border-top: 1px solid #f3f4f6;
}
.chatMain-input .inputContainer {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}
.chatMain-input .inputContainer textarea {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: inherit;
  resize: none;
  min-height: 44px;
  max-height: 120px;
}
.chatMain-input .inputContainer textarea:focus {
  outline: none;
  border-color: #8bad7f;
}
.chatMain-input .inputContainer .sendBtn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background-color: #8bad7f;
  color: white;
  cursor: pointer;
  transition: background-color 0.15s;
}
.chatMain-input .inputContainer .sendBtn:hover {
  background-color: #082645;
}
.chatMain-input .chatClosed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  color: #999;
}
.chatMain-input .chatClosed i {
  font-size: 1rem;
}
.chatMain-input .chatClosed-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.chatMain-input .chatClosed-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.chatMain-input .chatClosed-btn-primary {
  background: #8bad7f;
  color: white;
}
.chatMain-input .chatClosed-btn-primary:hover {
  background: #082645;
}
.chatMain-input .chatClosed-feedback-sent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}
.chatMain-input .chatClosed-feedback-sent i {
  color: #4caf50;
}

.historyToggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: white;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: #666;
  transition: background-color 0.15s;
}
.historyToggle:hover {
  background-color: #f3f4f6;
}
.historyToggle i:last-child {
  margin-left: auto;
  transition: transform 0.2s;
}

.historyContainer {
  margin-bottom: 1rem;
}

.historyItem {
  background-color: white;
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}
.historyItem-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #666;
}
.historyItem-messages {
  font-size: 0.85rem;
}
.historyItem-empty {
  color: #999;
  font-style: italic;
}

.historyMsg {
  padding: 0.35rem 0;
  color: #666;
}
.historyMsg--specialist {
  color: #082645;
}
.historyMsg strong {
  color: #8bad7f;
}

.messagesContainer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.messageBox {
  display: flex;
  gap: 0.75rem;
  max-width: 80%;
}
.messageBox--own {
  margin-left: auto;
  flex-direction: row-reverse;
}
.messageBox--own .messageContent {
  background-color: #8bad7f;
  color: white;
}
.messageBox--own .messageContent .messageSender {
  color: rgba(255, 255, 255, 0.8);
}
.messageBox--own .messageContent .messageTime {
  color: rgba(255, 255, 255, 0.6);
}
.messageBox--system {
  max-width: 100%;
  justify-content: center;
}
.messageBox--system .messageContent {
  background-color: #f3f4f6;
  color: #6b7280;
  text-align: center;
  font-style: italic;
}

.messageAvatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.messageAvatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.messageAvatar i {
  font-size: 0.9rem;
  color: #999;
}

.messageContent {
  background-color: white;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.messageContent .messageSender {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #8bad7f;
  margin-bottom: 0.25rem;
}
.messageContent .messageText {
  margin: 0;
  line-height: 1.4;
}
.messageContent .messageTime {
  display: block;
  font-size: 0.7rem;
  color: #999;
  margin-top: 0.25rem;
}

.emptyMessages {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #999;
}
.emptyMessages i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #d1d5db;
}

.chatSidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media screen and (max-width: 900px) {
  .chatSidebar {
    display: none;
  }
}

.sidebarSection {
  background-color: white;
  border-radius: 12px;
  padding: 0.9rem;
}
.sidebarSection h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #082645;
  margin: 0 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.sidebarSection--actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sidebarSection--actions .actionBtn {
  width: 100%;
  justify-content: center;
}
.sidebarSection--actions .actionBtn--cancel {
  background-color: #f5f7f8;
  color: #ef4444;
}
.sidebarSection--actions .actionBtn--cancel:hover {
  background-color: #ef4444;
  color: white;
}
.sidebarSection--actions .actionBtn--noshow {
  background-color: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}
.sidebarSection--actions .actionBtn--noshow:hover {
  background-color: #6b7280;
  color: white;
}
.sidebarSection--refund {
  background-color: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.sidebarSection--refund h3 {
  color: #f59e0b;
}

.infoGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.infoItem .infoLabel {
  display: block;
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 0.15rem;
}
.infoItem .infoValue {
  font-size: 0.9rem;
  font-weight: 500;
  color: #082645;
}
.infoItem .infoValue i {
  color: #8bad7f;
}

.verificationBox {
  text-align: center;
}
.verificationBox .verificationToken {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #082645;
  background-color: #f5f7f8;
  padding: 0.75rem;
  border-radius: 8px;
}
.verificationBox .verificationNote {
  font-size: 0.8rem;
  color: #999;
  margin: 0;
}

.contactInfo .telegramLink {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0088cc;
  text-decoration: none;
  font-weight: 500;
}
.contactInfo .telegramLink:hover {
  text-decoration: underline;
}
.contactInfo .telegramLink i {
  font-size: 1.25rem;
}
.contactInfo .noContact {
  color: #999;
  font-style: italic;
}

.refundInfo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.refundInfo .refundStatus {
  font-weight: 500;
  color: #f59e0b;
}
.refundInfo .refundAmount {
  font-weight: 600;
  color: #082645;
}

.text-success {
  color: #36ba98 !important;
}

.text-warning {
  color: #f59e0b !important;
}

.modal {
  display: none;
}
.modal.active {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  position: relative;
  background-color: white;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}
.modal-header h3 {
  margin: 0;
  font-size: 1rem;
  color: #082645;
}
.modal-header .modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  color: #999;
  font-size: 1.25rem;
}
.modal-header .modal-close:hover {
  color: #ef4444;
}
.modal-body {
  padding: 1.25rem;
}
.modal-body p {
  margin: 0 0 1rem;
  color: #666;
}
.modal-body .modal-warning {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-radius: 8px;
  font-size: 0.9rem;
}
.modal-body .modal-refundInfo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: #f5f7f8;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #666;
}
.modal-body .modal-refundInfo i {
  color: #8bad7f;
}
.modal-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid #f3f4f6;
}
.modal-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.modal-btn--secondary {
  background-color: #f5f7f8;
  color: #666;
}
.modal-btn--secondary:hover {
  background-color: #e5e7eb;
}
.modal-btn--danger {
  background-color: #ef4444;
  color: white;
}
.modal-btn--danger:hover {
  background-color: rgb(226.242364532, 19.357635468, 19.357635468);
}

.headerActions {
  display: flex;
  gap: 0.75rem;
}

.headerBtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}
.headerBtn-primary {
  background-color: #8bad7f;
  color: white;
}
.headerBtn-primary:hover {
  background-color: #082645;
}

.consultationHistory {
  width: 100%;
  max-width: 900px;
  padding: 2rem 1rem;
  margin: 0 auto;
}
.consultationHistory-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.consultationHistory-header .backLink {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: white;
  color: #082645;
  text-decoration: none;
}
.consultationHistory-header .backLink:hover {
  background-color: #8bad7f;
  color: white;
}
.consultationHistory-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #082645;
  margin: 0;
}
.consultationHistory-header p {
  color: #666;
  margin: 0;
}

.specialistMiniCard {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: white;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.specialistMiniCard-image {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e1e9fd;
  display: flex;
  align-items: center;
  justify-content: center;
}
.specialistMiniCard-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.specialistMiniCard-image i {
  font-size: 1.5rem;
  color: #999;
}
.specialistMiniCard-info {
  flex: 1;
}
.specialistMiniCard-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #082645;
  margin: 0 0 0.15rem;
}
.specialistMiniCard-info span {
  font-size: 0.85rem;
  color: #666;
}
.specialistMiniCard .bookBtn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background-color: #8bad7f;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.15s;
}
.specialistMiniCard .bookBtn:hover {
  background-color: #082645;
}
.specialistMiniCard .bookBtn--large {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.historyList {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.historyCard {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: white;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: box-shadow 0.2s;
}
.historyCard:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.historyCard-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 55px;
  padding-right: 1rem;
  border-right: 2px solid #f3f4f6;
}
.historyCard-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  color: #082645;
  line-height: 1;
}
.historyCard-date .month {
  font-size: 0.8rem;
  color: #8bad7f;
  text-transform: uppercase;
  font-weight: 500;
}
.historyCard-date .year {
  font-size: 0.75rem;
  color: #999;
}
.historyCard-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.historyCard-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #082645;
}
.historyCard-time i {
  color: #8bad7f;
}
.historyCard-time .duration {
  color: #999;
  font-size: 0.85rem;
}
.historyCard-status {
  min-width: 120px;
}
.historyCard-actions .viewBtn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  background-color: #f5f7f8;
  color: #082645;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.85rem;
  transition: all 0.15s;
}
.historyCard-actions .viewBtn:hover {
  background-color: #8bad7f;
  color: white;
}
@media screen and (max-width: 600px) {
  .historyCard {
    flex-wrap: wrap;
  }
  .historyCard-date {
    border-right: none;
    padding-right: 0;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 0.75rem;
    width: 100%;
    flex-direction: row;
    gap: 0.5rem;
  }
  .historyCard-date .day,
  .historyCard-date .month,
  .historyCard-date .year {
    font-size: 0.9rem;
  }
  .historyCard-actions {
    width: 100%;
  }
  .historyCard-actions .viewBtn {
    width: 100%;
    justify-content: center;
  }
}

.emptyHistory {
  text-align: center;
  padding: 3rem 2rem;
  background-color: white;
  border-radius: 16px;
}
.emptyHistory i {
  font-size: 4rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}
.emptyHistory h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #082645;
  margin: 0 0 0.5rem;
}
.emptyHistory p {
  color: #666;
  margin: 0 0 1.5rem;
}

.consultations-section-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.consultations-section-header .view-all-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #8bad7f;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.15s;
}
.consultations-section-header .view-all-btn:hover {
  background-color: #082645;
}

.consultation-item--new {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.2s;
}
.consultation-item--new:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.consultation-item--new .consultation-item-specialist {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}
.consultation-item--new .consultation-item-specialist .specialist-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e1e9fd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.consultation-item--new .consultation-item-specialist .specialist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.consultation-item--new .consultation-item-specialist .specialist-avatar i {
  color: #999;
}
.consultation-item--new .consultation-item-specialist .specialist-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.consultation-item--new .consultation-item-specialist .specialist-info .specialist-name {
  font-weight: 500;
  color: #082645;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.consultation-item--new .consultation-item-specialist .specialist-info .specialist-specialty {
  font-size: 0.8rem;
  color: #999;
}
.consultation-item--new .consultation-item-schedule {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}
.consultation-item--new .consultation-item-schedule .schedule-date {
  font-weight: 500;
  color: #082645;
  font-size: 0.9rem;
}
.consultation-item--new .consultation-item-schedule .schedule-time {
  font-size: 0.8rem;
  color: #666;
}
.consultation-item--new .consultation-item-status {
  min-width: 100px;
  text-align: center;
}
.consultation-item--new .button {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}
@media screen and (max-width: 600px) {
  .consultation-item--new {
    flex-wrap: wrap;
  }
  .consultation-item--new .consultation-item-specialist {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .consultation-item--new .button {
    width: 100%;
    text-align: center;
  }
}

.consultations-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  text-align: center;
}
.consultations-empty i {
  font-size: 3rem;
  color: #d1d5db;
  margin-bottom: 0.75rem;
}
.consultations-empty p {
  color: #9ca3af;
  margin: 0 0 1rem;
}

@media screen and (max-width: 400px) {
  .consultationCard {
    padding: 0.85rem;
  }
  .consultationCard-schedule {
    flex-direction: column;
    gap: 0.5rem;
  }
  .consultationChat-header-text h2 {
    max-width: 100px;
    font-size: 0.85rem;
  }
  .consultationChat-header-actions .actionBtn {
    padding: 0.35rem;
  }
  .consultationChat-header-actions .actionBtn span {
    display: none;
  }
  .historyCard-details {
    flex-direction: column;
    align-items: center;
  }
}
@media screen and (max-width: 600px) {
  .myConsultations {
    padding: 1rem 0.75rem;
  }
  .myConsultations-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .myConsultations-title {
    font-size: 1.25rem;
    text-align: center;
  }
  .myConsultations .newConsultationBtn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
  }
  .consultationsSection-title {
    font-size: 1rem;
  }
  .consultationCard {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
  }
  .consultationCard-avatar {
    display: none;
  }
  .consultationCard-info {
    text-align: center;
    min-width: auto;
  }
  .consultationCard-specialist {
    font-size: 1.1rem;
  }
  .consultationCard-schedule {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 10px;
  }
  .consultationCard-schedule > div {
    flex-direction: row;
    gap: 0.5rem;
  }
  .consultationCard-meta {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
  }
  .consultationCard-arrow {
    display: none;
  }
  .consultationCard-actions {
    justify-content: center;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid #f3f4f6;
  }
  .consultationsEmpty {
    padding: 2rem 1rem;
  }
  .consultationsEmpty i {
    font-size: 2.5rem;
  }
  .consultationsEmpty p {
    font-size: 1rem;
  }
}
@media screen and (max-width: 768px) {
  .consultationChat {
    height: calc(100vh - 0px);
    height: 100dvh;
  }
  .consultationChat-header {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }
  .consultationChat-header .backLink {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .consultationChat-header-avatar {
    width: 38px;
    height: 38px;
  }
  .consultationChat-header-text h2 {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
  }
  .consultationChat-header-actions {
    gap: 0.35rem;
  }
  .consultationChat-header-actions .actionBtn {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }
  .consultationChat-messages {
    flex: 1;
    min-height: 0;
  }
  .consultationChat-input {
    padding: 0.75rem 1rem;
    flex-shrink: 0;
  }
  .consultationChat-input .inputWrapper {
    gap: 0.4rem;
  }
  .consultationChat-input .inputWrapper textarea {
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
  }
  .consultationChat-input .inputWrapper button {
    width: 40px;
    height: 40px;
  }
  .consultationChat-input .rateLimitNotice {
    font-size: 0.8rem;
    padding-left: 0.5rem;
  }
  .consultationChat-sidebar {
    width: 100%;
    max-width: 100%;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    z-index: 1000;
    transform: translateX(100%);
  }
  .consultationChat-sidebar.active {
    transform: translateX(0);
  }
  .consultationChat-sidebar .sidebar-section {
    padding: 1.25rem;
  }
  .chatNotice {
    margin: 0.75rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.8rem;
  }
  .chatNotice i {
    font-size: 0.9rem;
  }
  .chatDivider {
    margin: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  .chatHistory {
    margin: 0 1rem;
    padding: 0.75rem;
    max-height: 200px;
  }
  .messagesContainer {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  .msg-box {
    max-width: 85%;
  }
  .msg-box.msg-own {
    max-width: 85%;
  }
  .msg-actions {
    opacity: 0.6;
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
  }
  .msg-delete {
    opacity: 0.6 !important;
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
  }
  .msg-delete:active {
    opacity: 1 !important;
    background-color: rgba(239, 68, 68, 0.2) !important;
  }
  .msg-avatar {
    width: 32px;
    height: 32px;
  }
  .msg-avatar i {
    font-size: 0.8rem;
  }
  .msg-content {
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
  }
  .msg-content .msg-sender {
    font-size: 0.7rem;
  }
  .msg-content .msg-text {
    font-size: 0.9rem;
    line-height: 1.35;
  }
  .msg-content .msg-time {
    font-size: 0.65rem;
  }
  .messagesEmpty {
    padding: 2rem 1rem;
  }
  .messagesEmpty i {
    font-size: 2.5rem;
  }
  .messagesEmpty p {
    font-size: 1rem;
  }
  .messagesEmpty span {
    font-size: 0.85rem;
  }
  .chatClosed {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  .chatClosed i {
    font-size: 1.25rem;
  }
  .chatClosed span {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
  }
  .chatClosed .rebookBtn {
    margin-top: 0.25rem;
  }
  .modal {
    padding: 1rem;
  }
  .modal-content {
    padding: 1.5rem;
    width: 95%;
    max-width: 350px;
  }
  .modal-content h3 {
    font-size: 1rem;
  }
  .modal-content p {
    font-size: 0.9rem;
  }
  .modal-refund {
    padding: 0.75rem;
  }
  .modal-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  .modal-actions .btn {
    width: 100%;
  }
}
@media screen and (max-width: 700px) {
  .consultationHistory {
    padding: 1.25rem 0.75rem;
  }
  .consultationHistory-header {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .consultationHistory-header .backLink {
    width: 36px;
    height: 36px;
  }
  .consultationHistory-header h1 {
    font-size: 1.25rem;
  }
  .consultationHistory-header p {
    font-size: 0.9rem;
  }
  .specialistMiniCard {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
  }
  .specialistMiniCard-image {
    width: 64px;
    height: 64px;
  }
  .specialistMiniCard-info h3 {
    font-size: 1.1rem;
  }
  .specialistMiniCard-info span {
    font-size: 0.85rem;
  }
  .specialistMiniCard .bookBtn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
  }
  .historyCard {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .historyCard-date {
    flex-direction: row;
    width: 100%;
    padding-right: 0;
    padding-bottom: 0.75rem;
    border-right: none;
    border-bottom: 2px solid #f3f4f6;
    justify-content: center;
    gap: 0.5rem;
  }
  .historyCard-date .day {
    font-size: 1.25rem;
  }
  .historyCard-date .month,
  .historyCard-date .year {
    font-size: 0.85rem;
    align-self: center;
  }
  .historyCard-details {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .historyCard-time {
    font-size: 0.85rem;
  }
  .historyCard-status {
    text-align: center;
    min-width: auto;
  }
  .historyCard-actions {
    width: 100%;
  }
  .historyCard-actions .viewBtn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
  }
  .emptyHistory {
    padding: 2rem 1.25rem;
  }
  .emptyHistory i {
    font-size: 3rem;
  }
  .emptyHistory h3 {
    font-size: 1.1rem;
  }
  .emptyHistory p {
    font-size: 0.9rem;
  }
  .emptyHistory .bookBtn--large {
    width: 100%;
    justify-content: center;
  }
}
@media screen and (max-width: 900px) {
  .consultationChatSpecialist {
    height: auto;
    min-height: calc(100vh - 8rem);
    max-height: none;
  }
  .chatLayout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }
  .chatMain {
    min-height: 60vh;
    max-height: 70vh;
  }
  .chatMain-header {
    padding: 0.85rem 1rem;
  }
  .chatMain-header .patientAvatar {
    width: 42px;
    height: 42px;
  }
  .chatMain-header .patientDetails h2 {
    font-size: 0.95rem;
  }
  .chatSidebar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .chatSidebar .sidebarSection {
    flex: 1;
    min-width: 280px;
  }
  .infoGrid {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 600px) {
  .consultations-section-header {
    margin-bottom: 0.75rem;
  }
  .consultations-section-header .view-all-btn {
    width: 100%;
    justify-content: center;
  }
  .consultation-item--new {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
  .consultation-item--new .consultation-item-specialist {
    width: 100%;
  }
  .consultation-item--new .consultation-item-specialist .specialist-avatar {
    width: 40px;
    height: 40px;
  }
  .consultation-item--new .consultation-item-specialist .specialist-info .specialist-name {
    font-size: 0.95rem;
  }
  .consultation-item--new .consultation-item-schedule {
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background-color: #f9fafb;
    border-radius: 8px;
    width: 100%;
  }
  .consultation-item--new .consultation-item-status {
    text-align: center;
    min-width: auto;
  }
  .consultation-item--new .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .consultations-empty {
    padding: 1.5rem 1rem;
  }
  .consultations-empty i {
    font-size: 2.5rem;
  }
}

/*# sourceMappingURL=consultation.css.map */
