:root {
  --gold: #c39352;
  --gold2: #a87412;
}
body,html{width: 100%; max-width: 100%;}
body {
  min-height: 100vh;
  background: #fcf9f5;
}
.header-ai{
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #e8e8e8
}
.header-ai-brand{
  display: flex;
  gap: 10px;
  align-items: center;
  width: 310px;
}
.header-ai-brand div{
  display: flex;
  gap: 5px;
}
.header-ai-brand div h4{
  font-family: "Alata";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1
}

.advisor-page {
  min-height: calc(100vh - 90px);
  background:
    linear-gradient(90deg, rgba(215, 196, 163, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #fbf8f3 0%, #f8f4ed 100%);
  background-size: 42px 42px, auto;
}

.sub-header{
  color: var(--gold);
  position: relative;
  font-weight: 500;
  margin-bottom: 5px; padding-bottom: 10px;
}

.sub-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 50%;
  width: 52px;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: translateX(-50%);
}

.card-aiui {
  background: rgba(255, 255, 255, 1);
  border: 0px solid #ddd8d0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: -2px 11px 10px #cccccc47
}

.advisor-card {
  min-height: 485px;
}
.fs-18 {
  font-size: 18px;
}
.icon-badge {
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  color: #9f7117;
  background: #f5f0e7;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85);
}

.icon-badge i {
  font-size: 24px;
  line-height: 1;
}
.advice-item .icon-badge i {
  font-size: 20px;
}

.prompt-chip {
  min-width: 285px;
  padding: 8px 18px;
  color: #69676a;
  background: #fff;
  border: 1px solid #f0ede9;
  border-radius: 10px;
  line-height: 1.5;
  font-weight: 500
}

.prompt-chip:hover,
.prompt-chip:focus {
  color: #2d263f;
  background: #fffaf4;
  border-color: #dbc28f;
}

.advisor-input {
  min-height: 82px;
  border-color: #e3ded6 !important;
  border-radius: 18px;
}

.advisor-input .btn {
  width: 44px;
  height: 44px;
  padding: 0;
  flex: 0 0 44px;
}

.advisor-input .form-control::placeholder {
  color: #69676a;
  opacity: 1;
}

.send-btn {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}

.send-btn:hover,
.send-btn:focus {
  color: #fff;
  background: var(--gold2);
  border-color: var(--gold2);
}

.quick-action {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.1rem;
  color: #565267;
  background: #fff;
  border: 1px solid #f1eee9;
  border-radius: 9px;
}

.quick-action i {
  color: #b38a42;
  font-size: 1.2rem;
}

.quick-action:hover,
.quick-action:focus {
  color: #2d263f;
  border-color: #dcc693;
}

.advice-panel {
  min-height: 700px;
}

.advice-item {
  border-color: #e6ded3 !important;
}

.advice-item .icon-badge {
  width: 50px;
  height: 50px;
}

.advice-item p {
  line-height: 1.7;
}

.connect-btn {
  color: #fff;
  background: #2f254f;
  border-color: #2f254f;
  box-shadow: 0 10px 20px rgba(47, 37, 79, 0.18);
}

.connect-btn:hover,
.connect-btn:focus {
  color: #fff;
  background: #221a3d;
  border-color: #221a3d;
}

.quote-block {
  max-width: 360px;
  border-color: #e6ded3 !important;
}

.quote-icon {
  display: inline-flex;
  margin-top: -0.35rem;
  color: #c58a17;
  font-size: 2.5rem;
  line-height: 1;
  background: #fbf8f3;
}

footer .link{color: #fff}
.navbar-nav .dropdown:last-child .dropdown-menu{right: 20px;}



@media (max-width: 1366px) {
    .h4, h4{font-size: 22px;}
    .h5, h5{font-size: 20px;}
    .h6, h6{font-size: 18px;}
    .card-aiui{padding: 15px; border-radius: 10px;}
    .advice-item .icon-badge{width: 40px; height: 40px; flex: 0 0 40px;}
    .advice-item .icon-badge i{font-size: 18px;}
    .quick-action{min-height: 30px; padding: 12px 16px; font-size: 15px;}
    
    


}


@media (max-width: 991px) {
    body{padding-bottom: 0!important;}
    footer.footer-dark{padding-bottom: 80px!important;}
  .advisor-card,
  .advice-panel {
    min-height: auto;
  }
  .advisor-input{flex-wrap: wrap;}
  .advisor-input {
        gap: .75rem !important;
    }

    .advisor-input .form-control {
        order: 1;
        flex: 1 0 100%;
    }

    .advisor-input #uploadTrigger {
        order: 2;
    }

    .advisor-input #aakriti-reset-btn {
        order: 3;
    }

    .advisor-input .send-btn {
        order: 4;
    }
}
@media (max-width: 767px) {
.quick-action span{display: none!important}
}

