:root {
    --sidebar-width: 200px;
    --statusbar-height: 30px;
    --border-color: #ddd;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}

.header {
    display: flex;
    align-items: center;
    background-color: #f4f4f4;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
}

.logo img {
    height: 60px;
}

.nav-buttons {
    display: flex;
    gap: 0.5rem;
}

.nav-buttons button {
    padding: 0.75rem 1rem;
    background: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.nav-buttons button:hover {
    background-color: #e0e0e0;
}

.nav-buttons button.active {
    border-color: #ff8c00;
    background-color: #ff8c00;
    color: white;
}

.content-area {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.main-content {
    padding: 1rem;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.statusbar {
    grid-column: 1 / 3;
    grid-row: 2;
    background-color: #f4f4f4;
    border-top: 1px solid var(--border-color);
    padding: 0 1rem;
    line-height: var(--statusbar-height);
    font-size: 0.8rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
}

.form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.explorer-container {
    display: grid;
    grid-template-columns: 200px 1fr;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.explorer-sidebar {
    border-right: 1px solid var(--border-color);
    padding-right: 1rem;
    margin-left: 5mm;
}

#category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#category-list button {
    width: 100%;
    text-align: left;
    padding: 0.5rem;
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
}

#category-list button:hover {
    background-color: #e0e0e0;
}

#category-list button.active {
    background-color: #ff8c00;
    color: white;
    border-color: #ff8c00;
}

.explorer-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#data-view,
#data-table {
    flex: 1;
    position: relative;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Changed from auto to hidden */
}

/* Styles for column toggle header */
#data-view>div:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 5px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
}

#data-view>div:first-child label {
    margin-right: 10px;
}

.explorer-controls {
    padding-bottom: 0;
    flex-shrink: 0;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    /* This will handle both scrolls */
    overflow-y: auto;
    flex: 1;
    position: relative;
}



.table-wrapper::-webkit-scrollbar {
    height: 12px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #888;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th,
td {
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

th {
    background-color: #f4f4f4;
    position: sticky;
    top: 0;
    z-index: 1;
}

#settings-view {
    margin-left: 1cm;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 1000;
}

.loading-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #ff8c00;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Assure le défilement horizontal dans Tabulator */
#data-view .tabulator,
#data-table .tabulator {
    width: 100%;
    height: 100%;
}

#data-view .tabulator .tabulator-tableholder,
#data-table .tabulator .tabulator-tableholder {
    overflow-x: auto !important;
    overflow-y: auto !important;
}

.complex-cell {
    max-height: calc(100vh - 280px);
    min-height: 180px;
    overflow-y: auto;
    padding-right: 6px;
}

.complex-cell strong {
    display: inline-block;
    min-width: 120px;
}

.search-hit {
    animation: searchHighlight 1.2s ease;
}

@keyframes searchHighlight {
    0% {
        background-color: #fff8c4;
    }

    100% {
        background-color: transparent;
    }
}

/* Quotes modal styles */
.quotes-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.quotes-modal {
    background: #f8fafc;
    color: #1f2937;
    border-radius: 16px;
    width: min(1100px, 100%);
    box-shadow: 0 40px 120px rgba(15, 23, 42, 0.3);
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-height: 90vh;
}

.quotes-modal header,
.quotes-modal footer {
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.quotes-modal footer {
    border-top: 1px solid #e2e8f0;
    border-bottom: none;
}

.quotes-modal main {
    padding: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quotes-modal .quotes-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.quotes-modal .quotes-actions button {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    background: #f97316;
    color: #fff;
    box-shadow: 0 4px 8px rgba(249, 115, 22, 0.3);
}

.quotes-modal .quotes-search {
    position: relative;
    max-width: 320px;
    flex: 1;
}

.quotes-modal .quotes-search input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1px solid #cbd5f5;
    border-radius: 12px;
    background: #f1f5f9;
}

.quotes-modal .quotes-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.quotes-modal table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.quotes-modal thead {
    background: #f1f5f9;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #64748b;
}

.quotes-modal th,
.quotes-modal td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.quotes-modal tbody tr:hover {
    background: #f8fafc;
}

.quotes-modal tbody tr {
    cursor: pointer;
    transition: background 0.2s ease;
}

.quotes-modal tbody tr.selected {
    background: #fff0e6;
}

.quotes-modal .quotes-table-wrapper {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    flex: 1;
    overflow-y: auto;
}

.quotes-modal .quotes-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}

