/*!****************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/body.css ***!
  \****************************************************************/
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--light-color);
  line-height: 1.5;
  font-size: var(--font-size-base);
  background-color: var(--secondary-bg-color);
  align-items: center;
  width: 100%;
  height: 100%;
}

/* styles.css */
:root {
  /* Color Variables */
  --container-bg-color: hsl(60deg 19.23% 89.8%);
  --primary-btn-color: #000000;
  --secondary-btn-color: #6c757d;
  --primary-hover-color: hsl(70deg 1.38% 44.2%);
  --secondary-hover-color: #1e1e1f;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --white: #ffffff;
  --gray-light: #e9ecef;
  --border-color: #dee2e6;
  --active-tab-color: var(--primary-bg-color);
  --item-bg-color: #3d3d3e;
  --input-bg-color: hsl(0deg 0% 65.88%);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;

  /* Typography */
  --font-size-base: 0.9rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;

  /* Border radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;

  /* Shadows */
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);

  /* Color Scheme */
  --secondary-bg-color: hsl(0deg 3.7% 15.88%);
  --primary-bg-color: hsl(70deg 8.82% 86.67%);
  --ternary-bg-color: hsl(0deg 3.38% 78.38%);
}

/* Firefox */
* {
  scrollbar-width: thin; /* thin, auto, or none */
  scrollbar-color: #888 #f0f0f0; /* thumb | track */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
}

/* Chrome, Edge, Safari */
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: #f0f0f0;
}

*::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/*!*****************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/index.css ***!
  \*****************************************************************/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs) var(--space-sm);
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: var(--font-size-sm);
  gap: var(--space-xs);
  border-radius: 2rem;
}

.btn:hover {
  opacity: 0.8;
  transform: translateY(-0.2rem);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--primary-btn-color);
  color: var(--white);
  border-radius: 2rem;
}

.btn-success {
  background-color: var(--success-color);
  color: var(--white);
}

.btn-success:hover {
  background-color: #218838;
}

.btn-error {
  background-color: hsl(0deg 2.38% 32.94%);
  color: var(--white);
}

/* .S9gUrf-YoZ4jf,
.nsm7Bb-HzV7m-LgbsSe-MJoBVe,
.nsm7Bb-HzV7m-LgbsSe-bN97Pc-sM5MNb {
  background-color: var(--secondary-bg-color);
  outline: none;
  border: none;
  color: var(--white);
} */

.btn-error:hover {
  background-color: #c82333;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Container Styles */
.container {
  width: 100%;
  height: calc(100vh - 4rem);
  background: var(--primary-bg-color);
}

/* Login Page Styles */
#not_logged_in_container {
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  height: 100%;
  background-color: var(--primary-bg-color);
  justify-content: center;
}

.google_oauth_button {
  display: flex;
  justify-content: center;
  outline: none;
  background: none;
  color: var(--white) !important;
}

.nsm7Bb-HzV7m-LgbsSe {
  padding: 0.25rem 1rem !important;
  border: none !important;
  background-color: var(--secondary-bg-color) !important;
  color: var(--white) !important;
  border-radius: 2rem !important;
}

.auth-container {
  padding: 3rem;
  background: white;
  color: black;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  border-radius: 1rem;
  border: 0.1rem solid var(--secondary-bg-color);
}

.brand-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-shadow: var(--shadow-lg);
  background: var(--secondary-bg-color);
  color: rgb(255, 255, 255);
  height: 4rem;
}
.logo-container {
  padding: 1rem;
}

.brand-logo {
  font-size: var(--font-size-xl);
  font-weight: bold;
  color: var(--white);
}

/* Logged In Page Styles */
#logged_in_container {
  display: none;
  height: 100%;
  padding-top: 1rem;
}

#main_header {
  background-color: var(--secondary-bg-color);
  border-radius: 2rem;
  padding: 0.2rem;
  margin: 0 1rem;
}

.header {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .header {
    flex-direction: row;
    align-items: center;
  }
}

.header label {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.header label:hover {
  background-color: var(--primary-hover-color);
  border-radius: 3rem;
  color: black;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  cursor: pointer;
  font-size: var(--font-size-lg);
}

@media (max-width: 767px) {
  .hamburger-menu {
    display: block;
  }

  .header {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--white);
    z-index: 1000;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
  }

  .header.active {
    left: 0;
  }

  .header label {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
  }
}

/* Tab System */
input.both_radio:not(:checked) + .foldable {
  display: none !important;
}

input.both_radio:checked + .foldable {
  display: block !important;
}
input.both_radio:checked + #not_logged_in_container,
input.both_radio:checked + .extract-instruction-wrapper {
  display: flex !important;
}

