:root {
    --primary-color: #4361ee;
    --primary-hover: #3a56d4;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --text-color: #333;
    --text-light: #6c757d;
    --bg-color: #f8f9fa;
    --bg-sidebar: #ffffff;
    --bg-content: #ffffff;
    --border-color: #e9ecef;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    height: 100vh;
    overflow: hidden;
}

.app-container {
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    height: 100vh;
    overflow-y: auto;
    transition: all 0.3s ease;
    box-shadow: 2px 0 5px var(--shadow-color);
    z-index: 100;
    position: relative;
}

.sidebar.collapsed {
    margin-left: -33.33%;
}

.content-area {
    background-color: var(--bg-content);
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
    transition: all 0.3s ease;
}

.content-area.expanded {
    margin-left: 0;
    width: 100%;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-actions {
    display: flex;
    align-items: center;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.user-welcome {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(67, 97, 238, 0.05);
}

.user-welcome p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.user-welcome strong {
    color: var(--primary-color);
}

.loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
}

.loading-spinner-small {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #4361ee;
    animation: spin 0.8s linear infinite;
}

.loading-spinner-large {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #4361ee;
    animation: spin 0.8s linear infinite;
}

.loading-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.error-message {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 3px solid var(--danger-color);
    color: var(--danger-color);
    padding: 15px;
    margin: 10px;
    border-radius: var(--radius);
    text-align: center;
}

.error-message a {
    display: inline-block;
    margin-top: 10px;
}

.no-emails {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    color: var(--text-light);
    text-align: center;
}

.no-emails i {
    font-size: 2rem;
    color: var(--text-light);
    opacity: 0.5;
    margin-bottom: 15px;
}

.email-list {
    padding: 10px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.email-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    background-color: white;
    box-shadow: 0 1px 3px var(--shadow-color);
    animation: slideInRight 0.3s ease-out forwards;
    animation-fill-mode: both;
}

.email-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px var(--shadow-color);
}

.email-item.active {
    border-left: 3px solid var(--primary-color);
    background-color: rgba(67, 97, 238, 0.05);
}

.email-item.submitted {
    border-left: 3px solid var(--success-color);
}

.email-item-content {
    flex: 1;
}

.email-subject {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-sender {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-date {
    margin: 5px 0 0;
    font-size: 0.8rem;
    color: var(--text-light);
}

.submitted-badge {
    color: var(--success-color);
    font-size: 1.2rem;
    margin-left: 10px;
}

.email-detail-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 1023px) {
    .top-section {
        grid-template-columns: 1fr;
    }
}

.section-panel {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px var(--shadow-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.section-panel-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: var(--bg-color);
}

.bottom-section {
    margin-top: 1rem;
}

.email-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.email-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.email-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.metadata-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.metadata-label {
    color: var(--text-light);
    margin-right: 8px;
    font-weight: 500;
}

.metadata-value {
    color: var(--text-color);
}

.content-section h5,
.attachments-section h5,
.po-details-section h5,
.pdf-viewer-header h5,
.items-section h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.content-section h5 i,
.attachments-section h5 i,
.po-details-section h5 i,
.pdf-viewer-header h5 i,
.items-section h5 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.content-section,
.attachments-section,
.po-details-section,
.items-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.email-content-box {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 15px;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.attachment-item {
    background-color: #f8f9fa;
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: 0 1px 3px var(--shadow-color);
    position: relative;
}

.attachment-item h6 {
    margin: 0 0 10px;
    font-weight: 600;
    padding-right: 80px;
}

.attachment-item .btn {
    position: absolute;
    top: 10px;
    right: 10px;
}

.attachment-item.active {
    border-left: 3px solid var(--primary-color);
    background-color: rgba(67, 97, 238, 0.05);
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
}

.input-group-text {
    background-color: #f8f9fa;
    border-color: #ced4da;
    color: var(--primary-color);
}

.form-control {
    border-color: #ced4da;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

.btn-refresh {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius);
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.btn-refresh:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-approve {
    background-color: var(--success-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-approve:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3);
}

.btn-approve:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.approval-section {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.empty-state {
    height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.empty-state-content {
    max-width: 400px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.empty-state p {
    color: var(--text-light);
}

.pdf-viewer-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #f8f9fa;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px var(--shadow-color);
}

.pdf-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--radius) var(--radius) 0 0;
}

.pdf-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

#pdf-container {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
}

.pdf-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: white;
}

#pdf-canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

.email-content-row {
    display: flex;
    flex-wrap: wrap;
}

.sidebar-toggle-btn {
    position: absolute;
    left: calc(25% - 12px);
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.sidebar-toggle-btn:hover {
    background-color: var(--primary-hover);
}

.sidebar-toggle-btn i {
    transition: transform 0.3s ease;
}

.sidebar.collapsed + .sidebar-toggle-btn {
    left: 0;
}

.sidebar.collapsed + .sidebar-toggle-btn i {
    transform: rotate(180deg);
}

.sidebar-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loading-spinner-container {
    text-align: center;
    color: white;
}

.loading-spinner-container p {
    font-size: 1.2rem;
    font-weight: 500;
}

#items-table {
    font-size: 0.9rem;
}

#items-table th {
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

#items-table input,
#items-table select {
    border: 1px solid transparent;
    background-color: transparent;
    width: 100%;
    padding: 4px;
}

#items-table input:hover,
#items-table select:hover {
    border-color: var(--border-color);
}