.quotes-modal .quotes-pagination button {
    border: none;
    background: transparent;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    color: #475569;
}

.quotes-modal .quotes-select-buttons button {
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
}

.quotes-modal .btn-secondary,
.quotes-project-modal .btn-secondary {
    background: #e2e8f0;
    color: #1f2937;
}

.quotes-modal .btn-primary,
.quotes-project-modal .btn-primary {
    background: #1f2937;
    color: #fff;
}

.quotes-modal .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.quotes-modal .quotes-row-action {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 6px;
    padding: 4px;
}

.quotes-modal .quotes-row-action:hover {
    color: #f97316;
    background: rgba(249, 115, 22, 0.08);
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    display: inline-flex;
    vertical-align: middle;
}

.quotes-project-modal {
    background: #ffffff;
    border-radius: 16px;
    width: min(760px, 95vw);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.quotes-project-modal h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #1f2937;
}

.quotes-project-modal p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
}

.quotes-project-modal input {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 1rem;
}

.quotes-project-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.quotes-project-modal-actions button {
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
}

.project-modal-error {
    color: #dc2626;
    font-size: 0.9rem;
    min-height: 1.2em;
}

.project-modal-title {
    margin: 0 0 4px 0;
    font-size: 1.35rem;
    color: #0f172a;
}

.project-modal-subtitle {
    margin: 0 0 16px 0;
    color: #475569;
    font-size: 0.95rem;
}

.project-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    margin-bottom: 16px;
}

.project-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
}

.project-card h4 {
    margin: 0;
    font-size: 1.05rem;
    color: #0f172a;
}

.project-card header p,
.project-card p {
    margin: 4px 0 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

.project-card-new {
    background: #f8fafc;
}

.project-card input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
}

.project-card input:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
}

.project-card-list-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.project-card-list-head h4 {
    margin-bottom: 2px;
}

.project-counter {
    color: #94a3b8;
    font-size: 0.85rem;
}

.project-search {
    margin-bottom: 12px;
}

.project-table-wrapper {
    max-height: 220px;
}

.project-table-empty {
    padding: 16px;
    text-align: center;
    color: #94a3b8;
}

.project-documents-panel {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.project-documents-panel.is-visible {
    display: flex;
}

.project-documents-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.project-documents-header h5 {
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
}

.project-documents-hint {
    margin: 4px 0 0 0;
    color: #94a3b8;
    font-size: 0.85rem;
}

.project-documents-status {
    font-size: 0.85rem;
    color: #94a3b8;
}

.project-documents-table {
    max-height: 180px;
}

.project-select-wrapper select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 0.95rem;
    min-height: 44px;
    box-sizing: border-box;
}

.project-select-wrapper select:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
}

.project-document-select select {
    background: #fff;
}

.project-document-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    color: #475569;
}

.project-document-detail {
    padding: 6px 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

/* New Contact Modal Styles */
.quotes-new-contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2200;
    padding: 20px;
}