/* File Upload Section */
.upload-section {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.file-input {
  width: 0.00625rem;
  height: 0.00625rem;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

/* Status Section */
.status-section {
  margin: var(--space-md) 0;
  display: flex;
  justify-content: center;
}

#preprocessor_status_section {
  display: flex;
  align-items: center;
}

.status-text {
  color: var(--secondary-color);
}

/* Progress Bar */
.progress-bar {
  height: 0.375rem;
  background-color: var(--gray-light);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin: var(--space-sm) 0;
  display: none;
}

.progress-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 0%;
  background-color: var(--primary-btn-color);
  transition: width 0.3s;
}

.file-name {
  font-weight: bold;
  margin-right: var(--space-sm);
  word-break: break-all;
}

.file-status {
  color: var(--secondary-color);
  margin: var(--space-xs) 0;
}

/* Download Button */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

/* Invite Section */
.invite-section {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.invite-email {
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  flex-grow: 1;
  min-width: 200px;
}

/* User Profile Styles */
.user-info {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1rem;
}

.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-icon:hover {
  transform: scale(1.05);
}

.profile-icon i {
  font-size: var(--font-size-lg);
}

.profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm);
  min-width: 200px;
  display: none;
  z-index: 1000;
  margin-top: var(--space-xs);
}

.profile-dropdown.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.profile-name {
  padding: var(--space-xs) var(--space-sm);
  font-weight: bold;
  color: var(--dark-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--space-xs);
}

.logout-btn {
  width: 100%;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile styles for profile dropdown */
@media (max-width: 767px) {
  .profile-dropdown {
    right: var(--space-sm);
  }
}

.hidden {
  display: none !important;
}

.generic-buttons {
  display: contents;
}

#logged_in_container:has(#process_docx_radio:checked) #process_docx_tab,
#logged_in_container:has(#pre_processor_radio:checked) #pre_processor_tab,
#logged_in_container:has(#qa_check_radio:checked) #qa_check_tab,
#logged_in_container:has(#user_invite_radio:checked) #user_invite_tab {
  background-color: var(--active-tab-color);
  color: black;
  border-radius: 3rem;
}

.loading-container {
  display: flex;
  gap: 0.2rem;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.loading-container span {
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}

.loading-container span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-container span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }

  40% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.dropdown-menu {
  position: absolute;
  background-color: var(--primary-bg-color);
  border: 0.1rem solid var(--secondary-bg-color);
  border-radius: 1rem;
  color: black;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 999;
  min-width: 2rem;
  overflow: hidden;
}

.dropdown-menu.hidden {
  display: none;
}

.dropdown-menu-item {
  padding: 0.24rem 1rem;
  cursor: pointer;
}

.dropdown-menu-item:hover {
  background-color: var(--secondary-bg-color);
  color: white;
}

/*!******************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles/add_project.css ***!
  \******************************************************************************/
.document-processor-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.search-wrapper {
  position: relative;
  margin-bottom: var(--space-sm);
}

.project-search {
  height: 2rem;
  border-radius: 5rem;
  text-align: center;
  background: #3d3d3e;
  color: white;
  border: none;
  margin-bottom: 1rem;
  width: 100%;
}

.search-icon {
  position: absolute;
  right: var(--space-sm);
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-color);
  padding-bottom: 1rem;
}

.project-list {
  max-height: 88%;
  overflow-y: auto;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.project-item {
  padding: var(--space-sm);
  width: -webkit-fill-available;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  background-color: var(--item-bg-color);
}

.project-item:last-child {
  border-bottom: none;
}

.project-item:hover {
  background-color: var(--primary-hover-color);
  color: black;
}

.project-item.selected {
  background-color: var(--active-tab-color);
  color: black;
}

.project-name {
  font-weight: bold;
  margin-bottom: var(--space-xs);
  color: #333;
}

.project-description {
  color: var(--secondary-color);
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary-btn-color);
  color: var(--white);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-success {
  background-color: var(--success-color);
  color: var(--white);
}

.btn-success:hover {
  opacity: 0.9;
}

.btn-error {
  background-color: var(--error-color);
  color: var(--white);
}

.add-project-btn {
  width: 100%;
  margin-bottom: var(--space-md);
}

/* File Upload Section */

.file-input {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.file-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white);
  padding: var(--space-lg);
  border-radius: var(--border-radius-md);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.modal-title {
  font-size: 1.25rem;
  margin: 0;
  color: #333;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: var(--space-xs);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  justify-content: space-around;
  gap: 0.5rem;
}

/*!*******************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles/docx_handler.css ***!
  \*******************************************************************************/
.docx-wrapper,
#preprocessor_wrapper {
  display: flex;
  /* justify-content: space-around; */
}