@media (max-width: 575px) {
  .prompt-chip {
    width: 100%;
    min-width: 0;
  }
  .advisor-input {
    min-height: 72px;
  }
    .h4, h4{font-size: 20px;}
    .h5, h5{font-size: 18px;}
    .h6, h6{font-size: 16px;}
}

/* ============================================================
   Ask Aakriti — Chatbot runtime UI
   (Styles for elements advisor.js injects into #chatResultBox)
   ============================================================ */

/* ---- Chat thread & messages ---- */
.aakriti-chat-thread {
  scrollbar-width: thin;
  scrollbar-color: #dcd4c6 transparent;
}
.aakriti-chat-thread::-webkit-scrollbar {
  width: 6px;
}
.aakriti-chat-thread::-webkit-scrollbar-thumb {
  background: #dcd4c6;
  border-radius: 4px;
}

.bot-content a {
  color: var(--gold2);
  text-decoration: underline;
}

.bot-content.stream-cursor::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 2px;
  background: var(--gold);
  vertical-align: text-bottom;
  animation: aakriti-blink 0.9s steps(1) infinite;
}

@keyframes aakriti-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.bot-error-msg {
  padding: 10px 14px;
  color: #b02a37;
  background: #fdecea;
  border: 1px solid #f5c6cb;
  border-radius: 10px;
  font-size: 14px;
}

/* Typing indicator */
.typing-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 4px 0;
}
.typing-dots span {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.4;
  animation: aakriti-typing 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes aakriti-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Translation badge shown on translated artwork/text blocks */
.translation-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  padding: 2px 8px;
  color: #6b5b3a;
  font-size: 11px;
  font-weight: 600;
  background: #f5efe0;
  border: 1px solid #e6d9b8;
  border-radius: 20px;
}

/* ---- Autocomplete / suggest dropdown ---- */
.suggest-item {
  padding: 8px 14px;
  color: #4a4655;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
}
.suggest-item:hover,
.suggest-item:focus {
  color: #2d263f;
  background: #fdf9f4;
}
.suggest-count {
  color: #9a958f;
  font-size: 12px;
}

/* ---- Artwork card ---- */
.aakriti-art-card {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.aakriti-art-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
}
.aakriti-art-card.sold-card {
  opacity: 0.75;
}

.try-this-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  color: var(--gold2);
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.try-this-btn:hover {
  color: #fff;
  background: var(--gold);
}
.try-this-btn.added {
  color: #fff;
  background: #2e7d32;
  border-color: #2e7d32;
}
.try-this-btn:disabled {
  color: #aaa;
  background: #f5f5f5;
  border-color: #ddd;
}

/* ---- Split action bar (Selected for Curator / View in My Room) ---- */
.split-action-bar {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0ede9;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.split-action-btn {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  color: #565267;
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.split-action-btn i {
  color: var(--gold);
  font-size: 1.05rem;
}
.split-action-btn:hover,
.split-action-btn:focus {
  color: #2d263f;
  background: #fdf9f4;
}
.split-action-divider {
  width: 1px;
  background: #f0ede9;
}

/* Reset-session button, injected next to the send button */
.reset-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #8a8594;
  background: #fff;
  border: 1px solid #e3ded6;
  border-radius: 50%;
}
.reset-action-btn:hover,
.reset-action-btn:focus {
  color: var(--gold2);
  border-color: var(--gold);
}

/* ---- Selected-for-curator drawer ---- */
#selected-drawer {
  animation: aakriti-drawer-in 0.15s ease;
}
@keyframes aakriti-drawer-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.remove-selected-btn:hover {
  color: #e74c3c !important;
}

/* ---- Modal & spinner ---- */
.aakriti-modal-dialog {
  border-radius: 16px;
  overflow: hidden;
}
.aakriti-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: aakriti-spin 0.7s linear infinite;
}
@keyframes aakriti-spin {
  to { transform: rotate(360deg); }
}

/* ---- Drag-and-drop overlay on the input form ---- */
#dragOverlay {
  color: var(--gold2);
  font-size: 15px;
}

@media (max-width: 575.98px) {
  .split-action-btn {
    padding: 10px 8px;
    font-size: 13px;
  }
  .try-this-btn {
    width: 100%;
    justify-content: center;
  }
}