.quotes-new-contact-modal {
    background: #ffffff;
    color: #1f2937;
    border-radius: 16px;
    width: min(1200px, 95vw);
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 40px 120px rgba(15, 23, 42, 0.3);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.quotes-new-contact-modal .modal-header {
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.quotes-new-contact-modal .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f39c12;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quotes-new-contact-modal .modal-close-btn {
    background: #f39c12;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.quotes-new-contact-modal .modal-close-btn:hover {
    background: #e08e0b;
}

.quotes-new-contact-modal .modal-body {
    padding: 24px;
}

.quotes-new-contact-modal .modal-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
}

.quotes-new-contact-modal .form-section {
    margin-bottom: 32px;
}

.form-section-title {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.form-section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: #e5e7eb;
    margin-left: 12px;
}

.quotes-new-contact-modal .contact-type-toggle {
    display: inline-flex;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #d1d5db;
}

.quotes-new-contact-modal .contact-type-btn {
    padding: 8px 20px;
    border: none;
    background: white;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.quotes-new-contact-modal .contact-type-btn.active {
    background: #f39c12;
    color: white;
}

.quotes-new-contact-modal .contact-type-btn:not(.active):hover {
    background: #f9fafb;
}

.quotes-new-contact-modal .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.quotes-new-contact-modal .form-group {
    display: flex;
    flex-direction: column;
}

.quotes-new-contact-modal .form-group.full-width {
    grid-column: 1 / -1;
}

.quotes-new-contact-modal .form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
    color: #374151;
}

.quotes-new-contact-modal .form-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.quotes-new-contact-modal .form-input-group .material-icons {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    font-size: 20px;
    z-index: 1;
}

.quotes-new-contact-modal .form-input,
.quotes-new-contact-modal .form-select,
.quotes-new-contact-modal .form-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.quotes-new-contact-modal .form-input:focus,
.quotes-new-contact-modal .form-select:focus,
.quotes-new-contact-modal .form-textarea:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.quotes-new-contact-modal .form-input.has-icon {
    padding-left: 40px;
}

.quotes-new-contact-modal .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.quotes-new-contact-modal .form-textarea {
    resize: vertical;
    min-height: 80px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.quotes-new-contact-modal .form-textarea.has-icon {
    padding-left: 40px;
    padding-top: 12px;
}

.quotes-new-contact-modal .form-select.has-icon {
    padding-left: 40px;
}

.quotes-new-contact-modal .form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.quotes-new-contact-modal .form-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
}

.quotes-new-contact-modal .form-checkbox:checked {
    background-color: #f39c12;
    border-color: #f39c12;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 0 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.quotes-new-contact-modal .form-checkbox-label {
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
}

.quotes-new-contact-modal .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.quotes-new-contact-modal .sidebar-section {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.quotes-new-contact-modal .photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    color: #9ca3af;
}

.quotes-new-contact-modal .photo-placeholder .material-icons {
    font-size: 64px;
    margin-bottom: 16px;
}

.quotes-new-contact-modal .photo-controls {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.quotes-new-contact-modal .photo-btn {
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.quotes-new-contact-modal .photo-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.quotes-new-contact-modal .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.quotes-new-contact-modal .section-title {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #6b7280;
    font-size: 1rem;
}

.quotes-new-contact-modal .section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: #e5e7eb;
    margin-left: 8px;
}

.quotes-new-contact-modal .section-count {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-left: 4px;
}

.quotes-new-contact-modal .add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #f39c12;
    border-radius: 6px;
    background: white;
    color: #f39c12;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.quotes-new-contact-modal .add-btn:hover {
    background: #fef3c7;
}

.quotes-new-contact-modal .modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f9fafb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.quotes-new-contact-modal .modal-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.quotes-new-contact-modal .modal-btn-primary {
    background: #f39c12;
    color: white;
    border: 1px solid #f39c12;
}

.quotes-new-contact-modal .modal-btn-primary:hover {
    background: #e08e0b;
}

.quotes-new-contact-modal .modal-btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
}

.quotes-new-contact-modal .modal-btn-secondary:hover {
    background: #f9fafb;
}