.section-disabled {
  opacity: 0.5;
  pointer-events: none;
}
.partition-line {
  width: 1px;
  background-color: var(--border-color);
}

#process_docx_container {
  padding: 1rem;
  max-height: 95%;
  height: 95%;

  .docx-wrapper {
    height: 100%;
  }

  .project-selection-container {
    width: 30%;
    background-color: var(--secondary-bg-color);
    padding: 1rem;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
  }

  .file-upload-section {
    display: flex;
    gap: var(--space-sm);
    width: 70%;
    padding: 2rem;
    background-color: white;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    color: black;
    height: 100%;
    overflow: auto;
    border: 0.1rem solid var(--secondary-bg-color);
  }

  #project_list_container {
    min-height: 20rem;
    width: 100%;
    height: 95%;
    border-radius: 1rem;
    overflow: auto;
  }

  .file-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .download-btn,
  .submit-project-btn {
    margin-top: 0;
  }

  .process-docx-buttons {
    min-height: 10rem;
    border: 0.1rem dashed;
    border-radius: 1rem;
    padding: 1rem;
    align-content: center;
    justify-items: center;
    justify-self: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .process-file-wrapper {
    width: 65%;
    max-height: 100%;
    height: 100%;
    overflow: auto;
  }

  #generic_buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-content: center;
    width: 30%;
    padding-top: 2.5rem;
  }

  .file-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--space-sm);
    padding: 0.5rem;
    transition: all 0.3s ease;
  }

  .project-name-input {
    width: 70%;
    height: 2rem;
    border-radius: 5rem;
    text-align: center;
    background: #3d3d3e;
    color: white;
    border: none;
  }
  #add_new_project {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
}

/*!********************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles/pre_processor.css ***!
  \********************************************************************************/
