Update admin and patient interface

This commit is contained in:
Sanika Gurav
2026-10-15 12:48:04 +05:30
parent cf231d12ec
commit d92ef47309
2 changed files with 267 additions and 0 deletions
@@ -724,6 +724,80 @@
margin-bottom: 14px;
display: none;
}
/* ========================================================
FLEXIBLE RESPONSIVE TYPOGRAPHY & MOBILE BREAKPOINTS
======================================================== */
html {
font-size: clamp(14px, 0.95vw + 10px, 16px);
}
.brand-title h1 {
font-size: clamp(1.05rem, 2.5vw, 1.35rem) !important;
}
.stat-content h3 {
font-size: clamp(1.2rem, 2.8vw, 1.6rem) !important;
}
.stat-content span {
font-size: clamp(0.7rem, 1.5vw, 0.78rem) !important;
}
.modal-header h3 {
font-size: clamp(1.05rem, 2.5vw, 1.25rem) !important;
}
@media (max-width: 1024px) {
.admin-layout {
padding: 16px;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
gap: 14px;
}
}
@media (max-width: 768px) {
.admin-header {
padding: 10px 14px;
flex-wrap: wrap;
gap: 10px;
}
.admin-layout {
padding: 12px 10px;
}
.controls-card {
flex-direction: column;
align-items: stretch;
gap: 10px;
}
.search-box {
max-width: 100%;
}
.filter-group {
width: 100%;
justify-content: space-between;
}
.table-card {
padding: 12px;
}
.table-responsive {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.modal-box {
max-width: 95%;
margin: 10px;
}
}
@media (max-width: 480px) {
.stats-grid {
grid-template-columns: 1fr;
gap: 10px;
}
.brand-title p {
display: none;
}
}
</style>
</head>