
/* =========================
   Folder Properties Layout
   ========================= */


.sds-chatfolder-props-root .chat-main{
  min-height: 0;
}

.sds-chatfolder-props-root .chat-folder-property-interface{
  min-height: 0;
  box-shadow: 0px 0px 2px 0px rgba(0, 60, 70, 0.20), 0px 2px 10px 0px rgba(0, 60, 70, 0.10) !important;
  border-radius: 1.25rem !important;
  border: 1px solid #dee4e4;
}

.sds-chatfolder-props-root .chat-folder-property-container{
  height: calc(100vh - 160px);
  max-height: calc(100vh - 160px);
  width:100%;
}

.sds-chatfolder-props-root .sds-chatfolder-props-root{
  min-height: 0;
}

.sds-chatfolder-props-root .sds-chatfolder-props-card{
  border-radius: 1.75rem !important;
}

.sds-chatfolder-props-root .sds-chatfolder-props-main-card{
  min-height: 0;
}

.sds-chatfolder-props-root .sds-chatfolder-props-main-card > .sds-chatfolder-props-card-body{
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto !important;
  padding: 0.5rem 1.25rem;
}

.sds-chatfolder-props-root .sds-chatfolder-props-prompt-card > .sds-chatfolder-props-card-body{
  height: auto !important;
  overflow: visible !important;
  min-height: 0;
  padding: 1rem 1.25rem;
}

.sds-chatfolder-props-root .sds-chatfolder-props-files-card > .sds-chatfolder-props-card-body{
  padding: 1rem 1.25rem;
}

.sds-chatfolder-props-root .sds-chatfolder-props-files-card > .sds-chatfolder-props-card-body .btn.sds-chatfolder-props-add-files{
  padding: 0.375rem  0.75rem;
  height: 2.25rem;
}

.sds-chatfolder-props-root .sds-chatfolder-props-prompt-card{
  height: auto !important;
}

.sds-chatfolder-props-root .sds-chatfolder-props-prompt-wrap{
  position: relative;
  width: 100%;
  max-height: 320px;
}

.sds-chatfolder-props-root .sds-chatfolder-props-prompt-textarea{
  width: 100%;
  max-height: 20rem;
  min-height: 10rem;
  overflow: auto;
  resize: vertical;
  border-radius: 1rem;
  padding-right: 3.25rem;
  border: 1px solid var(--sds-grey);
  box-sizing: border-box;
  color: var(--sds-grey-900);
}

.sds-chatfolder-props-root .sds-chatfolder-props-mic-btn{
  position: absolute;
  right: 12px;
  bottom: 12px;
  box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  height: 2rem;
  width: auto;
  padding: 0.5rem 0.75rem;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  background: var(--sds-grey-000, #FFF);
  border: 1px solid var(--sds-grey-500);
  color: var(--sds-grey-500);
  border-radius: 1.75rem!important;
}

.sds-chatfolder-props-root .sds-chatfolder-props-mic-btn svg{
  width: 16px;
  height: 16px;
}

.sds-chatfolder-props-root .sds-chatfolder-props-mic-btn.sds-ai-mic-active {
  color: #d64545;
  border-color: #d64545;
}


.sds-chatfolder-props-root .sds-chatfolder-props-files-list{
  margin-top: .5rem;
  max-height: none;
  overflow: visible;
}

.sds-chatfolder-props-root .sds-chatfolder-props-files-grid{
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(auto-fit, minmax(var(--pill-min, 320px), 1fr));
  align-items: start;
}

.sds-chatfolder-props-root .sds-chatfolder-props-file-row{
  width: 100%;
  min-width: 0;
  border: 1px solid var(--Grey-500, #B6BFBF);
  border-radius: 1rem !important;
  background: var(--Grey-000, #fff);
  padding: 0.5rem 0.75rem;
  gap: 1rem;
  margin: 0 !important;
}

.sds-chatfolder-props-root .sds-chatfolder-props-file-row > .d-flex,
.sds-chatfolder-props-root .sds-chatfolder-props-file-row .overflow-hidden{
  min-width: 0;
}

.sds-chatfolder-props-root .sds-chatfolder-props-file-icon-wrap{
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50% !important;
  background: var(--sds-primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sds-chatfolder-props-root .sds-chatfolder-props-file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.sds-chatfolder-props-root .sds-chatfolder-props-remove-file svg{
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.sds-chatfolder-props-root .sds-chatfolder-props-root #chatfolder-name-wrapper .card-body > *:last-child{
  border-bottom: 1px solid var(--sds-grey) !important;
}

.sds-chatfolder-props-root .sds-chatfolder-props-root #chatfolder-description-wrapper .nav-tabs{
  border-bottom: 0 !important;
}

.sds-chatfolder-props-root .sds-chatfolder-props-root .sds-file-pill{
  border: 1px solid var(--Grey-500, #B6BFBF);
  border-radius: 16px !important;
  background: var(--Grey-000, #fff);
  padding: 8px 12px;
  gap: 16px;
}

.sds-chatfolder-props-root .sds-chatfolder-props-root .sds-file-pill-icon{
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sds-chatfolder-props-root .sds-chatfolder-props-root .sds-chatfolder-props-file-icon,
.sds-chatfolder-props-root .sds-chatfolder-props-root .sds-chatfolder-props-file-icon svg{
  display: block;
}

.sds-chatfolder-props-root .sds-chatfolder-props-root .sds-file-pill-name{
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}

.sds-chatfolder-props-root .sds-chatfolder-props-root .sds-file-pill-size{
  font-size: 14px;
  line-height: 1.2;
}

.sds-chatfolder-props-root .sds-chatfolder-props-root .sds-file-pill-remove{
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7a7a7a;
  text-decoration: none;
}

.sds-chatfolder-props-root .sds-chatfolder-props-root .sds-chatfolder-props-files-list > .sds-file-pill{
  border-radius: 16px !important;
}

@media (max-width: 576px){
  .sds-chatfolder-props-root .sds-chatfolder-props-files-grid{
    --pill-min: 240px;
  }
}

@media (min-width: 577px) and (max-width: 992px){
  .sds-chatfolder-props-root .sds-chatfolder-props-files-grid{
    --pill-min: 280px;
  }
}

@media (min-width: 993px){
  .sds-chatfolder-props-root .sds-chatfolder-props-files-grid{
    --pill-min: 320px;
  }
}

.file-ext-pdf { background:#ffeaea!important; }

.file-ext-doc,
.file-ext-docx,
.file-ext-js { background:#eaf2ff!important; }

.file-ext-xls,
.file-ext-xlsx,
.file-ext-csv { background:#e9f9ef!important; }

.file-ext-ppt,
.file-ext-pptx { background:#fff2e5!important; }

.file-ext-jpg,
.file-ext-jpeg,
.file-ext-dashboard { background:#f3eaff!important; }

.file-ext-png,
.file-ext-cs,
.file-ext-svg,
.file-ext-html,
.file-ext-htm,
.file-ext-sql,
.file-ext-txt { background:#e9fbff!important; }

.file-ext-zip { background:#f0f0f0!important; }