/* AttachmentSearch.css */

.attachment-search-container {
    padding: 24px;
    margin: 10px auto;
    max-width: 1500px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.attachment-search-header {
    /* text-align: center; */
    padding-left: 600px;
    margin-bottom: 32px;
    color: #388e3c;
    font-weight: 600;
}

.search-section {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input {
    width: 33.333%;
    max-width: 500px;
    min-width: 300px;
    background-color: white;
    border-radius: 6px;
}

.search-input .MuiOutlinedInput-root {
    border-radius: 6px;
}


.search-button {
    height: 40px;
    margin-top: 5px;    
    border-radius: 6px;
    font-weight: 600;
    text-transform: none;
    background-color: #367c2b !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(54, 124, 43, 0.4);
    transition: all 0.3s ease;
}

.search-button:hover {
    background-color: #2d6824 !important;
    box-shadow: 0 4px 8px rgba(54, 124, 43, 0.6);
    transform: translateY(-2px);
}

.search-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(54, 124, 43, 0.4);
}

.search-button:disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

.export-button {
    height: 40px;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: none;
    background-color: #ffde00 !important;
    color: #000000 !important;
    box-shadow: 0 2px 4px rgba(255, 222, 0, 0.4);
    transition: all 0.3s ease;
}

.export-button:hover {
    background-color: #e6c900 !important;
    box-shadow: 0 4px 8px rgba(255, 222, 0, 0.6);
    transform: translateY(-2px);
}

.export-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(255, 222, 0, 0.4);
}

.export-button:disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

.clear-button {
    height: 40px;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: none;
    border: 2px solid #1976d2 !important;
    color: #1976d2 !important;
    background-color: transparent !important;
    transition: all 0.3s ease;
}

.clear-button:hover {
    background-color: rgba(25, 118, 210, 0.08) !important;
    border-color: #1565c0 !important;
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.3);
    transform: translateY(-2px);
}

.clear-button:active {
    transform: translateY(0);
    box-shadow: none;
}

.bulk-comment-button {
    height: 40px;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: none;
    background-color: #367c2b !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(54, 124, 43, 0.4);
    transition: all 0.3s ease;
}

.bulk-comment-button:hover {
    background-color: #2d6824 !important;
    box-shadow: 0 4px 8px rgba(54, 124, 43, 0.6);
    transform: translateY(-2px);
}

.bulk-comment-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(54, 124, 43, 0.4);
}

.results-section {
    margin-top: 24px;
}

.results-header {
    margin-bottom: 16px;
    color: #333;
    font-weight: 600;
}

.records-badge-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-right: 8px;
}

.results-title {
    color: #333;
    font-weight: 600;
    font-size: 1.125rem;
}

.results-count {
    background-color: #388e3c;
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(56, 142, 60, 0.3);
}

.results-table-container {
    max-height: 600px;
    border-radius: 8px;
    overflow: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.results-table {
    background-color: white;
}

.table-header {
    background: #e0e0e0 !important;
    color: #333;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-header-cell {
    background: #e0e0e0 !important;
    border-bottom: none;
    padding: 16px 12px;
    color: #333 !important;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-row {
    transition: all 0.2s ease;
}

.table-row:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.table-row:nth-of-type(even) {
    background-color: #fafafa;
}

.button {
    background: none;
    border: none;
    color: #3B8A57;
    text-decoration: underline;
    cursor: pointer;
}

.table-cell {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.875rem;
    position: relative;
    overflow: visible;
}

.table-row-reduced {
    height: 80% !important;
}

.table-row-reduced .table-cell {
    padding: 9.6px 12px !important;
}

.table-cell-content {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 4px 0;
}

.table-cell-content.notes {
    max-width: 250px;
    color: #666;
}

.table-cell-content.description {
    max-width: 300px;
    color: #555;
}

.attachment-id-cell {
    color: #388e3c;
    font-weight: bold;
}

.edit-button {
    color: #1976d2;
    transition: all 0.2s ease;
    border-radius: 50%;
    padding: 8px;
}

.edit-button:hover {
    background-color: rgba(25, 118, 210, 0.1);
    transform: scale(1.1);
}

.loading-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px;
}

.loading-text {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
}

