/* Preserve original colours, icons and layout; adapt small screens. */
html,body { min-width:320px; }
img { max-width:100%; }
.request-error { position:fixed; bottom:12px; left:12px; right:12px; z-index:1100; }
.dataTables_wrapper { max-width:100%; }
.dataTables_wrapper .dataTables_processing { z-index:5; }
@media(max-width:767px) {
 .content_body { padding-left:12px !important; padding-right:12px !important; overflow-x:auto; }
 .login-container { min-height:calc(100vh - 120px); }
 .login-card { min-width:0 !important; width:min(400px,calc(100vw - 32px)) !important; margin:16px auto !important; height:auto !important; }
 .login-img { height:300px !important; }
 .login-content { padding:20px 12px !important; font-size:24px !important; }
 .nav-container { max-width:90vw; }
 .modal-dialog { margin:8px; }
 .form-control { max-width:100%; }
 .dataTables_wrapper { overflow-x:auto; }
 .dt-buttons,.dataTables_filter,.dataTables_length { float:none !important; text-align:left !important; margin-bottom:10px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; } }

@media(max-width:767px){.main-card{min-width:0!important;width:100%!important;margin:16px auto!important}.main-img{height:300px!important}.main-content{font-size:24px!important}}
