This commit is contained in:
2026-03-28 15:10:11 -04:00
parent 0521b8dfd6
commit e00669ae2c
6 changed files with 789 additions and 2 deletions
+101
View File
@@ -785,6 +785,98 @@ footer {
color: var(--text-dark);
}
.reports-modal-content {
max-width: 1000px;
}
.reports-controls {
display: flex;
align-items: end;
gap: 12px;
margin: 16px 0 10px;
flex-wrap: wrap;
}
.report-control {
flex: 1;
min-width: 220px;
}
.report-control label {
display: block;
font-weight: 600;
margin-bottom: 6px;
}
.report-control select {
width: 100%;
padding: 8px 10px;
border: 1px solid var(--border-color);
border-radius: 6px;
}
.report-control input {
width: 100%;
padding: 8px 10px;
border: 1px solid var(--border-color);
border-radius: 6px;
}
.report-control input:focus,
.report-control select:focus {
outline: none;
border-color: var(--secondary-color);
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.12);
}
.report-actions {
display: flex;
align-items: center;
}
.reports-summary {
font-size: 0.95em;
color: var(--text-light);
margin-bottom: 10px;
}
.reports-table-container {
border: 1px solid var(--border-color);
border-radius: 8px;
max-height: 52vh;
overflow: auto;
background: var(--white);
}
.reports-table {
width: 100%;
border-collapse: collapse;
font-size: 0.92em;
}
.reports-table th,
.reports-table td {
border-bottom: 1px solid #e9ecef;
padding: 8px 10px;
text-align: left;
vertical-align: top;
}
.reports-table th {
position: sticky;
top: 0;
background: #f8fafc;
z-index: 1;
font-weight: 700;
}
.reports-table code {
white-space: pre-wrap;
word-break: break-word;
font-size: 0.85em;
color: #1f2937;
}
/* Responsive Design */
@media (max-width: 768px) {
main {
@@ -834,6 +926,15 @@ footer {
flex: 1;
}
.reports-controls {
flex-direction: column;
align-items: stretch;
}
.report-control {
min-width: 0;
}
.drug-details {
grid-template-columns: 1fr;
}