#pre_processor_container {
  padding: 1rem;
  max-height: 95%;
  height: 95%;
  overflow: auto;

  .project-selection-container {
    width: 30%;
    background-color: var(--secondary-bg-color);
    padding: 1rem;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    height: 100%;
  }

  .pre_process_file_wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 70%;
    padding: 1rem;
    background-color: white;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    color: black;
    height: 100%;
    overflow: auto;
    border: 0.1rem solid var(--secondary-bg-color);
  }

  #preprocessor_wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
  }

  #preprocessor_instruction {
    min-width: 100%;
    min-height: 15rem;
  }

  .preprocess-label {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2rem;
  }
  .project-list-container {
    height: 95%;
    overflow: auto;
  }

  .add-new-client,
  .add-new-project {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  .preprocess-label label {
    background-color: var(--primary-bg-color);
    padding: 0.3rem 0.5rem;
  }
  #extract_instruction_tab {
    padding-right: 0.3rem;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
  }
  #preprocess_file_tab {
    padding-left: 0.3rem;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }

  #extract_instruction_status_section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
  }

  #preprocessor_section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  #instruction_container {
    width: 100%;
    padding: 0.5rem;
  }

  #pre_process_file_wrapper:has(#preprocess_file:checked) #preprocess_file_tab,
  #pre_process_file_wrapper:has(#extract_instruction:checked) #extract_instruction_tab {
    background-color: var(--secondary-bg-color);
    color: white;
  }

  .process-docx-buttons,
  .reference-file-container {
    min-height: 10rem;
    border: 0.1rem dashed;
    border-radius: 1rem;
    padding: 1rem;
    align-content: center;
    justify-items: center;
    justify-self: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .reference-file-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .reference-file-input-container {
    width: 15rem;
    background-color: var(--secondary-bg-color);
    border-radius: 1rem;
    height: 100%;
    min-height: 9rem;
    display: flex;
    flex-direction: column;
    color: white;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  .extracted-reference-data {
    width: calc(100% - 15rem);
    height: 100%;
  }
  .file-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--space-sm);
    padding: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .files-container {
    padding: 1rem;
  }

  #prompt_container {
    display: flex;
    background: #3d3d3e;
    border-radius: 3rem;
    height: 3.5rem;
    scrollbar-width: none;

    ::-webkit-scrollbar {
      display: none; /* Chrome, Safari, Edge */
    }
  }

  #extract_instruction_wrapper {
    width: 100%;
    max-height: calc(100% - 4rem);
    height: calc(100% - 4rem);
    overflow: auto;
    display: flex;
    gap: 1rem;
    justify-content: center;
    justify-content: space-around;
    margin-bottom: 1rem;

    #display_processed_instruction {
      min-height: 20rem;
      max-height: 77%;
      overflow-y: auto;
      margin-bottom: 1rem;
      border: 0.1rem solid var(--secondary-bg-color);
      border-radius: 1rem;
    }

    #extract_instruction_action_container {
      width: 100%;

      .file-label {
        margin: 0.5rem;
        border-radius: 8rem;
        font-weight: 700;
        cursor: pointer;
        height: 75%;
        width: 3.5rem;
        align-items: center;
        justify-content: center;
        color: white;
      }
      .file-label:hover {
        background: #5c5c5e;
        cursor: pointer;
      }
    }

    #user_message {
      width: 100%;
      border-radius: 3rem;
      text-align: center;
      align-content: center;
      background: #3d3d3e;
      color: white;
      resize: none;
      border: none;
    }
    #user_message:focus {
      outline: none;
    }

    .composer-submit-button {
      background: none;
      color: white;
      border: none;
      font-size: 2rem;
      padding-right: 0.75rem;
    }

    .instruction-list-wrapper {
      background: var(--secondary-bg-color);
      color: white;
      border-radius: 1rem;
      width: 35%;
      height: 98%;
      max-height: 98%;
      overflow: auto;
    }
    .instruction-list-header {
      text-align: center;
      height: 3rem;
      text-align: center;
      align-items: center;
      align-items: center;
      margin: 0.5rem;
      border-bottom: 0.1rem solid;
      align-content: center;
    }
    .instruction-list {
      text-align: center;
    }

    .preview-instruction-container {
      width: 65%;
      height: 98%;
      max-height: 98%;
      overflow: auto;
      min-height: 34rem;
    }
  }
  .client-name-input,
  .project-name-input,
  .instruction-name-input {
    width: 70%;
    height: 2rem;
    border-radius: 5rem;
    text-align: center;
    background: var(--input-bg-color);
    color: black;
    font-weight: 900;
    border: none;
  }
  .client-name-input:focus,
  .project-name-input:focus,
  .instruction-name-input:focus,
  .project-search:focus {
    outline: none;
  }

  /* Category Block */
  .category {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }

  /* Category Header */
  .category-header {
    background: #3d3d3e;
    padding: 0.8rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    color: white;
  }

  /* Subcategories (collapsed by default) */
  .subcategories {
    display: none;
    padding: 0.8rem 1rem;
    border-top: 1px solid #eee;
  }

  .category.open .subcategories {
    display: block;
  }

  /* Subcategory Block */
  .subcategory {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
  }

  .subcategory h3 {
    margin: 0 0 0.2rem 0;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
  }

  .subcategory p {
    margin: 0;
    font-size: 14px;
    color: #444;
  }

  /* Highlight Sections (Conflicts / Clarifications) */
  .highlight-section {
    border-radius: 6px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
  }

  .highlight-section h2 {
    font-size: 16px;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
  }

  .highlight-section ul {
    margin: 0;
    padding-left: 1.2rem;
  }

  .highlight-section li {
    margin-bottom: 0.4rem;
    font-size: 14px;
  }

  /* Specific styling for conflicts */
  #conflicts {
    border-left: 4px solid #d9534f;
    background: #fcebea;

    ul {
      color: black;
    }
  }

  #conflicts h2 {
    color: #d9534f;
  }

  /* Specific styling for clarifications */
  #clarifications {
    border-left: 4px solid #f0ad4e;
    background: #fff8e6;

    ul {
      color: black;
    }
  }

  #clarifications h2 {
    color: #f0ad4e;
  }

  .item-list-header {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    align-items: center;
  }
  .folder-up-icon {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  .item-list-header {
    .back-button {
      cursor: pointer;
      width: 2%;
    }
    .folder-name {
      width: 35%;
      display: flex;
      justify-content: flex-start;
    }
    .selected-item-placeholder {
      width: 55%;
      display: flex;
      justify-content: flex-end;
    }
  }

  .instruction-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    height: 74%;
    max-height: 74%;
    overflow: auto;
  }

  #create_project,
  #finalize_instruction_button {
    border: 0.1rem solid var(--input-bg-color);
  }

  .instruction-name-input-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
  }
  .instruction-item {
    padding: 0.5rem;
    margin: 0rem 1rem;
    background: var(--item-bg-color);
    color: white;
    /* border: 0.1rem solid var(--secondary-bg-color); */
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
  }
  .instruction-item:hover {
    background-color: var(--primary-hover-color);
  }

  .instruction-item.selected {
    background: var(--active-tab-color);
    color: black;
  }

  /* Accordion Styles */
  .accordion-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
  }

  .accordion-item {
    border: 0.1rem solid var(--border-color);
    border-radius: 0.5rem;
    background: white;
  }
  .container_expanded {
    height: 90%;
  }

  .accordion-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: var(--primary-bg-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
  }

  .accordion-header:hover {
    background-color: var(--primary-hover-color);
  }

  .accordion-header.active {
    background-color: var(--secondary-bg-color);
    color: white;
  }

  .accordion-title {
    flex: 1;
    font-weight: 500;
  }

  .accordion-icon {
    transition: transform 0.3s ease;
  }

  .accordion-header.active .accordion-icon {
    transform: rotate(180deg);
  }

  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    background: white;
  }

  .accordion-content.expanded {
    max-height: 100%; /* Adjust based on your content */
    padding: 1rem;
  }

  /* Specific styles for instruction extractor when expanded */
  #extract_instruction_wrapper.expanded {
    display: flex !important;
    gap: 1rem;
    justify-content: space-around;
    margin-bottom: 1rem;
    overflow: visible;
  }

  /* Ensure preprocessor section is properly styled when expanded */
  #preprocessor_section.expanded {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  /* Remove old tab styles */
  .preprocess-label,
  .section-label,
  #preprocess_file_tab {
    display: none;
  }

  .no-project-text {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted-color);
    border: 0.1rem solid var(--border-color);
    border-radius: 1rem;
  }
  .highlight-status {
    color: red;
    font-weight: bold;
    border: 0.1rem solid red;
    border-radius: 1rem;
    padding: 0.2rem;
  }

  .preprocessor-tabs {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  #extract_instruction_tab,
  #preprocessor_file_tab {
    padding: 0.2rem 0.5rem;
    border: 0.1rem solid;
  }
  #extract_instruction_tab {
    border-bottom-left-radius: 3rem;
    border-top-left-radius: 3rem;
    border-right: none;
  }
  #preprocessor_file_tab {
    border-bottom-right-radius: 3rem;
    border-top-right-radius: 3rem;
    border-left: none;
  }
}

