
/* Force Hanuman font everywhere */
body, button, .tab-btn, .tab-header, .tab-content {
    font-family: 'Hanuman', system-ui, sans-serif !important;
}

.hidden {
    display: none;
}
.hidden-block {
    display: none;
}

/* Stepper icon mode (kept for compatibility if used elsewhere) */
.step-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #16a34a;
    color: #ffffff;
}
.step-item.active .step-number {
    background: #16a34a;
    color: #ffffff;
}
.step-item.completed .step-number {
    background: #16a34a;
    color: #ffffff;
}
.step-number svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}
.step-texts {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.step-next-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.7;
}
.step-next-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}
.step-item:last-child .step-next-icon {
    opacity: 0;
}

/* Review layout styling */
.review-title {
    font-size: 18px;
    font-weight: 700;
    color: #064e3b;
    margin-bottom: 12px;
}
.review-card {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 16px 18px;
    margin-bottom: 18px;
}
.info-grid-2,
.info-grid-3 {
    display: grid;
    gap: 10px 18px;
}
.info-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.info-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 768px) {
    .info-grid-2,
    .info-grid-3 {
        grid-template-columns: 1fr;
    }
}
.info-item {
    display: flex;
    flex-direction: column;
    font-size: 15px;
}
.info-label {
    color: #333;
    margin-bottom: 2px;
}
.info-value {
    color: #111827;
    font-weight: 600;
    text-align: left;
}
.subsection-title {
    font-size: 15px;
    font-weight: 700;
    color: #047857;
    margin: 10px 0 8px;
}
.inline-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    margin-bottom: 8px;
}
.inline-row-label {
    color: #333;
}
.inline-row-value {
    color: #111827;
    font-weight: 600;
}

/* === NEW row/column 12-grid for key–value === */
.kv-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px 6px;
}
.kv-col {
    padding: 0 8px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.kv-col-2 {
    flex: 0 0 16.6667%;
    max-width: 16.6667%;
}
.kv-col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}
.kv-col-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}
.kv-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}
.kv-col-8 {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
}
.kv-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.kv-label {
    color: #23272e;
    font-size: 15px;
    display: block;
}
.kv-value {
    color: #111827;
    font-weight: 600;
    font-size: 15px;
    display: block;
}

@media (max-width: 768px) {
    .kv-col-2,
    .kv-col-3,
    .kv-col-4,
    .kv-col-6,
    .kv-col-8,
    .kv-col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Transfer document row */
.transfer-doc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f9fafb;
}
.transfer-doc-info {
    display: flex;
    flex-direction: column;
    font-size: 15px;
}
.transfer-doc-title {
    font-weight: 600;
    color: #111827;
}
.transfer-doc-file {
    font-size: 14px;
    color: #4b5563;
}

.btn-link {
    border: none;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
}
.btn-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}
.btn-link:hover {
    background: #f3f4f6;
}

/* Purpose checkboxes */
.purpose-check-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 6px;
}
.purpose-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.purpose-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #16a34a;
}

/* Fertilizer table */
.fert-table-wrapper {
    margin-top: 10px;
    overflow-x: auto;
}
table.review-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.review-table thead tr {
    background: #9bffb7;
}
.review-table th,
.review-table td {
    border: 1px solid #e5e7eb;
    padding: 10px 10px;
    text-align: center;
    white-space: nowrap;
}
.review-table th {
    font-weight: 600;
    color: #1f2937;
}
.review-table tbody tr:nth-child(odd) {
    background: #f9fafb;
}
.review-table tbody tr:nth-child(even) {
    background: #ffffff;
}
.review-table td {
    color: #111827;
}
.table-action-btn {
    border: none;
    background: #ffffff;
    border: 1px solid #d1d5db;
    padding: 4px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}