#items-table input:focus,
#items-table select:focus {
    border-color: var(--primary-color);
    outline: none;
    background-color: rgba(67, 97, 238, 0.05);
}

#items-table input.form-control-sm,
#items-table select.form-select-sm {
    padding: 0.25rem 0.5rem;
    height: calc(1.5em + 0.5rem + 2px);
    font-size: 0.875rem;
}

#items-table td {
    vertical-align: middle;
    padding: 0.5rem;
}

#items-table td div {
    margin-bottom: 4px;
}

#items-table td div:last-child {
    margin-bottom: 0;
}

#items-table input[readonly] {
    background-color: #f8f9fa;
    cursor: default;
}

.item-delete-btn {
    color: var(--danger-color);
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 8px;
}

.item-delete-btn:hover {
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: var(--radius);
}

.tax-details-cell {
    border-right: none;
}

.tax-amount-cell {
    border-left: none;
}

.confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.confirmation-overlay.fade-out {
    opacity: 0;
}

.confirmation-dialog {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 400px;
    max-width: 90%;
    padding: 20px;
    animation: dialogFadeIn 0.3s ease;
}

.confirmation-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.confirmation-header i {
    color: var(--warning-color);
    font-size: 24px;
    margin-right: 10px;
}

.confirmation-header h4 {
    margin: 0;
    color: var(--text-color);
}

.confirmation-message {
    margin-bottom: 20px;
    color: var(--text-color);
}

.confirmation-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes dialogFadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

.email-item:nth-child(1) { animation-delay: 0.05s; }
.email-item:nth-child(2) { animation-delay: 0.1s; }
.email-item:nth-child(3) { animation-delay: 0.15s; }
.email-item:nth-child(4) { animation-delay: 0.2s; }
.email-item:nth-child(5) { animation-delay: 0.25s; }
.email-item:nth-child(6) { animation-delay: 0.3s; }
.email-item:nth-child(7) { animation-delay: 0.35s; }
.email-item:nth-child(8) { animation-delay: 0.4s; }
.email-item:nth-child(9) { animation-delay: 0.45s; }
.email-item:nth-child(10) { animation-delay: 0.5s; }