.doc-row {
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.doc-row.hovered {
    background-color: #f1f5f9;
}

.doc-row.selected {
    background-color: #e0f2fe;
}

.doc-leading {
    width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin-right: 8px;
}

.doc-row.selected .doc-leading {
    color: #0ea5e9;
}

.doc-content {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.doc-title {
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.doc-type-pill {
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.75rem;
    border-radius: 999px;
    padding: 2px 8px;
}

.doc-meta-row {
    font-size: 0.85rem;
    color: #64748b;
}

.doc-pill {
    display: inline-flex;
    align-items: center;
    background: #e2e8f0;
    color: #475569;
    border-radius: 999px;
    padding: 2px 8px;
    margin-right: 6px;
    font-size: 0.75rem;
}

/* Quote document viewer */
.quote-doc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: none;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    z-index: 5000;
}

.quote-doc-window {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f3f4f6;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    box-sizing: border-box;
    box-shadow: none;
    overflow: hidden;
    border: none;
}

.quote-doc-window--compact {
    padding: 10px;
}

.quote-doc-window--xcompact {
    padding: 6px 8px;
}

.quote-doc-header {
    padding: 20px 28px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.quote-doc-window--compact .quote-doc-header {
    padding: 14px 20px;
}

.quote-doc-window--xcompact .quote-doc-header {
    padding: 10px 14px;
}

.quote-doc-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.quote-doc-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    font-size: 0.9rem;
}

.quote-doc-subtitle .material-symbols-outlined {
    font-size: 22px;
    color: #9ca3af;
}

.quote-doc-subtitle-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.quote-doc-subtitle-text strong {
    color: #111827;
}

.quote-doc-context {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 2px;
}

.quote-doc-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quote-doc-top-vendor {
    display: none;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 4px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    flex-direction: column;
    gap: 2px;
}

.quote-doc-top-vendor-name {
    font-weight: 700;
}

.quote-doc-top-vendor-date {
    font-size: 0.74rem;
    font-weight: 500;
    color: #6b7280;
}

.quote-doc-line-details-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    display: none;
    z-index: 5100;
}

.quote-doc-line-details-window {
    width: 420px;
    height: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    border: 1px solid #d1d5db;
    position: fixed;
    overflow: hidden;
}

.quote-doc-line-details-drag {
    height: 34px;
    line-height: 34px;
    padding: 0 12px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: move;
    user-select: none;
}

.quote-doc-line-details-close {
    position: absolute;
    top: 4px;
    right: 8px;
    z-index: 2;
    border: none;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 999px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quote-doc-line-details-frame {
    width: 100%;
    height: calc(100% - 34px);
    border: none;
    background: #fff;
}

.quote-doc-outline-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #f97316;
    border-radius: 999px;
    padding: 8px 16px;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.quote-doc-outline-btn:hover {
    background: #ffedd5;
}

.quote-doc-icon-btn {
    border: none;
    background: transparent;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: background 0.2s ease, color 0.2s ease;
}

.quote-doc-icon-btn:hover:not([disabled]) {
    background: rgba(148, 163, 184, 0.2);
    color: #0f172a;
}

.quote-doc-icon-btn--loading {
    opacity: 0.6;
    pointer-events: none;
}

.quote-doc-body {
    padding: 2px 0 0;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
}

.quote-doc-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 6px 8px;
    flex-shrink: 0;
}

.quote-doc-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quote-doc-field-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.quote-doc-field-value {
    background: #fff;
    border: 1px solid #d1d5db;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
    color: #111827;
    min-height: 18px;
    display: flex;
    align-items: center;
    line-height: 1.05;
}

.quote-doc-table-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

.quote-doc-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.quote-doc-window--compact .quote-doc-toolbar {
    padding: 8px 12px;
}

.quote-doc-window--xcompact .quote-doc-toolbar {
    padding: 6px 10px;
}

.quote-doc-tabs {
    display: flex;
    gap: 6px;
}

.quote-doc-tabs button {
    border: none;
    background: transparent;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.quote-doc-tabs button.active {
    background: #f97316;
    color: white;
}

.quote-doc-tabs button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quote-doc-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quote-doc-toolbar-divider {
    width: 1px;
    height: 22px;
    background: #e5e7eb;
    margin: 0 4px;
}

.quote-doc-table-wrapper {
    overflow: auto;
    flex: 1;
    min-height: 0;
    position: relative;
}

.quote-doc-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
}

.quote-doc-table-wrapper thead {
    position: sticky;
    top: 0;
    background: #f9fafb;
    box-shadow: inset 0 -1px 0 #e5e7eb;
    z-index: 20;
}

.quote-doc-table-wrapper th,
.quote-doc-table-wrapper td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.quote-doc-window--compact .quote-doc-table-wrapper th,
.quote-doc-window--compact .quote-doc-table-wrapper td {
    padding: 8px 10px;
}

.quote-doc-window--xcompact .quote-doc-table-wrapper th,
.quote-doc-window--xcompact .quote-doc-table-wrapper td {
    padding: 6px 8px;
}

.quote-doc-table-wrapper th {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #f9fafb;
}

.quote-doc-table-wrapper tbody tr:hover {
    background: #f8fafc;
}

.quote-doc-table-wrapper tbody tr.quote-doc-row--selected {
    background: #fef3c7;
}

.quote-doc-table-wrapper tbody tr.quote-doc-row--selected td {
    background: #fef3c7 !important;
}

.quote-doc-table-wrapper th {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    text-align: center !important;
}

.quote-doc-table-wrapper td.col-wide {
    min-width: 200px;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.quote-doc-table-wrapper td.col-wide:hover {
    overflow: hidden;
}

.quote-doc-table-wrapper td.col-wide:hover::after {
    content: none;
}

.quote-doc-table-wrapper td.wrap {
    white-space: normal;
}

.quote-doc-cell-clickable {
    cursor: pointer;
}

.quote-doc-cell-has-tooltip {
    cursor: help;
}

.quote-doc-hover-tooltip {
    position: fixed;
    display: none;
    max-width: 520px;
    min-width: 220px;
    padding: 8px 10px;
    background: #111827;
    color: #fff;
    border-radius: 6px;
    font-size: 0.82rem;
    line-height: 1.35;
    white-space: normal;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
    pointer-events: none;
    z-index: 5200;
}

.quote-doc-tooltip-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quote-doc-tooltip-picture-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-doc-tooltip-picture {
    display: block;
    max-width: 96px;
    max-height: 82px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    background: #f8fafc;
}

.quote-doc-tooltip-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.quote-doc-cell-clickable:hover {
    background: #fff7ed;
}

.quote-doc-th-hide-wrap {
    position: relative;
    display: block;
    padding-top: 12px;
    white-space: nowrap;
}

.quote-doc-th-hide-label {
    display: block;
}

.quote-doc-col-hide-btn {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: #f97316;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.quote-doc-col-hide-btn .material-symbols-outlined {
    font-size: 14px;
}

.quote-doc-pose-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    color: #9ca3af;
    vertical-align: middle;
    position: relative;
}

.quote-doc-pose-badge.is-active {
    color: #f97316;
}

.quote-doc-pose-badge .material-symbols-outlined {
    font-size: 16px;
}

.quote-doc-pose-badge-count {
    position: absolute;
    right: -7px;
    bottom: -6px;
    min-width: 13px;
    height: 13px;
    padding: 0 3px;
    border-radius: 999px;
    background: #f97316;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-size: 9px;
    font-weight: 700;
    line-height: 11px;
    text-align: center;
    pointer-events: none;
}

.quote-doc-col-toggle-floating {
    position: absolute;
    top: 2px;
    transform: translateX(-50%);
    z-index: 3;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: #0284c7;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quote-doc-col-hide-floating {
    position: absolute;
    top: 2px;
    transform: translateX(-50%);
    z-index: 3;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: #f97316;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quote-doc-table-wrapper th.col-compact,
.quote-doc-table-wrapper td.col-compact {
    width: 1%;
    white-space: nowrap;
    padding-left: 6px;
    padding-right: 6px;
}

.quote-doc-table-wrapper td.quote-doc-cell-marker {
    white-space: normal;
    word-break: break-word;
    max-width: 220px;
}

.quote-doc-text-input {
    white-space: pre-wrap;
    overflow-wrap: break-word;
    line-height: 1.25;
}

.quote-doc-table-wrapper td.quote-doc-cell-marker .quote-doc-text-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.quote-doc-cell-strong {
    font-weight: 700;
    color: #0f172a;
}

.quote-doc-total-row {
    background: #fef2f2;
    color: #b91c1c;
    font-weight: 600;
}

.quote-doc-empty-row {
    text-align: center;
    color: #9ca3af;
    padding: 30px 0;
}

.quote-doc-totals {
    border-top: 1px solid #e5e7eb;
    background: #fff;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(9, minmax(72px, 1fr));
    gap: 0;
    flex-shrink: 0;
}

.quote-doc-window--compact .quote-doc-totals {
    padding: 0;
}

.quote-doc-window--xcompact .quote-doc-totals {
    padding: 0;
    gap: 0;
}

.quote-doc-totals-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    min-height: 32px;
    padding: 4px 8px;
    box-sizing: border-box;
}

.quote-doc-totals-cell:first-child {
    border-left: 1px solid #e5e7eb;
}

.quote-doc-totals-cell strong {
    font-size: 0.85rem;
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
}

.quote-doc-footer {
    border-top: 1px solid #e5e7eb;
    background: #fff;
    padding: 8px 28px 6px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.quote-doc-window--compact .quote-doc-footer {
    padding: 6px 18px 4px;
}

.quote-doc-window--xcompact .quote-doc-footer {
    padding: 4px 12px 3px;
    gap: 2px;
}

.quote-doc-footer-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding-left: 8px;
    white-space: nowrap;
}

.quote-doc-primary-btn {
    border: 1px solid #f97316;
    background: #f97316;
    color: #fff;
    border-radius: 9999px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.quote-doc-primary-btn:hover:not([disabled]) {
    background: #ea580c;
    border-color: #ea580c;
}

.quote-doc-primary-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.quote-doc-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 4px;
    min-width: 0;
}

.quote-doc-summary-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 4px 5px;
    min-height: 22px;
}