.table-action-btn:hover {
    background: #bbf7d0;
}
.table-action-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}
.total-count {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

/* Attachments list styles */
.doc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}
.doc-item {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}
.doc-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.doc-title-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}
.doc-title {
    font-weight: 600;
    color: #111827;
}
.doc-required {
    color: #dc2626;
    font-weight: 700;
}
.doc-meta-row {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.doc-status-hasfile {
    color: #065f46;
    font-weight: 600;
}
.doc-status-empty {
    color: #9ca3af;
    font-style: italic;
}
.doc-file-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    font-size: 12px;
    color: #14532d;
}
.doc-file-pill svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}
.doc-file-name {
    white-space: nowrap;
}
.doc-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .doc-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .doc-actions {
        align-self: stretch;
        justify-content: flex-start;
    }
}

/* Declaration */
.declaration-box {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fdfdfb;
    font-size: 14px;
    line-height: 1.8;
    color: #111827;
}
.declaration-header {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    color: #064e3b;
}
.declaration-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.declaration-check input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: #16a34a;
}
.declaration-check a {
    color: #1d4ed8;
    text-decoration: underline;
}
.required {
    color: red;
}

/* Modal for fertilizer detail */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.modal-backdrop:not(.hidden) {
    display: flex;
}
.modal-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3);
    max-width: 820px;
    width: 100%;
    margin: 0 12px;
    padding: 20px 24px 24px;
    font-size: 14px;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}
.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #064e3b;
}
.modal-close-btn {
    border: none;
    background: #f3f4f6;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.modal-close-btn svg {
    width: 16px;
    height: 16px;
    stroke: #4b5563;
}
.modal-body {
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
}
.modal-section {
    margin-bottom: 16px;
}
.modal-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #047857;
    margin-bottom: 8px;
}
.detail-grid-2,
.detail-grid-3 {
    display: grid;
    gap: 10px 18px;
}
.detail-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.detail-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 640px) {
    .modal-card {
        max-width: 95%;
    }
    .detail-grid-2,
    .detail-grid-3 {
        grid-template-columns: 1fr;
    }
}
.detail-item {
    display: flex;
    flex-direction: column;
}
.detail-label {
    color: #374151;
    margin-bottom: 2px;
}
.detail-value {
    color: #111827;
    font-weight: 600;
}

/* badges & toggles */
.badge-inline {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    padding: 2px 8px;
    margin-left: 8px;
    cursor: pointer;
}
.badge-inline:hover {
    background: #d1d5db;
}
.badge-inline.active {
    background: #16a34a;
    color: white;
    font-weight: 600;
}
.type-toggle {
    cursor: pointer;
    font-weight: 600;
    text-underline-offset: 2px;
}

/* applicant layout with photo on right */
.applicant-layout {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.applicant-left {
    flex: 1;
}
.applicant-right {
    width: 160px;
    display: flex;
    justify-content: center;
}
.applicant-photo {
    width: 120px;
    height: 130px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #6b7280;
}

.no-rep-text {
    font-size: 14px;
    color: #374151;
    margin-top: 10px;
}
.flat-green-btn {
    background: #ffffff;
    color: #16a34a;
    border: 1px solid #16a34a;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}
.flat-green-btn:hover {
    background: #ecfdf5;
}

.general-flex {
    display: flex;
    gap: 32px;
}

.general-left,
.general-right {
    flex: 1;
}

.kv-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.kv-key {
    font-size: 15px;
    color: #374151;
    font-weight: 500;
}

.kv-value-right {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    text-align: right;
}

.btn-row {
    text-align: right;
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.flat-btn {
    font-family: 'Hanuman', sans-serif;
    background: white;
    color: #16a34a;
    border: 1px solid #16a34a;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s;
}

.flat-btn:hover {
    background: #ecfdf5;
}

@media (max-width: 768px) {
    .general-flex {
        flex-direction: column;
    }
    .kv-line {
        flex-direction: column;
        align-items: flex-start;
    }
    .kv-value-right {
        text-align: left;
    }
}

/* ===== TOP TOOLBAR ROW (TITLE + ACTION BUTTONS) ===== */
.review-toolbar {
    background: #ffffff;
    padding: 30px 20px;         /* Increase height */
    border-radius: 8px;
    margin: 16px 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
/* Title */
.review-toolbar-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    font-family: 'Hanuman', sans-serif;
}
.review-toolbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.mat-btn {
    font-family: 'Hanuman', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    padding: 6px 16px;
    cursor: pointer;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s, transform 0.1s, background-color 0.2s;
    color: #ffffff;
    white-space: nowrap;
    gap: 6px;
    align-items: center;
    display: inline-flex;
}
.mat-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}
.mat-btn:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}
.mat-btn:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}
.mat-primary {
    background: #0866FF;
}
.mat-warn {
    background: #dc2626; /* red */
}
.mat-return {
    background: #facc15; /* yellow */
    color: #063df2;      /* dark text for contrast */
}
.mat-success {
    background: #31b331;
}
.mat-allocate {
    background: #d97706;
}