.no-results-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px;
    text-align: center;
}

.no-results-text {
    color: #999;
    font-size: 1.1rem;
    font-style: italic;
}

.no-results-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .attachment-search-container {
        margin: 10px;
        padding: 16px;
    }

    .search-section {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .search-input {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .search-button,
    .clear-button {
        width: 100%;
    }

    .results-table-container {
        max-height: 400px;
    }

    .table-cell-content {
        max-width: 120px;
    }
}

/* Animation for search results */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-section {
    animation: fadeInUp 0.5s ease-out;
}

/* Hover effect for table rows */
.table-row {
    cursor: pointer;
}

.table-row:hover .edit-button {
    color: #1565c0;
    background-color: rgba(25, 118, 210, 0.1);
}

/* Custom scrollbar for table */
.results-table-container::-webkit-scrollbar {
    width: 8px;
}

.results-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.results-table-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.results-table-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
.attachment-edit-dialog .MuiDialog-paper {
    border-radius: 12px;
    padding: 16px;
    max-width: 600px;
    width: 100%;
}
.attachment-edit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}
.attachment-edit-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}
.attachment-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 10px;
}
.attachment-edit-paper {
    max-width: 90%;
    margin: 10px auto;
    padding: 10px;
}
.attachment-edit-form {
    display: flex;
    flex-direction: column;
    
    margin-top: 10px;
}
.attachment-edit-readonly {
    background: #f5f5f5 !important;
}

@media (max-width: 600px) {
    .attachment-edit-dialog .MuiDialog-paper {
        max-width: 98vw;
        padding: 8px;
    }
    .attachment-edit-content {
        gap: 8px;
    }
    .attachment-edit-title {
        font-size: 1.1rem;
    }
}
/* ExpandableCell Component Styles */

._cell_1ocbl_3 {
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
    border: 1px solid transparent;
    word-break: normal;
}

/* Collapsed state */
._cellCollapsed_1ocbl_14 {
    max-width: 200px;
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    position: static;
    z-index: 1;
    box-shadow: none;
}

/* Expanded state */
._cellExpanded_1ocbl_30 {
    max-width: none;
    width: auto;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    border: 1px solid #90caf9;
    word-break: break-word;
    display: block;
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hover effect */
._cell_1ocbl_3:hover {
    background-color: rgba(144, 202, 249, 0.08);
}
/* AttachmentData Component Styles */

/* Modal styles */
._modalBox_kyu80_4 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 2px solid #000;
    box-shadow: 0px 11px 15px -7px rgba(0,0,0,0.2),
                0px 24px 38px 3px rgba(0,0,0,0.14),
                0px 9px 46px 8px rgba(0,0,0,0.12);
    padding: 32px;
    height: 500px;
    width: 80%;
    border-radius: 4px;
}

/* Modal header */
._modalHeader_kyu80_21 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

._modalHeaderSpacer_kyu80_28 {
    flex: 1;
}

._modalTitle_kyu80_32 {
    flex: 1;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
}

._modalCloseButton_kyu80_40 {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Source badge styles */
._sourceBadge_kyu80_47 {
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: bold;
}

._sourceSalesmanual_kyu80_55 {
    background-color: #e8f5e8;
}

._sourceMoci_kyu80_59 {
    background-color: #fff3e0;
}

._sourcePartextract_kyu80_63 {
    background-color: #e3f2fd;
}
._sourceElips_kyu80_66 {
    background-color: #f3e5f5;
}

._sourcepim_kyu80_70{
    background-color: #fbf5ae;
}

._sourceDefault_kyu80_74 {
    background-color: #f5f5f5;
}

/* Part Number and Copy Icon Styles */
._partNumberContainer_kyu80_79 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

._partNumberLink_kyu80_86 {
  cursor: pointer;
  text-decoration: underline;
  color: #02781dff;
  font-weight: 500;
  transition: all 0.2s ease;
}

._partNumberLink_kyu80_86:hover {
  color: #015a11;
}

._copyIcon_kyu80_98 {
  font-size: 18px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  color: rgb(134, 178, 144);
  transition: all 0.2s ease;
}

._copyIcon_kyu80_98:hover {
  transform: scale(1.2);
  color: #015a11;
}/* BulkComment.css */

.bulk-comment-dialog {
    border-radius: 8px;
}

.bulk-comment-title {
    background-color: #f5f5f5;
    border-bottom: 2px solid #e0e0e0;
    padding: 16px 24px;
}

.bulk-comment-title .MuiTypography-root {
    color: #333;
    text-align: center;
    font-size: 1.25rem;
}

.bulk-comment-content {
    padding: 40px 24px;
    min-height: 200px;
}

.file-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
}

