
/* Receipt Mode Styles */
body.mode-receipt .quotation-only,
body.mode-receipt .item-section,
body.mode-receipt .bill-to-section,
body.mode-receipt .doc-no-suffix-wrapper,
body.mode-receipt .top-meta-fields,
body.mode-receipt .header-top {
    display: none !important;
}

body.mode-receipt .header-meta-container {
    display: block !important;
}

#receipt-container {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-100);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--bg-300);
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

#receipt-section {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

body.mode-receipt #receipt-container {
    display: flex;
}

body.mode-receipt #receipt-section {
    display: flex;
}

.receipt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.receipt-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.receipt-field label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-200);
    text-transform: uppercase;
}

.receipt-input {
    width: 100%;
    padding: 9px 12px;
    height: 38px;
    border: 1px solid var(--bg-300);
    border-radius: 8px;
    background: var(--bg-200);
    color: var(--text-100);
    font-size: 0.9rem;
    text-transform: uppercase;
    box-sizing: border-box;
    line-height: 1;
}

.receipt-input:focus {
    outline: none;
    border-color: var(--color-brand);
}

body.mode-receipt #docNoDisplay {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: var(--bg-200);
    border: 1px solid var(--bg-300);
    border-radius: 8px;
    padding: 9px 10px;
    height: 38px; /* Matches receipt-input height approximately */
    box-sizing: border-box;
    width: 80px;
    margin-left: auto;
    line-height: 1;
}
