/* Add these styles to your existing CSS or create a new one */
.form-container {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
    font-size: 0.875rem;
}

.form-label.required::after {
    content: ' *';
    color: #ef4444;
}

.personnel-section {
    background: #f9fafb;
    padding: 16px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #2563eb;
}

.items-section {
    margin: 24px 0;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.items-header .section-title {
    margin-bottom: 0;
}

.items-table {
    width: 100%;
    margin-bottom: 0;
}

.items-table th {
    background: #f9fafb;
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    border-bottom: 1px solid #e5e7eb;
}

.items-table td {
    padding: 8px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
}

.items-table tfoot td {
    padding: 16px;
    font-weight: 600;
    background: #f9fafb;
    border-top: 2px solid #e5e7eb;
}

.grand-total-display {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
}

.grand-total-display #grandTotal {
    font-size: 1.25rem;
}

.form-actions {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    margin-top: 24px;
}

.form-actions .btn {
    min-width: 150px;
    padding: 10px 24px;
    margin-right: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .items-table {
        font-size: 0.875rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

.btn-erp {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.15s;
    text-decoration: none;
}

.btn-erp-primary {
    background: #3b82f6;
    color: white;
}

.btn-erp-primary:hover {
    background: #2563eb;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.page-header h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto; /* This pushes it to the right */
}