@media (max-width: 640px) {
    .review-toolbar {
        align-items: flex-start;
    }
    .review-toolbar-actions {
        justify-content: flex-start;
    }
}

/* ===== Material Raised Button ===== */
.mat-raised-btn {
    font-family: 'Hanuman', sans-serif;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: #0866FF;;                /* Requested color */
    box-shadow: 0 2px 3px rgba(0,0,0,0.25);
    transition: 0.2s ease-in-out;
}

.mat-raised-btn:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transform: translateY(-1px);
}

.mat-raised-btn:active {
    box-shadow: 0 1px 2px rgba(0,0,0,0.25);
    transform: translateY(0);
}

/* ===== TAB NAVIGATION ===== */
.tab-container {
    margin-top: 20px;
    font-family: 'Hanuman', sans-serif;
}

.tab-header {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    gap: 10px;
    background: white;
}

.tab-btn {
    padding: 10px 18px;
    border: none;
    background: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    color: #374151;
    font-family: 'Hanuman', system-ui, sans-serif !important;
}

.tab-btn.active {
    background: #16a34a;
    color: white;
}

.tab-content {
    display: none;
    padding-top: 16px;
}

.tab-content * {
    font-family: 'Hanuman', system-ui, sans-serif !important;
}

.tab-content.active {
    display: block;
}


/* Simple vertical form fields inside modal */
.form-field {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.form-input {
    font-family: 'Hanuman', system-ui, sans-serif;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    padding: 6px 10px;
    min-height: 34px;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 1px #bbf7d0;
}

textarea.form-input {
    resize: vertical;
}

/* Red mat-raised button for cancel */
.mat-raised-btn-cancel {
    background: #dc2626;
}
.mat-raised-btn-cancel:hover {
    background: #b91c1c;
}

/* ===== DOCUMENT HISTORY TIMELINE ===== */

/* ===== SIMPLE VERTICAL TIMELINE (LIKE SCREENSHOT) ===== */

.timeline {
    margin-top: 4px;
    font-size: 14px;
}

/* each row */
.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    padding-bottom: 14px;
}

/* left column = dot + line */
.timeline-marker {
    width: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4px; /* align dot with title line */
}

.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cccccc;         /* default grey */
    flex-shrink: 0;
}

.timeline-line {
    flex: 1;
    width: 1px;
    background: #d4d4d4;
    margin-top: 3px;
}

/* hide line for last item */
.timeline-item:last-child .timeline-line {
    display: none;
}

/* right side text (no card box) */
.timeline-card {
    flex: 1;
    padding: 0;
    border: none;
    background: transparent;
}

/* title line (អនុម័ត, ផ្ទេរទៅកាន់, អ្នកទទួល...) */
.timeline-header {
    font-family: 'Hanuman', sans-serif;
    font-size: 14px;
    margin-bottom: 2px;
}

.timeline-title {
    color: #1d4ed8;              /* blue like link */
    font-weight: 700;
    margin-right: 4px;
}

