/* AttachmentSearch.css */

.attachment-search-container {
    box-sizing: border-box; /* cap total box at max-width like the reference build */
    padding: 24px;
    margin: 10px auto 16px; /* production shows 10px below the nav */
    max-width: 1500px;
    background-color: #ffffff;
    border-radius: 4px !important; /* Fuel theme Paper override forces 8px */
    box-shadow: 0 0 5px 0 rgba(27, 27, 27, 0.05), 0 1px 2px 0 rgba(27, 27, 27, 0.15), 0 0 0 1px rgba(51, 51, 51, 0.05), 0 1px 3px 0 rgba(51, 51, 51, 0.15) !important;
}

.attachment-search-header {
    /* text-align: center; */
    padding-left: 600px;
    margin-bottom: 32px;
    color: #388e3c !important; /* keep green over MUI theme typography */
    font-weight: 600 !important;
}

.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;
}

/* Production search controls are 32px tall */
.search-section .MuiInputBase-root {
    height: 32px !important;
}


.search-button {
    height: 36px;
    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: 36px;
    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: 36px;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: none;
    white-space: nowrap;
    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;
}

/* Production rows are ~50px: body cells use 1.43 line-height, header cells 24px */
.results-table .MuiTableCell-root {
    line-height: 1.43 !important;
}

/* Production checkboxes are 30px tall, keeping rows at ~50px */
.results-table .MuiCheckbox-root {
    padding: 3px !important;
}

.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 !important;
    line-height: 24px !important;
    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
   Values measured from production (attachments.deere.com, Fuel 16). !important is required
   because fuel-react v20 theme overrides otherwise win on Dialog/Button/Typography. */

.bulk-comment-dialog {
    border-radius: 8px !important;
    max-width: 900px !important;
    padding: 0 !important;
    gap: 0 !important;
}

.bulk-comment-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 72px !important;
    background-color: #f5f5f5 !important;
    border-bottom: 2px solid #e0e0e0 !important;
    padding: 4px 16px !important;
    margin: 0 4px 0 0 !important;
}

.bulk-comment-title .MuiTypography-root {
    color: #333 !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.25rem !important;
    padding-right: 20px !important;
    text-align: left !important;
}

.bulk-comment-close {
    width: 36px !important;
    height: 36px !important;
    padding: 5px !important;
    border-radius: 4px !important;
    color: #919191 !important;
    background-color: transparent !important;
}

.bulk-comment-close svg {
    font-size: 24px !important;
}

.bulk-comment-content {
    padding: 20px 24px !important;
    min-height: 200px;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
}

.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 {
    height: 36px !important;
    min-width: auto !important;
    padding: 8px 16px !important;
    background-color: transparent !important;
    border: 1px solid rgba(54, 124, 43, 0.5) !important;
    border-radius: 4px !important;
    color: #367c2b !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.5rem !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.choose-file-button:hover {
    background-color: transparent !important;
    border: 1px solid #367c2b !important;
    color: #367c2b !important;
}

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

.upload-instruction {
    color: #666 !important;
    font-size: 0.875rem !important;
    line-height: 1.43 !important;
    margin-top: 8px;
}

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

.download-sample-link {
    color: #367c2b !important;
    text-decoration: none;
    font-weight: 400 !important;
    font-size: 1rem !important;
    line-height: 1.5rem !important;
    cursor: pointer;
}

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

.bulk-comment-actions {
    padding: 16px !important;
    background-color: #f5f5f5 !important;
    border-top: 1px solid #e0e0e0 !important;
    gap: 12px !important;
    justify-content: flex-end !important;
}

.bulk-comment-actions > :not(:first-of-type) {
    margin-left: 8px !important;
}

.upload-button,
.reset-button {
    height: 36px !important;
    min-width: auto !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.5rem !important;
    text-transform: none !important;
}

.upload-button {
    background-color: #ffde00 !important;
    color: #000000 !important;
    border: 0 !important;
    box-shadow: 0 2px 4px rgba(255, 222, 0, 0.4);
}

.upload-button .MuiButton-startIcon svg {
    font-size: 20px !important;
}

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

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

.reset-button {
    border: 1px solid #999 !important;
    color: #333 !important;
    background-color: #fff !important;
}

.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_1p5al_2 {
    background-color: #f4f6f8;
    min-height: 100vh;
}

._pageHeader_1p5al_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_1p5al_15 {
    color: #0b7f33 !important;
    /* fuel-react v20 theme sets MuiTypography-h4 to 0.25rem; pin the size so the
       title keeps rendering at the production scale. */
    font-family: 'Open Sans', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px;
    text-align: center;
}