.file-input-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 500px;
    padding: 16px;
    border: 2px dashed #d0d0d0;
    border-radius: 8px;
    background-color: #fafafa;
}

.choose-file-button {
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    color: #333;
    text-transform: none;
    font-weight: 500;
    min-width: 120px;
    border-radius: 4px;
}

.choose-file-button:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

.file-name-display {
    flex: 1;
    color: #666;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-instruction {
    color: #666;
    font-size: 0.875rem;
    margin-top: 8px;
}

.sample-file-link {
    margin-top: 8px;
}

.download-sample-link {
    color: #367c2b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
}

.download-sample-link:hover {
    text-decoration: underline;
    color: #2d6824;
}

.bulk-comment-actions {
    padding: 16px 24px;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    gap: 12px;
}

.upload-button {
    background-color: #ffde00 !important;
    color: #000000 !important;
    font-weight: 600;
    text-transform: none;
    padding: 8px 24px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(255, 222, 0, 0.4);
}

.upload-button:hover {
    background-color: #e6c900 !important;
    box-shadow: 0 4px 8px rgba(255, 222, 0, 0.6);
}

.upload-button:disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    box-shadow: none;
}

.reset-button {
    border: 1px solid #999 !important;
    color: #333 !important;
    background-color: #fff !important;
    font-weight: 600;
    text-transform: none;
    padding: 8px 24px;
    border-radius: 6px;
}

.reset-button:hover {
    background-color: #f5f5f5 !important;
    border-color: #666 !important;
}
/* Baseline Check Modal Styles */

.baseline-check-modal .baseline-check-paper {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.baseline-check-header {
    background: #367c2b;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 24px;
    position: relative;
}

.baseline-check-header .close-button {
    color: white !important;
}

.baseline-check-header .close-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.baseline-check-content {
    padding: 32px 24px !important;
    text-align: center;
}

.icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    animation: iconBounce 0.6s ease-out;
}

@keyframes iconBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.warning-icon {
    animation: pulse 2s ease-in-out infinite;
}