.timeline-meta {
    color: #1d4ed8;              /* same blue */
    font-size: 13px;
}

/* detail lines under title */
.timeline-body {
    margin-top: 2px;
}

.timeline-body p {
    margin: 2px 0;
    color: #111827;
    font-size: 14px;
}

/* label/value style */
.timeline-label {
    font-weight: 400;
    color: #111827;
}

.timeline-value {
    font-weight: 700;
    color: #111827;
}

/* ===== DOT COLORS BY TYPE ===== */
/* អនុម័ត – green */
.timeline-item.approve .timeline-dot {
    background: #16a34a;
}

/* ផ្ទេរទៅកាន់ – blue #0866FF */
.timeline-item.transfer .timeline-dot {
    background: #0866FF;
}

/* អ្នកទទួល – blue #0866FF */
.timeline-item.receiver .timeline-dot {
    background: #0866FF;
}

/* បញ្ជូនត្រឡប់ – yellow #facc15 */
.timeline-item.return .timeline-dot {
    background: #facc15;
}

/* ស្នើសុំអាជ្ញាបណ្ណ – light green border */
.timeline-item.request .timeline-dot {
    background: #ecfdf5;
    border: 1px solid #16a34a;
}

/* Make tab buttons flex so icon + text align nicely */
.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;              /* space between icon and text */
    padding: 10px 18px;
    border: none;
    background: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    color: #374151;
    font-family: 'Hanuman', system-ui, sans-serif !important;
}

/* Icon inside tab */
.tab-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    font-size: 16px;  /* for emoji/icons font */
}

/* Active tab stays the same, just works with icon too */
.tab-btn.active {
    background: #16a34a;
    color: white;
}


.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: none;
    background: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    color: #374151;
    font-family: 'Hanuman', system-ui, sans-serif !important;
}

.tab-btn.active {
    background: #16a34a;
    color: white;
}

.tab-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    stroke: currentColor;
}

.btn-attach {
    background: #ffffff;
    border: 1px solid #16a34a;
    color: #16a34a;
    font-family: 'Hanuman', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}

.btn-attach:hover {
    background: #ecfdf5;
}

.btn-attach svg {
    width: 18px;
    height: 18px;
}

.doc-hidden-input {
    display: none;
}


/* ===== COMPACT APPROVE/REJECT BUTTONS ===== */
.btn-compact {
    font-family: 'Hanuman', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-compact svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

/* Approve button - green */
.btn-approve {
    background: #16a34a;
    color: white;
}

.btn-approve:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(22, 163, 74, 0.3);
}

/* Reject button - red */
.btn-reject {
    background: #dc2626;
    color: white;
}

.btn-reject:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

/* Return button - yellow/orange */
.btn-return {
    background: #f59e0b;
    color: white;
}

.btn-return:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

/* Info button - blue */
.btn-info {
    background: #0866FF;
    color: white;
}

.btn-info:hover {
    background: #0652cc;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(8, 102, 255, 0.3);
}

/* Secondary button - gray */
.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.3);
}

/* ===== LABELS WITH BACKGROUND COLORS ===== */
.label-badge {
    font-family: 'Hanuman', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.label-badge svg {
    width: 14px;
    height: 14px;
}

/* Status labels */
.label-approved {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.label-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.label-rejected {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.label-returned {
    background: #fed7aa;
    color: #9a3412;
    border: 1px solid #fdba74;
}

.label-completed {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.label-processing {
    background: #e0e7ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

.label-draft {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

/* Priority labels */
.label-high {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.label-medium {
    background: #fef9c3;
    color: #a16207;
    border: 1px solid #fef08a;
}

.label-low {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Type labels */
.label-individual {
    background: #e0f2fe;
    color: #075985;
    border: 1px solid #bae6fd;
}

.label-company {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
}

.label-required {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-size: 11px;
}

.label-optional {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
    font-size: 11px;
}
