table { width: 100%; border-collapse: collapse; } thead { background-color: #f9f9f9; } th, td { padding: 12px 16px; text-align: left; font-size: 14px; } th { font-weight: bold; text-transform: uppercase; color: #666; border-bottom: 1px solid #ddd; } tbody tr { border-bottom: 1px solid #eee; } .dashboard-table, table td { text-align: center; } .dashboard-table, table td.td-left { text-align: left; } .dashboard-table, table td.td-right { text-align: right; } /*Rename dashboard-table to match exactly with your HTML */ .dashboard-table, table { border-collapse: separate; border-spacing: 0; margin: 10px auto; width: 100%; border: 1px solid #E1C6A8; /* Make border more visible */ border-radius: 10px; overflow: hidden; line-height: 1.2; } /* Keep header and footer styles */ thead { background-color: #E1C6A8; } tfoot { background-color: #E1C6A8; } /* Update cell styles */ .dashboard-table th, .dashboard-table td, table th, table td { padding: 8px; border-right: 1px solid #E1C6A8; /* Add vertical borders */ border-bottom: 1px solid #E1C6A8; /* Add horizontal borders */ } /* Remove right border from last cell in each row */ .dashboard-table th:last-child, .dashboard-table td:last-child, table th:last-child, table td:last-child { border-right: none; } /* Remove bottom border from last row cells */ .dashboard-table tr:last-child td, table tr:last-child td { border-bottom: none; } .footer-container { display: flex; justify-content: space-between; align-items: center; } .footer-left button, .footer-right button { margin: 0 3px; padding: 3px 6px; font-size: 12px; } .page-number { margin: 0 10px; font-weight: bold; } .selectable-row { cursor: pointer; } .selected-row { background-color: #EDDECB; } .btn[disabled] { opacity: 0.5; cursor: not-allowed; } .status { display: inline-block; padding: 4px 8px; font-size: 12px; font-weight: bold; border-radius: 12px; background-color: #e0f0ff; color: #0066cc; } .actions button { background: none; border: none; color: #0066cc; font-size: 14px; cursor: pointer; margin-right: 10px; } .actions button:hover { color: #004999; } .actions button:last-child { color: #cc0000; margin-right: 0; } .actions button:last-child:hover { color: #990000; } .status-ok { color: #afddc0; /* green */ font-weight: 600; } .status-deleted { color: #e49486; /* green */ font-weight: 600; } .status-inactive { color: #b2b5b3; /* green */ font-weight: 600; } .invalid-container { color: #df6161; /* red */ font-weight: 600; } .validation-feedback { color: #dc2626; font-size: 0.875rem; margin-top: 0.25rem; } input.invalid-container { border-color: #dc2626; background-color: #fee2e2; } input.incomplete-container { background-color: #fbf3a2; /* red */ border-color: #dc2626; }