/* ==========================================================================
   big-ui.css - Big, easy-to-read screens (Newport News Yellow Cab)
   Used by every page drivers, dispatch and customers open.
   Works with big-ui.js, which raises any small text to the chosen size.
   Upload next to dashboard.php and driver-dashboard.php.
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { line-height: 1.4; }

/* Buttons and links you tap: big targets */
button, .btn, .btn-main, input[type=submit], input[type=button], a.btn, a[class*="btn"] {
    min-height: 52px;
    font-weight: 800 !important;
    touch-action: manipulation;
}

/* Boxes you type in: big text so it is easy to see what you typed */
input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),
select, textarea {
    min-height: 52px;
    font-size: max(20px, 1em) !important;
}
input::placeholder, textarea::placeholder { opacity: .85; }

/* Check boxes and round choices: big enough to hit */
input[type=checkbox], input[type=radio] { width: 28px !important; height: 28px !important; min-width: 28px; vertical-align: middle; }

/* Links are always underlined so they are easy to spot */
a:not([class*="btn"]):not(.btn) { text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Thick, clear outline on whatever is selected with the keyboard */
:focus-visible { outline: 4px solid #fbbf24 !important; outline-offset: 2px; }

/* Dark screens: faint grey text made brighter */
html.big-dark [style*="color:#64748b"], html.big-dark [style*="color: #64748b"],
html.big-dark [style*="color:#94a3b8"], html.big-dark [style*="color: #94a3b8"],
html.big-dark [style*="color:#9ca3af"], html.big-dark [style*="color: #9ca3af"] { color: #e2e8f0 !important; }
html.big-dark [style*="opacity:.6"], html.big-dark [style*="opacity: .6"],
html.big-dark [style*="opacity:0.6"], html.big-dark [style*="opacity: 0.6"] { opacity: .9 !important; }

/* Wide tables scroll sideways instead of squeezing the words */
.big-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* The "Text size" button */
#bigUiBtn {
    position: fixed; left: 10px; bottom: 10px; z-index: 99990;
    min-height: 52px; padding: 0 16px; border-radius: 26px;
    border: 3px solid #fbbf24; background: #111827; color: #fbbf24;
    font: 900 20px/1 Arial, Helvetica, sans-serif !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.45); cursor: pointer;
}
#bigUiBtn small { font-size: 14px !important; font-weight: 800; color: #fde68a; margin-left: 6px; }
@media print { #bigUiBtn { display: none !important; } }