.quote-doc-window--compact .quote-doc-summary-field {
    padding: 3px 4px;
    min-height: 20px;
}

.quote-doc-window--xcompact .quote-doc-summary-field {
    padding: 2px 4px;
    min-height: 18px;
}

.quote-doc-summary-field span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

.quote-doc-summary-field strong {
    font-size: 0.95rem;
    color: #111827;
}

.quote-doc-summary-field.emphasize {
    background: #fff7ed;
    border-color: #fdba74;
}

.quote-doc-summary-discount-editor {
    display: flex;
    align-items: center;
    gap: 4px;
}

.quote-doc-summary-discount-input {
    width: 100%;
    min-width: 0;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.88rem;
    color: #0f172a;
    background: #fff;
}

.quote-doc-summary-discount-mode {
    width: 54px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 2px 4px;
    font-size: 0.78rem;
    color: #334155;
    background: #fff;
}

.quote-doc-summary-vat-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 1px;
}

.quote-doc-summary-vat-breakdown-row {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.2;
    white-space: nowrap;
}

.quote-doc-footnote {
    font-size: 0.78rem;
    color: #9ca3af;
    line-height: 1.1;
    grid-column: 1 / -1;
}

.quote-doc-dialog-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 30;
}

.quote-doc-dialog-window {
    width: min(460px, calc(100% - 32px));
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.28);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quote-doc-dialog-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.quote-doc-dialog-message {
    font-size: 0.92rem;
    color: #374151;
}