#logged_in_container:has(#extract_instruction_radio:checked) #extract_instruction_tab,
#logged_in_container:has(#preprocessor_section_radio:checked) #preprocessor_file_tab {
  background-color: black;
  color: white;
  /* border-radius: 3rem; */
}

/*!************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles/popup.css ***!
  \************************************************************************/
.popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.popup_overlay.show {
  opacity: 1;
}

.popup_box {
  background: white;
  border-radius: 10px;
  max-width: 90%;
  max-height: 90%;
  width: 80%;
  margin-top: 5rem;
  margin-bottom: 5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: popup_scale 0.2s ease;
  overflow: auto;
}

.popup_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid var(--secondary-bg-color);
  color: black;
}

.popup_title {
  font-size: 16px;
  font-weight: 600;
}

.popup_close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.popup_body {
  padding: 15px;
  font-size: 14px;
  color: #333;
}

.popup_footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px 15px 15px;
}

.popup_btn {
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.popup_btn.primary {
  background-color: #007bff;
  color: white;
}

.popup_btn.secondary {
  background-color: #e0e0e0;
}

@keyframes popup_scale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.file-table-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.625rem; /* 10px */

  .file-table {
    border-collapse: collapse;
    width: 80%;
    background-color: #fff;
    color: #000;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 0.3125rem rgba(0, 0, 0, 0.2); /* 5px */
  }

  .file-table th,
  .file-table td {
    border: 0.0625rem solid #000; /* 1px */
    padding: 0.5rem 0.75rem; /* 8px 12px */
    text-align: left;
  }

  .file-table th {
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03125rem; /* 0.5px */
  }

  .file-table tr:nth-child(even) {
    background-color: #f7f7f7;
  }

  .file-table tr:hover {
    background-color: #eaeaea;
  }
}

/*!***************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles/qa_check.css ***!
  \***************************************************************************/
#qa_check_container {
  padding: 1rem;
  max-height: 95%;
  height: 95%;
  .file-upload-section {
    display: flex;
    gap: var(--space-sm);
    max-width: 100%;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    color: black;
    height: 100%;
    overflow: auto;
    border: 0.1rem solid var(--secondary-bg-color);
  }
  .process-file-wrapper {
    width: 65%;
    max-height: 100%;
    height: 100%;
    overflow: auto;
  }

  .process-docx-buttons {
    min-height: 10rem;
    border: 0.1rem dashed;
    border-radius: 1rem;
    padding: 1rem;
    align-content: center;
    justify-items: center;
    justify-self: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .generic-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-content: center;
    width: 30%;
    padding-top: 2.5rem;
  }

  .file-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--space-sm);
    padding: 0.5rem;
    transition: all 0.3s ease;
  }
}


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