@media (min-width: 992px) {
    .sidebar-toggle-btn {
        left: calc(25% - 12px);
    }
    
    .sidebar.collapsed {
        margin-left: -25%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .email-subject {
        font-size: 0.9rem;
    }
    
    .email-sender {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .sidebar-toggle-btn {
        display: none;
    }
    
    .sidebar {
        position: fixed;
        width: 80%;
        left: -100%;
        z-index: 1010;
        transition: left 0.3s ease;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .content-area {
        width: 100%;
    }
    
    .email-metadata {
        flex-direction: column;
        gap: 10px;
    }
    
    .email-detail-container {
        padding: 15px;
        margin: -15px;
        border-radius: 0;
    }
    
    .pdf-viewer-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pdf-controls {
        margin-top: 10px;
        flex-wrap: wrap;
    }
    
    .pdf-container {
        min-height: 400px;
        padding: 10px;
    }
}

@media (max-width: 575.98px) {
    .email-detail-container {
        padding: 15px;
    }
    
    .email-header h4 {
        font-size: 1.2rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .pdf-container {
        min-height: 300px;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e1e1e1;
        --text-light: #a0a0a0;
        --bg-color: #121212;
        --bg-sidebar: #1e1e1e;
        --bg-content: #1e1e1e;
        --border-color: #333;
        --shadow-color: rgba(0, 0, 0, 0.3);
    }
    
    .email-item {
        background-color: #252525;
    }
    
    .email-item.active {
        background-color: rgba(67, 97, 238, 0.15);
    }
    
    .input-group-text {
        background-color: #252525;
        border-color: #444;
    }
    
    .form-control {
        background-color: #252525;
        border-color: #444;
        color: var(--text-color);
    }
    
    .form-control:focus {
        background-color: #2d2d2d;
    }
    
    .attachment-item {
        background-color: #252525;
    }
    
    .email-content-box {
        background-color: #252525;
        border-color: #444;
    }
    
    .pdf-container {
        background-color: #121212;
    }
    
    .pdf-viewer-header {
        background-color: #1e1e1e;
        border-color: #333;
    }
    
    .pdf-viewer-section {
        background-color: #252525;
    }
    
    .pdf-wrapper {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
        background-color: #252525;
    }
    
    .confirmation-dialog {
        background-color: #252525;
        color: #e1e1e1;
    }
}

/* Login Page Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--bg-color);
}

.login-card {
    background-color: var(--bg-content);
    border-radius: var(--radius);
    box-shadow: 0 4px 15px var(--shadow-color);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    animation: dialogFadeIn 0.3s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.login-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.6rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.login-btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
}

@media (prefers-color-scheme: dark) {
    .login-card {
        background-color: #2d3748;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .login-header h2 {
        color: #90cdf4;
    }
    
    .login-header p {
        color: #cbd5e0;
    }
}

.btn-logout {
    background-color: transparent;
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
    border-radius: var(--radius);
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background-color: var(--danger-color);
    color: white;
}

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 6px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* PDF viewer */
.pdf-canvas {
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 0.5rem;
    background-color: white;
}

/* Customize Toastify */
.toastify {
    border-radius: 0.5rem !important;
    font-family: 'Inter', sans-serif !important;
    padding: 12px 20px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
    .custom-scrollbar::-webkit-scrollbar-track {
        background: #1f2937;
    }

    .custom-scrollbar::-webkit-scrollbar-thumb {
        background: #4b5563;
    }

    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background: #6b7280;
    }

    .pdf-canvas {
        border-color: #374151;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    }
}

/* Email body content styles */
#email-body-content {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    white-space: pre-wrap;
    word-break: break-word;
    height: 400px;
    overflow-y: auto;
}

#email-body-content a {
    color: var(--primary-color);
    text-decoration: none;
}

#email-body-content a:hover {
    text-decoration: underline;
}

/* Three-panel layout styles */
.three-panel-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    height: 100%;
}

@media (max-width: 1024px) {
    .three-panel-layout {
        grid-template-columns: 1fr;
    }
}

/* Panel styles */
.panel {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px var(--shadow-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.panel-header h3 i {
    margin-right: 0.5rem;
}

.panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

/* Priority fields styling */
.priority-field {
    background-color: rgba(67, 97, 238, 0.05);
    border-left: 3px solid var(--primary-color);
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.priority-field label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    display: block;
}

.priority-field .value {
    font-weight: 500;
}

/* Extracted data section enhancement */
.extracted-data-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.extracted-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.field-group {
    margin-bottom: 1rem;
}

.field-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.field-value {
    background-color: var(--bg-color);
    padding: 0.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

/* Items table enhancement */
#items-table-section {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}