._pageSubtitle_1p5al_27 {
    color: #6b7280 !important;
    font-size: 0.82rem !important;
    /* v20 renders this variant as an inline <span>; force block so the
       centering below applies as it does in production. */
    display: block;
    text-align: center;
    margin-top: 4px;
}

/* ── Section Cards ─────────────────────────────────────── */
._sectionCard_1p5al_38 {
    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_1p5al_47 {
    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 ──────────────────────────────────────── */
/* fuel-react v20 maps these Typography variants to an inline <span> with a
   fixed 1.5rem line-height. Force block flow and a relative line-height so
   they occupy the full column at the same height production renders. */
._fieldLabel_1p5al_60 {
    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;
    display: block;
    line-height: 1.5 !important;
}

._requiredLabel_1p5al_71 {
    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;
    display: block;
    line-height: 1.5 !important;
}

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

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

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

._imageUploadBtn_1p5al_107 {
    min-height: 42px !important;
    border-radius: 8px !important;
    border: 2px dashed #0b7f33 !important;
    border-color: #0b7f33 !important;
    color: #0b7f33 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    background: linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(11, 127, 51, 0.08);
}

._imageUploadBtn_1p5al_107:hover {
    background-color: #f0fdf4 !important;
    border-color: #096b2b !important;
    box-shadow: 0 0 0 3px rgba(11, 127, 51, 0.08);
}

._imagePreviewBox_1p5al_125 {
    border: 2px solid #dfeee2;
    border-radius: 10px;
    padding: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f3faf4 100%);
    box-shadow: inset 0 0 0 1px rgba(11, 127, 51, 0.04);
}

._imagePreview_1p5al_125 {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background-color: #fff;
}

._removeImageBtn_1p5al_143 {
    color: #dc2626 !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

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

._togglePillText_1p5al_161 {
    font-size: 0.75rem !important;
    color: #6b7280 !important;
    white-space: nowrap;
    display: block;
    line-height: 1.5 !important;
}

/* ── Year Range Separator ──────────────────────────────── */
._yearSeparator_1p5al_170 {
    color: #9ca3af;
    flex-shrink: 0;
    align-self: flex-end;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0;
}

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

/* ── Model Details: production input + switch metrics ─────
   fuel-react v20 restyles the outlined TextField (taller box, 8px radius,
   16px side padding, transparent fill) and the Switch (40x32 root, hollow
   track). Production draws the field ring with `outline` and hides MUI's
   notched fieldset, and renders its label as a static bold block above the
   box. The rules below reproduce that exactly, scoped to this card. */
._modelDetailsCard_1p5al_190 .MuiOutlinedInput-root {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: auto !important;
    min-height: 32px;
    padding: 6px 8px !important;
    border: none !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    outline: 1px solid #b3b3b3;
    color: rgb(27, 27, 27);
    font-size: 14px !important;
    line-height: 20px;
}

._modelDetailsCard_1p5al_190 .MuiOutlinedInput-root.Mui-focused {
    outline: 2px solid #1976d2;
}

._modelDetailsCard_1p5al_190 .MuiOutlinedInput-root.Mui-error {
    outline-color: #d32f2f;
}

/* production does not dim the disabled field's text — it stays at the base ink */
._modelDetailsCard_1p5al_190 .MuiOutlinedInput-root.Mui-disabled {
    color: rgb(27, 27, 27);
}

/* production hides the notched fieldset and draws the ring with outline */
._modelDetailsCard_1p5al_190 .MuiOutlinedInput-notchedOutline {
    display: none;
}

._modelDetailsCard_1p5al_190 .MuiOutlinedInput-input {
    height: 20px;
    padding: 0 !important;
    font-size: 14px;
    line-height: 20px;
    color: rgb(27, 27, 27) !important;
    -webkit-text-fill-color: rgb(27, 27, 27);
}

._modelDetailsCard_1p5al_190 .MuiOutlinedInput-input::placeholder {
    color: rgb(102, 102, 102) !important;
    -webkit-text-fill-color: rgb(102, 102, 102);
    opacity: 1 !important;
}

/* label sits above the field as a static bold block, not a floating notch */
._modelDetailsCard_1p5al_190 .MuiInputLabel-outlined {
    position: relative;
    transform: none !important;
    max-width: 100%;
    margin-bottom: 0;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    color: #333 !important;
}

/* production keeps the dropdown adornment out of flow so the 32px box holds */
._modelDetailsCard_1p5al_190 .MuiAutocomplete-endAdornment {
    position: absolute;
    top: calc(50% - 12px);
    right: 9px;
    width: 24px;
    height: 24px;
}

._modelDetailsCard_1p5al_190 .MuiAutocomplete-endAdornment .MuiIconButton-root {
    width: 24px;
    height: 24px;
    padding: 2px;
}

._modelDetailsCard_1p5al_190 .MuiSwitch-root {
    width: 40px;
    height: 20px;
    margin: 8px 8px 8px 11px;
    padding: 0;
    border-radius: 100px;
}

._modelDetailsCard_1p5al_190 .MuiSwitch-track {
    width: 40px;
    height: 20px;
    border: none !important;
    border-radius: 24px;
    background-color: rgb(118, 118, 118) !important;
    opacity: 1 !important;
}

/* Production draws the knob with the switchBase itself (a 14px white circle
   inset 3px) and collapses the thumb to 0x0; v20 inverts this, painting a
   16px grey thumb inside a 24x20 transparent base. Restore production's. */
._modelDetailsCard_1p5al_190 .MuiSwitch-switchBase {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    padding: 0 !important;
    border-radius: 50%;
    background-color: #fff !important;
    box-shadow: rgba(0, 0, 0, 0.25) 0 1px 2px 0;
    transform: none !important;
}

/* production slides the knob with `left`, not a transform */
._modelDetailsCard_1p5al_190 .MuiSwitch-switchBase.Mui-checked {
    left: 23px;
}

._modelDetailsCard_1p5al_190 .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track {
    background-color: rgb(54, 124, 43) !important;
}

._modelDetailsCard_1p5al_190 .MuiSwitch-thumb {
    width: 0 !important;
    height: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* v20 paints the on/off glyphs as Material Symbols text; production uses the
   MUI Check/Clear SVGs as track background images. Swap back to the SVGs. */
._modelDetailsCard_1p5al_190 .MuiSwitch-track::before,
._modelDetailsCard_1p5al_190 .MuiSwitch-track::after {
    content: "" !important;
    position: absolute;
    top: 10px;
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    opacity: 1;
}

._modelDetailsCard_1p5al_190 .MuiSwitch-track::before {
    left: 3px;
    background-image: url("data:image/svg+xml,%3Csvg focusable='false' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3E%3Cpath d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'%3E%3C/path%3E%3C/svg%3E");
}

._modelDetailsCard_1p5al_190 .MuiSwitch-track::after {
    left: 23px;
    background-image: url("data:image/svg+xml,%3Csvg focusable='false' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'%3E%3C/path%3E%3Cpath d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3C/svg%3E");
}

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

._addKitArea_1p5al_346 {
    margin-top: 12px;
}

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

._partsTableHeaderLabel_1p5al_359 {
    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_1p5al_368 {
    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_1p5al_378 {
    padding: 16px;
    padding-top: 12px;
}

._partsRow_1p5al_383 {
    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_1p5al_383:nth-child(even) {
    background-color: #f8fafc;
}

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

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

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

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

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

._customKitInput_1p5al_431 {
    max-width: 220px;
}

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

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

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

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

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

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

/* ── Add Row Button ──────────────────────────────── */
._addRowBtn_1p5al_475 {
    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_1p5al_475:hover {
    background-color: #f0fdf4 !important;
    border-color: #0b7f33 !important;
}

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

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

._saveBtn_1p5al_507 {
    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_1p5al_507:hover {
    background-color: #096b2b !important;
    box-shadow: 0 4px 12px rgba(11, 127, 51, 0.35) !important;
}

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

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

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

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

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

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

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

/* ── Search Bar ──────────────────────────────────────── */
._searchBar_1aivl_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_1aivl_39:focus-within {
    border-color: #0b7f33;
    box-shadow: 0 0 0 3px rgba(11, 127, 51, 0.12);
}

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

/* ── Header Cells ────────────────────────────────────── */
._headerCell_1aivl_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_1aivl_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_1aivl_93 {
    text-align: center !important;
    padding: 32px 0 !important;
    color: #888 !important;
    font-size: 0.875rem !important;
}

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

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

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

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

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

._partsHeaderCell_1aivl_138 {
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    color: #2d6a4f !important;
    padding-left: 16px !important;
    width: 18%;
}

._partsHeaderNoteCell_1aivl_146 {
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    color: #2d6a4f !important;
    padding-left: 12px !important;
}

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

._partsPartCell_1aivl_161 {
    padding-left: 16px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* ── Search Column Select ─────────────────────────── */
._searchColSelect_1aivl_168 {
    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_1aivl_168 .MuiSelect-icon {
    color: #0b7f33;
}

/* ── Header Action Cell (edit column) ─────────────── */
._headerCellAction_1aivl_184 {
    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_1aivl_198 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

._searchClearBtn_1aivl_267:hover {
    color: #555 !important;
}

/* ── Filter Toolbar ───────────────────────────────── */
._filterToolbar_1aivl_277 {
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background-color: #ffffff;
    padding: 12px;
}

._activeFilterChips_1aivl_285 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

._activeFilterChip_1aivl_285 {
    background-color: #0b7f33 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

._activeFilterChip_1aivl_285 .MuiChip-deleteIcon {
    color: rgba(255, 255, 255, 0.9) !important;
}

._activeFilterChip_1aivl_285 .MuiChip-deleteIcon:hover {
    color: #ffffff !important;
}

._clearAllFiltersBtn_1aivl_307 {
    text-transform: none !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    color: #0b7f33 !important;
}

._filterCategoryRow_1aivl_314 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

._filterCategoryChip_1aivl_321 {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

._filterToggleBtn_1aivl_326 {
    margin-left: auto !important;
    text-transform: none !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-color: #0b7f33 !important;
    color: #0b7f33 !important;
}

._filterToggleBtn_1aivl_326:hover {
    border-color: #096b2b !important;
    background-color: #f0faf4 !important;
}

._filterOptionsPanel_1aivl_340 {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #d1d5db;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

._filterOptionChip_1aivl_349 {
    font-size: 0.76rem !important;
    font-weight: 600 !important;
}

._filterEmptyText_1aivl_354 {
    color: #6b7280 !important;
    font-size: 0.8rem !important;
}

._filterLoading_1aivl_359,
._tableLoading_1aivl_360 {
    display: flex;
    align-items: center;
    gap: 10px;
}

._filterLoading_1aivl_359 {
    width: 100%;
    min-height: 32px;
}

._filterLoadingText_1aivl_371,
._tableLoadingText_1aivl_372 {
    color: #4b5563 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
}

._tableLoading_1aivl_360 {
    justify-content: center;
    min-height: 48px;
}
.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 */
}

/* Match legacy Fuel 16 header bar metrics (48px tall, 16px inline padding) */
.header-full-width header {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 8px 0 16px !important; /* production: 16px left, 8px right inset */
    grid-template-rows: 47px !important; /* Fuel 20 uses a 63px row, pushing the logo to the border */
    grid-template-areas: "logo header-divider app-name search actions" !important; /* production desktop layout at all widths */
    grid-template-columns: auto 1px 1fr auto auto !important;
    column-gap: 24px !important; /* production gap logo↔divider↔app name */
    align-items: center;
}

.header-full-width nav {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* Selected top-nav item is green like the legacy Fuel 16 header */
.header-full-width nav [aria-current="page"],
.header-full-width nav [aria-current="page"] p {
    color: #367c2b;
}

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

/* Production page background */
body {
    background-color: #f0f0f0;
}

/* Fuel 16 (production) injected this global reset; fuel-react v20 does not, so every
   padded/bordered element renders larger locally (e.g. 72px dialog titles become 82px). */
html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.MuiFormControl-fullWidth,
.MuiInputBase-fullWidth {
    max-width: none !important;
}


.app-container footer {
    background-color: #ddd !important;
    padding: 0 !important;
}

.app-container footer > div {
    padding: 20px !important;
    line-height: 16px !important; /* production caption height */
}

.app-container footer,
.app-container footer * {
    color: #454545 !important;
}

/* Rows-per-page select: match production pagination (outlined 36px box) */
.MuiTablePagination-root .MuiTablePagination-input {
    outline: 1px solid #b3b3b3;
    border: none !important;
    border-radius: 4px;
    background-color: #fff;
    height: 36px;
    padding: 6px 0 6px 8px;
    box-sizing: border-box;
    margin-left: 8px !important;
    margin-right: 32px !important;
    margin-top: 8px !important;
    gap: 0 !important;
}

.MuiTablePagination-root .MuiTablePagination-select.MuiSelect-select {
    padding: 0 32px 0 8px !important;
    font-size: 16px;
    line-height: 36px;
    height: 36px;
    box-sizing: border-box;
    color: #1b1b1b;
}

.MuiTablePagination-root .MuiSelect-icon,
.MuiTablePagination-root .MuiTablePagination-input fuel-icon {
    color: rgba(0, 0, 0, 0.54);
}

.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;
}

.header-full-width header img[alt="John Deere logo"] {
    height: 32px !important; /* or desired size */
    width: auto !important;
}/* 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;
}