.quote-doc-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

.quote-doc-app-alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.quote-doc-app-alert-window {
    width: min(440px, calc(100% - 48px));
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.28);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quote-doc-app-alert-header {
    font-size: 1rem;
}

.quote-doc-app-alert-body {
    font-size: 0.9rem;
    color: #1f2937;
    line-height: 1.45;
    white-space: pre-line;
}

.quote-doc-app-alert-actions {
    display: flex;
    justify-content: flex-end;
}

.quote-doc-rights-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 32;
}

.quote-doc-rights-window {
    width: min(860px, calc(100% - 48px));
    max-height: calc(100% - 48px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.28);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quote-doc-rights-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quote-doc-rights-body {
    min-height: 120px;
    overflow: auto;
}

.quote-doc-rights-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
}

.quote-doc-rights-login label {
    font-size: 0.86rem;
    color: #475569;
}

.quote-doc-rights-status {
    font-size: 0.84rem;
    color: #475569;
}

.quote-doc-rights-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.quote-doc-rights-table-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: auto;
    max-height: 52vh;
}

.quote-doc-rights-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.quote-doc-rights-table th,
.quote-doc-rights-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 10px;
    text-align: left;
}

.quote-doc-rights-table th {
    position: sticky;
    top: 0;
    background: #f9fafb;
    z-index: 1;
}

.quote-doc-rights-table td.center,
.quote-doc-rights-table th.center {
    text-align: center;
}

.quote-doc-rights-table input[type="text"],
.quote-doc-rights-table input[type="password"] {
    width: 100%;
    min-width: 120px;
    box-sizing: border-box;
    padding: 4px 6px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
}

.quote-doc-line-number {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.quote-doc-line-number-child {
    padding-left: 16px;
}

.quote-doc-line-toggle,
.quote-doc-line-toggle-spacer {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quote-doc-line-toggle {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 0;
}

.quote-doc-line-toggle:hover {
    background: #f3f4f6;
}

.quote-doc-line-child td {
    background: #fff;
}

.quote-doc-qty-input {
    width: 70px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 0.85rem;
    text-align: right;
}

.quote-doc-table-wrapper td.col-compact .quote-doc-qty-input {
    width: 46px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.quote-doc-discount-input {
    appearance: textfield;
    -moz-appearance: textfield;
}

.quote-doc-discount-input::-webkit-outer-spin-button,
.quote-doc-discount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quote-doc-product-list {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    min-height: 260px;
    max-height: 360px;
    overflow: auto;
    background: #fff;
}

.quote-doc-product-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 7px 10px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    color: #334155;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}

.quote-doc-product-option:hover {
    background: #fff7ed;
}

.quote-doc-product-option.is-selected {
    background: #fef3c7;
}

.quote-doc-product-option-empty {
    cursor: default;
    color: #94a3b8;
}

.quote-doc-configurator-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 6000;
}

.quote-doc-configurator-window {
    width: 90%;
    height: 90%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top: 6px solid #f97316;
}

.quote-doc-configurator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background-color: #f97316;
    color: white;
    border-bottom: none;
    gap: 1rem;
}

.quote-doc-configurator-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: white;
}

.quote-doc-configurator-header p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.quote-doc-configurator-body {
    flex: 1;
    background: #f3f4f6;
}

.quote-doc-configurator-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}
.quote-doc-configurator-header .quote-doc-icon-btn {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.quote-doc-configurator-header .quote-doc-icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}