.error-icon {
    animation: shake 0.5s ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.baseline-message {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 24px;
    text-align: center;
}

.baseline-message .email-link {
    color: #367c2b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.baseline-message .email-link:hover {
    color: #2a5e21;
    text-decoration: underline;
}

.baseline-message .logic-link {
    color: #367c2b;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 2px 4px;
    border-radius: 3px;
}

.baseline-message .logic-link:hover {
    color: #2a5e21;
    background-color: rgba(54, 124, 43, 0.1);
    text-decoration: underline;
}

.part-number-box {
    background-color: #f5f5f5;
    border-left: 4px solid #367c2b;
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 24px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.part-number-label {
    color: #666;
    font-weight: 500;
}

.part-number-value {
    color: #367c2b;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.baseline-check-actions {
    padding: 16px 24px !important;
    border-top: 1px solid #e0e0e0;
}

.close-action-button {
    background-color: #367c2b !important;
    color: white !important;
    padding: 8px 32px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.close-action-button:hover {
    background-color: #2a5e21 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(54, 124, 43, 0.3);
}

/* Mobile responsive styles */
@media (max-width: 600px) {
    .baseline-check-content {
        padding: 24px 16px !important;
    }
    
    .icon-container svg {
        font-size: 48px !important;
    }
    
    .baseline-message {
        font-size: 0.9rem;
    }
    
    .part-number-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Animation for modal entrance */
.baseline-check-modal .MuiDialog-paper {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevents horizontal scroll */
  line-height: 0%;
  min-height: auto;

}

.containerClass {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    /* margin-left: auto;
    margin-right: auto; */
    margin-top: 2%;
    padding-left: calc(var(--bs-gutter-x)* .5);
    padding-right: calc(var(--bs-gutter-x)* .5);
    width: 100%;
    background-color: #FFFFFF;
    padding:5;
    padding-bottom: 70px;
    box-shadow: 4px 4px 2.5px lightgray;  
}

.submitClass{
  align-items: end;
  align-content: flex-end;
  margin-left: 5px; 
}

.dateClass{
  max-width: 25rem;
}

.footerClass{
  position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    flex-shrink: 0;
}

.typographyClass{
  background-color: rgb(240, 240, 240);
  height: 100vh;
  position: relative;
  padding-bottom: "300px";
}

.sticky-footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa; /* Adjust the background color as needed */
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}.unauthorized-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  padding: 20px;
}

.unauthorized-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.unauthorized-message {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.unauthorized-message a {
  color: #367c2b;
  text-decoration: underline;
  font-weight: 500;
}

.unauthorized-message a:hover {
  color: #2d6424;
  text-decoration: none;
}

.unauthorized-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 10px;
}

.logout-button {
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #367c2b;
  color: white;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logout-button:hover {
  background-color: #2d6424;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.logout-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logout-button:focus {
  outline: 2px solid #367c2b;
  outline-offset: 2px;
}

/* Responsive design */
@media (max-width: 768px) {
  .unauthorized-container {
    padding: 10px;
  }

  .unauthorized-content {
    gap: 15px;
  }

  .unauthorized-message {
    font-size: 14px;
  }

  .logout-button {
    width: 100%;
    padding: 12px 20px;
  }
}
/* ── Page Layout ───────────────────────────────────────── */
._pageContainer_1e7n6_2 {
    background-color: #f4f6f8;
    min-height: 100vh;
}

._pageHeader_1e7n6_7 {
    padding: 24px 40px 16px;
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

._pageTitle_1e7n6_15 {
    color: #0b7f33 !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px;
    text-align: center;
}

._pageSubtitle_1e7n6_22 {
    color: #6b7280 !important;
    font-size: 0.82rem !important;
    text-align: center;
    margin-top: 4px;
}

/* ── Section Cards ─────────────────────────────────────── */
._sectionCard_1e7n6_30 {
    border: none !important;
    border-radius: 8px !important;
    padding: 24px !important;
    background-color: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

/* Parts card: no padding, overflow hidden for table header flush edges */
._sectionCardFlush_1e7n6_39 {
    border: none !important;
    border-radius: 8px !important;
    padding: 0 !important;
    overflow: hidden;
    background-color: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

/* ── Field Labels ──────────────────────────────────────── */
._fieldLabel_1e7n6_49 {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    margin-bottom: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
}

._requiredLabel_1e7n6_58 {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    color: #dc2626 !important;
    margin-bottom: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
}

/* ── Helper / Error Text ───────────────────────────────── */
._helperText_1e7n6_68 {
    font-size: 0.68rem !important;
    color: #9ca3af !important;
    margin-top: 4px !important;
    display: block;
}

._errorText_1e7n6_75 {
    font-size: 0.68rem !important;
    color: #dc2626 !important;
    margin-top: 4px !important;
    display: block;
}

._errorTextAbove_1e7n6_82 {
    font-size: 0.68rem !important;
    color: #dc2626 !important;
    margin-bottom: 4px !important;
    display: block;
}

/* ── Toggle Pills (All / OOS) ──────────────────────────── */
._togglePill_1e7n6_90 {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 4px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 3px 8px;
    background-color: #f9fafb;
}

._togglePillText_1e7n6_101 {
    font-size: 0.75rem !important;
    color: #6b7280 !important;
    white-space: nowrap;
}

/* ── Year Range Separator ──────────────────────────────── */
._yearSeparator_1e7n6_108 {
    color: #9ca3af;
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: 9px;
}

/* ── Section Spacing ───────────────────────────────────── */
._sectionSpacingTop_1e7n6_116 {
    margin-top: 32px;
}

/* ── Hydraulic Kit Selected Combination ────────────────── */
._selectedComboHeader_1e7n6_121 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

._addKitArea_1e7n6_128 {
    margin-top: 12px;
}

/* ── Parts Table ───────────────────────────────────────── */
._partsTableHeader_1e7n6_133 {
    display: grid;
    grid-template-columns: 200px 1fr 1fr 44px;
    background-color: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 16px;
}

._partsTableHeaderLabel_1e7n6_141 {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    margin: 0 !important;
}

._partsTableHeaderNoteLabel_1e7n6_150 {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding-left: 12px !important;
    margin: 0 !important;
}

._partsTableBody_1e7n6_160 {
    padding: 16px;
    padding-top: 12px;
}

._partsRow_1e7n6_165 {
    display: grid;
    grid-template-columns: 200px 1fr 1fr 44px;
    gap: 12px;
    align-items: center;
    padding: 8px 4px;
    border-radius: 6px;
    transition: background-color 0.15s;
}

._partsRow_1e7n6_165:nth-child(even) {
    background-color: #f8fafc;
}

._partsRow_1e7n6_165:hover {
    background-color: #f0fdf4;
}

/* ── Submit Bar ────────────────────────────────────────── */
._submitBar_1e7n6_184 {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-bottom: 8px;
}

/* ── Section Divider ─────────────────────────────── */
._sectionDivider_1e7n6_193 {
    border-color: #f0f0f0 !important;
}

._comboDivider_1e7n6_197 {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    border-color: #f0f0f0 !important;
}

/* ── Add Own Kit Button ──────────────────────────── */
._addOwnKitBtn_1e7n6_204 {
    color: #0b7f33 !important;
    text-transform: none !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

._customKitInput_1e7n6_213 {
    max-width: 220px;
}

._addCustomKitBtn_1e7n6_217 {
    background-color: #0b7f33 !important;
    text-transform: none !important;
    border-radius: 6px !important;
}

._addCustomKitBtn_1e7n6_217:hover {
    background-color: #096b2b !important;
}

/* ── Count Badge Chip ────────────────────────────── */
._countChip_1e7n6_228 {
    height: 18px !important;
    font-size: 0.68rem !important;
    background-color: #0b7f33 !important;
    color: #fff !important;
}

/* ── Selected Combination Chips ──────────────────── */
._selectedChip_1e7n6_236 {
    background-color: #616161 !important;
    color: #fff !important;
    border-color: transparent !important;
    font-weight: 500 !important;
}

/* ── Parts Delete Button ─────────────────────────── */
._partsDeleteBtn_1e7n6_244 {
    color: #d1d5db !important;
    transition: all 0.15s !important;
    width: 36px !important;
    height: 36px !important;
}

._partsDeleteBtn_1e7n6_244:hover {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
}

/* ── Add Row Button ──────────────────────────────── */
._addRowBtn_1e7n6_257 {
    margin-top: 12px !important;
    border-color: #d1fae5 !important;
    color: #0b7f33 !important;
    text-transform: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

._addRowBtn_1e7n6_257:hover {
    background-color: #f0fdf4 !important;
    border-color: #0b7f33 !important;
}

/* ── Submit Buttons ──────────────────────────────── */
._cancelBtn_1e7n6_275 {
    padding: 8px 24px !important;
    border-color: #e5e7eb !important;
    color: #6b7280 !important;
    text-transform: none !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
}

._cancelBtn_1e7n6_275:hover {
    border-color: #9ca3af !important;
    background-color: #f9fafb !important;
}

._saveBtn_1e7n6_289 {
    padding: 8px 32px !important;
    background-color: #0b7f33 !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.3px;
    text-transform: none !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 3px rgba(11, 127, 51, 0.3) !important;
}

._saveBtn_1e7n6_289:hover {
    background-color: #096b2b !important;
    box-shadow: 0 4px 12px rgba(11, 127, 51, 0.35) !important;
}

/* ── Search Kits Input ───────────────────────────── */
._searchKitsInput_1e7n6_306 .MuiOutlinedInput-root {
    border-radius: 6px;
}

._searchClearBtn_1e7n6_310 {
    color: #9ca3af !important;
    padding: 3px !important;
}
/* ── Page Layout ─────────────────────────────────────── */
._pageContainer_1k995_2 {
    padding-top: 24px;
    padding-bottom: 24px;
}

._outerPaper_1k995_7 {
    border: 1px solid #e0e0e0 !important;
    background-color: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden;
}

/* ── Page Header ─────────────────────────────────────── */
._pageHeader_1k995_15 {
    padding: 24px 40px 16px;
}

._pageTitle_1k995_19 {
    color: #0b7f33 !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px;
    text-align: center;
}

._pageSubtitle_1k995_26 {
    color: #6b7280 !important;
    font-size: 0.85rem !important;
    text-align: center;
    margin-top: 4px !important;
}

/* ── Content Area ────────────────────────────────────── */
._contentArea_1k995_34 {
    padding: 20px;
}

/* ── Search Bar ──────────────────────────────────────── */
._searchBar_1k995_39 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1.5px solid #d0d0d0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

._searchBar_1k995_39:focus-within {
    border-color: #0b7f33;
    box-shadow: 0 0 0 3px rgba(11, 127, 51, 0.12);
}

/* ── Table Container ─────────────────────────────────── */
._tableContainer_1k995_60 {
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    overflow: hidden;
}

/* ── Header Cells ────────────────────────────────────── */
._headerCell_1k995_67 {
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px;
    color: #fff !important;
    background-color: #0b7f33 !important;
    border-bottom: none !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

._headerCellCenter_1k995_79 {
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px;
    color: #fff !important;
    background-color: #0b7f33 !important;
    border-bottom: none !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    text-align: center !important;
}

/* ── Empty State ─────────────────────────────────────── */
._emptyCell_1k995_93 {
    text-align: center !important;
    padding: 32px 0 !important;
    color: #888 !important;
    font-size: 0.875rem !important;
}

/* ── Data Cells ──────────────────────────────────────── */
._dataCell_1k995_101 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    color: #444 !important;
    font-size: 0.875rem !important;
}

._dataCellBold_1k995_108 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    color: #1a1a1a !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

._actionCell_1k995_116 {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

._expandCell_1k995_123 {
    text-align: center !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* ── Expanded Parts Panel ────────────────────────────── */
._partsPanel_1k995_130 {
    margin: 0 24px 16px 24px;
    border-left: 3px solid #0b7f33;
    background-color: #f6fbf8;
    border-radius: 0 8px 8px 0;
    overflow: hidden;
}

._partsHeaderCell_1k995_138 {
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    color: #2d6a4f !important;
    padding-left: 32px !important;
    width: 20%;
}

._partsHeaderNoteCell_1k995_146 {
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    color: #2d6a4f !important;
}

._partsNoteCell_1k995_152 {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    font-size: 0.85rem !important;
    color: #444 !important;
}

._partsPartCell_1k995_159 {
    padding-left: 32px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* ── Search Column Select ─────────────────────────── */
._searchColSelect_1k995_166 {
    min-width: 190px;
    padding: 4px 12px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #0b7f33 !important;
    background-color: #f0faf4;
    border-right: 1.5px solid #d0d0d0;
}

/* Makes the MUI select dropdown arrow green */
._searchColSelect_1k995_166 .MuiSelect-icon {
    color: #0b7f33;
}

/* ── Header Action Cell (edit column) ─────────────── */
._headerCellAction_1k995_182 {
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px;
    color: #fff !important;
    background-color: #0b7f33 !important;
    border-bottom: none !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    width: 52px;
}

/* ── Model Series Cell ────────────────────────────── */
._dataCellModelSeries_1k995_196 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

/* ── Search Clear Icon size ───────────────────────── */
._clearIcon_1k995_204 {
    font-size: 1rem !important;
}

/* ── Search Input transparent bg ─────────────────── */
._searchInput_1k995_209 .MuiInputBase-root {
    background-color: transparent;
}

/* ── Edit Button ─────────────────────────────────── */
._editBtn_1k995_214 {
    color: #0b7f33 !important;
}

._editBtn_1k995_214:hover {
    background-color: #e6f4ec !important;
}

/* ── Model Chip ──────────────────────────────────── */
._modelChip_1k995_223 {
    background-color: #e6f4ec !important;
    color: #0b7f33 !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
}

/* ── Parts Header Row ────────────────────────────── */
._partsHeaderRow_1k995_231 {
    background-color: #d4edda;
}

/* ── Parts Data Row ──────────────────────────────── */
._partsDataRow_1k995_236:hover td {
    background-color: #edf7f1;
}

._partsDataRow_1k995_236:last-child td {
    border-bottom: none;
}

/* ── Part Number Chip ────────────────────────────── */
._partChip_1k995_245 {
    border-color: #0b7f33 !important;
    color: #0b7f33 !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
}

/* ── Collapse Cell ───────────────────────────────── */
._collapseCell_1k995_253 {
    padding: 0 !important;
    border-top: none !important;
}

/* ── Search Input ────────────────────────────────── */
._searchInput_1k995_209 input {
    font-size: 0.875rem;
    color: #2c2c2c;
    padding-left: 10px;
}

._searchClearBtn_1k995_265 {
    color: #aaa !important;
    margin-right: 4px !important;
}

._searchClearBtn_1k995_265:hover {
    color: #555 !important;
}
.paper-style {
    align-items: center;
    margin: 10px;
    padding: 10px;
}
.header-full-width {
    width: 100%;
    margin: 0 auto;  /* Centers the header if necessary and removes any default margin */
}

/* Navigation item spacing */
.header-full-width nav a,
.header-full-width nav button {
    margin-right: 16px;
}

.search {
    width: 30%;
    margin: 0 auto;  /* Centers the header if necessary and removes any default margin */
}

Footer {
    width: 100%;
    position: relative;
    background-color: #ddd;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    text-align: center;
    font-size: 14px;
    /* color: #858484; */
    font-family: 'Open Sans';
} 

.primaryTypographyProps{
    color: #333333;
    font-size: "14px";
    font-weight: "600";
   }

.add-cost {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13pt;
    font-weight: bold;
    text-align: left;
}

.paper-style {
    align-items: center;
    margin: 10px;
    padding: 10px;
}

.seamless-button {
    min-width: auto !important;
    padding: 8px !important;
    border: none !important;
    box-shadow: none !important;
}

.seamless-button:hover {
    background-color: rgb(245, 245, 245) !important;
    box-shadow: none !important;
}

/* PDF Modal Header Overrides */
.MuiDialogTitle-root {
    padding: 4px 16px !important;
    min-height: 40px !important;
}

.pdf-viewer {
    display: block;
    background-color: #525659;
}

.pdf-viewer {
  display: block;
  background-color: #525659;
}
/* Feedback Modal Styles */

.feedback-modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 0;
  outline: none;
  max-height: 90vh;
  overflow-y: auto;
}

.feedback-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f5f5f5;
  border-radius: 8px 8px 0 0;
}

.feedback-modal-header h2 {
  margin: 0;
  font-weight: 600;
  color: #333;
  font-size: 1.3rem;
}

.feedback-modal-close-btn {
  color: #666;
  transition: color 0.2s ease;
}

.feedback-modal-close-btn:hover {
  color: #333;
}

.feedback-modal-body {
  padding: 24px;
}

.feedback-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e0e0e0;
  background-color: #fafafa;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  border-radius: 0 0 8px 8px;
}

.feedback-submit-btn {
  text-transform: none;
  font-weight: 600;
  padding: 8px 24px;
  min-width: 200px;
  background-color: #367c2b !important;
  color: #ffffff !important;
}

.feedback-submit-btn:hover {
  background-color: #2e6824 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.feedback-submit-btn svg {
  color: #ffffff !important;
}

.feedback-info-text {
  display: block;
  padding: 8px 24px 16px 24px;
  text-align: center;
  color: #757575;
}

/* Responsive design */
@media (max-width: 768px) {
  .feedback-modal-container {
    width: 95%;
    max-height: 95vh;
  }

  .feedback-modal-header,
  .feedback-modal-body,
  .feedback-modal-footer {
    padding: 16px;
  }

  .feedback-modal-footer {
    flex-direction: column;
    gap: 8px;
  }

  .feedback-submit-btn {
    width: 100%;
  }
}

/* Loading state */
.feedback-modal-container button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Scrollbar styling for modal content */
.feedback-modal-container::-webkit-scrollbar {
  width: 8px;
}

.feedback-modal-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 8px;
}

.feedback-modal-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 8px;
}

.feedback-modal-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}
html {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevents horizontal scroll */
  place-items: center;
}




