/* Sarita Website — new modules (match existing brand tokens) */
.module-section { padding: 2rem 0 3rem; }
.module-shell {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
}
.module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.module-head h3 {
  margin: 0;
  color: #4A4A4A;
  font-size: 1.35rem;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 991px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .module-grid { grid-template-columns: 1fr; }
}
.module-card {
  background: #F9F6F5;
  border-radius: 15px;
  padding: 1.15rem;
  border: 1px solid #F4EDEA;
  height: 100%;
  transition: border-color .2s ease, transform .2s ease;
}
.module-card:hover {
  border-color: #C58A82;
  transform: translateY(-2px);
}
.module-card .thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.module-card h4 {
  font-size: 1rem;
  margin: .75rem 0 .35rem;
  color: #3a3a3a;
}
.module-card p,
.module-meta {
  color: #8A8A8A;
  font-size: .85rem;
  margin: 0;
}
.module-meta { margin-top: .5rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }
.module-pill {
  background: #fff;
  color: #91462F;
  border: 1px solid #EAC3BC;
  border-radius: 999px;
  padding: .2rem .7rem;
  font-size: .75rem;
}
.track-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.track-tabs a,
.track-tabs button {
  border: 1px solid #F4EDEA;
  background: #fff;
  color: #4A4A4A;
  border-radius: 10px;
  padding: .55rem 1rem;
  text-decoration: none;
  font-size: .9rem;
}
.track-tabs a.active,
.track-tabs button.active {
  background: #C58A82;
  border-color: #C58A82;
  color: #fff;
}
.soft-form .form-control,
.soft-form select,
.soft-form textarea {
  border-radius: 10px;
  border-color: #F4EDEA;
  background: #F9F6F5;
  min-height: 48px;
}
.soft-form label {
  color: #4A4A4A;
  font-size: .9rem;
  margin-bottom: .35rem;
}
.soft-form .filter-select {
  width: 100%;
}
.soft-form .filter-select .filter-select-toggle {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid #F4EDEA;
  background: #F9F6F5;
  padding: 10px 16px;
  box-shadow: none;
}
.soft-form .filter-select .filter-select-toggle:hover,
.soft-form .filter-select .filter-select-toggle[aria-expanded="true"] {
  border-color: #C58A82;
  background: #fff;
}
.soft-form .filter-select .filter-select-toggle .filter-select-label {
  color: #4A4A4A;
  font-size: .9rem;
  font-weight: 600;
}
.soft-form .filter-select .filter-select-menu {
  width: 100%;
  min-width: 100%;
  border-radius: 12px;
  border: 1px solid #F4EDEA;
  box-shadow: 0 12px 28px rgba(145, 70, 47, 0.12);
  padding: .35rem;
}
.soft-form .filter-select .filter-select-menu .dropdown-item {
  border-radius: 8px;
  font-size: .9rem;
}
.child-picker {
  max-width: 420px;
}
.child-picker-select,
.soft-form .child-picker-select.form-control {
  border-radius: 14px;
  border: 1px solid #F0E8E5;
  background: #FBF8F7;
  color: #6B6B6B;
  min-height: 52px;
  padding-inline: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C58A82' d='M1.4 1.4L6 6l4.6-4.6L12 2.8 6 8.8 0 2.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-left: 2.5rem;
}
[dir="ltr"] .child-picker-select,
[dir="ltr"] .soft-form .child-picker-select.form-control {
  background-position: right 1rem center;
  padding-left: 1rem;
  padding-right: 2.5rem;
}
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: #F9F6F5;
  margin-bottom: .75rem;
  border: 1px solid #F4EDEA;
}
.assistant-box {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  border: 1px solid #F4EDEA;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.assistant-messages {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  max-height: 420px;
}
.bubble {
  max-width: 80%;
  padding: .85rem 1rem;
  border-radius: 14px;
  margin-bottom: .75rem;
  font-size: .92rem;
  line-height: 1.6;
}
.bubble.bot {
  background: #F9F6F5;
  color: #4A4A4A;
  border-top-right-radius: 4px;
}
.bubble.user {
  background: #C58A82;
  color: #fff;
  margin-inline-start: auto;
  border-top-left-radius: 4px;
}
.assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0 1.25rem 1rem;
}
.assistant-actions button {
  border: 1px solid #EAC3BC;
  background: #fff;
  color: #91462F;
  border-radius: 999px;
  padding: .4rem .9rem;
  font-size: .8rem;
}
.assistant-input {
  display: flex;
  gap: .5rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #F4EDEA;
}
.wallet-balance {
  background: linear-gradient(135deg, #C58A82 0%, #91462F 100%);
  color: #fff;
  border-radius: 15px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.wallet-balance h2 {
  font-size: 2rem;
  margin: .35rem 0 0;
}
.group-post {
  background: #F9F6F5;
  border-radius: 15px;
  padding: 1.15rem;
  margin-bottom: 1rem;
  border: 1px solid #F4EDEA;
}
.group-post .post-actions {
  display: flex;
  gap: 1rem;
  margin-top: .75rem;
}
.group-post .post-actions button {
  border: 0;
  background: transparent;
  color: #91462F;
  font-size: .85rem;
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
@media (max-width: 575px) {
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
}
.slot-btn {
  border: 1px solid #F4EDEA;
  background: #fff;
  border-radius: 10px;
  padding: .6rem;
  color: #4A4A4A;
}
.slot-btn.active,
.slot-btn:hover {
  background: #C58A82;
  border-color: #C58A82;
  color: #fff;
}
.empty-state {
  text-align: center;
  color: #8A8A8A;
  padding: 2.5rem 1rem;
}
.file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: #F9F6F5;
  margin-bottom: .75rem;
}

/* Messages / chat */
.chat-shell {
  min-height: 560px;
}
.chat-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.chat-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid #F4EDEA;
  background: #fff;
  color: #4A4A4A;
  text-decoration: none;
  font-size: .9rem;
}
.chat-tab.active,
.chat-tab:hover {
  background: #C58A82;
  border-color: #C58A82;
  color: #fff;
}
.chat-room-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.chat-room-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: #F9F6F5;
  border: 1px solid #F4EDEA;
  text-decoration: none;
  color: inherit;
  transition: background .2s ease, border-color .2s ease;
}
.chat-room-item:hover {
  background: #F4EDEA;
  border-color: #EAC3BC;
  color: inherit;
}
.chat-room-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #F4EDEA;
}
.chat-room-avatar.sm {
  width: 42px;
  height: 42px;
}
.chat-room-avatar img {
  width: 100%;
  height: 100%;
}
.chat-room-avatar img.placeholder {
  width: 55%;
  height: 55%;
}
.chat-room-body {
  flex: 1;
  min-width: 0;
}
.chat-room-body h5 {
  font-size: 1rem;
  color: #2B2B2B;
}
.chat-room-preview {
  color: #8A8A8A;
  font-size: .86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-room-time {
  color: #A0A0A0;
  font-size: .75rem;
  white-space: nowrap;
}
.chat-unread {
  min-width: 22px;
  height: 22px;
  padding: 0 .4rem;
  border-radius: 999px;
  background: #C58A82;
  color: #fff;
  font-size: .72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-thread-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #F4EDEA;
  background: #fff;
}
.chat-back {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F9F6F5;
  border: 1px solid #F4EDEA;
}
.chat-thread-messages {
  height: 420px;
  overflow-y: auto;
  padding: 1.15rem;
  background: linear-gradient(180deg, #FBF8F7 0%, #FFF 100%);
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.chat-bubble {
  max-width: min(78%, 420px);
  padding: .75rem .95rem;
  border-radius: 16px;
  position: relative;
}
.chat-bubble.mine {
  align-self: flex-end;
  background: #C58A82;
  color: #fff;
  border-bottom-left-radius: 4px;
}
.chat-bubble.theirs {
  align-self: flex-start;
  background: #fff;
  color: #4A4A4A;
  border: 1px solid #F4EDEA;
  border-bottom-right-radius: 4px;
}
.chat-sender-name {
  display: block;
  font-size: .75rem;
  color: #91462F;
  margin-bottom: .25rem;
  font-weight: 600;
}
.chat-bubble-text {
  font-size: .92rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-bubble-time {
  display: block;
  margin-top: .35rem;
  font-size: .7rem;
  opacity: .75;
}
.chat-file-link {
  color: inherit;
  text-decoration: underline;
}
.chat-thread-input {
  display: flex;
  gap: .5rem;
  padding: 1rem 1.15rem 1.15rem;
  border-top: 1px solid #F4EDEA;
  background: #fff;
}
@media (max-width: 767px) {
  .chat-shell {
    min-height: 480px;
  }
  .chat-thread-messages {
    height: 340px;
  }
  .chat-bubble {
    max-width: 88%;
  }
}
