    body {
        font-family: Arial,Helvetica,sans-serif;
        background-color: #f9fafb; /* gray-50 */
        color: #111827;
        height: 100vh;
        overflow: hidden;
    }
    
    /* Layout */
    .wrapper { display: flex; height: 100%; }
    
    /* Sidebar */
    .sidebar { font-size:1.1em;font-weight: 200 !important; width: 210px; background-color: #fff; border-right: 1px solid #e5e7eb; display: flex; flex-direction: column; transition: margin-left 0.3s ease; }
    .sidebar-header { height: 64px; display: flex; align-items: center; padding: 0 1.5rem; border-bottom: 1px solid #e5e7eb; background-color: #cd3838;}
       
    .sidebar-brand { font-size: 1.25rem; font-weight: 600; color: #fff; line-height: 2.6em; margin-top: 9px;}
    
    .nav-link { display: flex; align-items: center; padding: 0.5rem 0.75rem; color: #374151; font-weight: 500; border-radius: 0.375rem; margin-bottom: 0.25rem; text-decoration: none; cursor: pointer; }
    .nav-link:hover, .nav-link.active { background-color: #f3f4f6; color: #111827; text-decoration: none; }
    .nav-link i { margin-right: 0.75rem; width: 20px; height: 20px; color: #9ca3af; }
    
    /* Main Content */
    .main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
    .top-header { height: 64px; background-color: #fff; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; }
    .search-bar { display: flex; align-items: center; border: 1px solid #e5e7eb; border-radius: 0.375rem; padding: 0.375rem 0.75rem; width: 300px; color: #6b7280; font-size: 0.875rem; }
    .search-bar:hover { border-color: #d1d5db; color: #374151; }
    .content-scroll { flex: 1; overflow-y: auto; padding: 1.5rem; }
    #app-view { animation: fadeIn 0.3s ease-in-out; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
    
    /* Cards */
    .card { background-color: #fff; border: 1px solid #e5e7eb; border-radius: 0.5rem; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); margin-bottom: 1.5rem; }
    .card-headerxx { background-color: transparent; border-bottom: none; padding: 1.5rem 1.5rem 0.5rem; }
    .card-title { font-size: 1.5rem; font-weight: 600; line-height: 1; margin-bottom: 0.5rem; }
    .card-body { padding: 1.5rem; }
    
    /* Badges */
    .badge-status { display: inline-flex; align-items: center; padding: 0.125rem 0.625rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; text-transform: capitalize; color: #fff; }
    .bg-status-draft { background-color: #9ca3af; }
    .bg-status-sent { background-color: #3b82f6; }
    .bg-status-approved { background-color: #10b981; }
    .bg-status-scheduled { background-color: #8b5cf6; }
    .bg-status-completed { background-color: #10b981; }
    .bg-status-new { background-color: #f59e0b; }
    .bg-status-contacted { background-color: #3b82f6; }
    .bg-status-design { background-color: #2563eb; }
    
    /* Utilities */
    .text-muted-small { font-size: 0.875rem; color: #6b7280; }
    .btn-toolbar-custom .btn { font-size: 0.75rem; font-weight: 500; padding: 0.25rem 0.75rem; }
    .border-dashed { border-style: dashed !important; }
    .gap-1 { gap: 0.25rem; }
    .gap-2 { gap: 0.5rem; }
    .gap-3 { gap: 1rem; }
    .gap-4 { gap: 1.5rem; }
    .cursor-pointer { cursor: pointer; }
    .is-invalid { border-color: #dc3545 !important; }
    .invalid-feedback { display: none; color: #dc3545; font-size: 0.75rem; margin-top: 0.25rem; }
    .is-invalid ~ .invalid-feedback { display: block; }
    
    /* Tailwind-ish Utility replacements for modal content */
    .grid-cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .col-span-2 { grid-column: span 2 / span 2; }
    .col-span-3 { grid-column: span 3 / span 3; }
    .space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
    .space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
    
    @media (max-width: 768px) {
        .sidebar { margin-left: -260px; position: absolute; height: 100%; z-index: 50; }
        .sidebar.show { margin-left: 0; box-shadow: 4px 0 10px rgba(0,0,0,0.1); }
    }


/* Make DataTables rows more compact */
#clientTable tbody td {
    padding: 6px 8px 2px 8px;
    font-size: 15px;
    line-height: 1.5;
}

#clientTable thead th {
    padding: 8px;      /* Reduce header padding too */
    font-size: 14px;
}

/* Make buttons smaller too */
#clientTable .btn-sm {
    padding: 2px 8px;
    font-size: 12px;
    margin-bottom: 4px;
}


.btn-primary {
  color: #fff;
  background-color: #5479a0;
  border-color: #b3b3b3;
}

#clientTable tbody td a:not(.btn) {
    color: #285280;
    text-decoration: none;
    font-weight: 500;
}

#clientTable tbody td a:not(.btn):hover {
    color: #0056b3;
    text-decoration: underline;
}


/* Bold hover effect */
#clientTable tbody tr:hover {
    background-color: #d4edff !important;  /* Light blue */
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Add smooth transition */
#clientTable tbody tr {
    transition: background-color 0.2s ease;
}

.thinfo {
    font-size: 0.75rem;
    color: #444;
    margin-left: 5px;
    font-weight: 100;
}

.modal-header {
    background-color: #efefef;
    color: #111;
    font-weight: bold;
}

.info-section h5 {
  border-bottom: 2px solid #777 !important;
  padding-bottom: 5px;
  margin-bottom: 15px;
  color: #285280 !important;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #285280;
  border-color: #6c92bb;
}

.btn-success {
  color: #fff;
  background-color: #5c884c;
  border-color: #819586;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-header h2 {
    margin: 0;
}

.nav-spa2 {
    font-size:.7em;

}