/* MonitorIT shared CSS */
body { font-family: Arial, Helvetica, sans-serif; background: #f4f6f8; margin: 0; padding: 0; color: #222; }
.mi-topbar { background: #0f172a; color: #fff; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.mi-brand-wrap { display: flex; flex-direction: column; gap: 4px; }
.mi-brand { margin: 0; font-size: 26px; line-height: 1.1; }
.mi-sub { font-size: 13px; color: #cbd5e1; }
.mi-toolbar { background: #ffffff; border-bottom: 1px solid #e5e7eb; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.mi-nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mi-nav-link { display: inline-block; text-decoration: none; background: #e2e8f0; color: #0f172a; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: bold; }
.mi-nav-link:hover { background: #cbd5e1; }
.mi-nav-link.active { background: #1d4ed8; color: #fff; }
.mi-user { font-size: 13px; color: #334155; }
.mi-user strong { color: #0f172a; }
.wrap { max-width: 1600px; margin: 24px auto; padding: 0 20px; }
.card { background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); padding: 18px; margin-bottom: 20px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 20px; }
.metric { background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); padding: 18px; }
.metric .label { font-size: 13px; color: #666; margin-bottom: 8px; }
.metric .value { font-size: 28px; font-weight: bold; }
select, button, .btn, input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="datetime-local"], textarea { padding: 10px 12px; border-radius: 8px; border: 1px solid #ccc; box-sizing: border-box; }
button, .btn { background: #1d4ed8; color: #fff; border: 0; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .btn:hover { background: #1e40af; }
textarea { resize: vertical; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
th { background: #f8fafc; }
.status { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: bold; }
.status-Active { background: #dcfce7; color: #166534; }
.status-Idle { background: #fef3c7; color: #92400e; }
.status-Locked { background: #dbeafe; color: #1d4ed8; }
.status-Offline { background: #fee2e2; color: #991b1b; }
.status-Unknown { background: #e5e7eb; color: #374151; }
.status-Pending { background: #ede9fe; color: #6d28d9; }
.msg { padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; }
.msg.ok { background: #dcfce7; color: #166534; }
.msg.err { background: #fee2e2; color: #991b1b; }
.meta { font-size: 12px; color: #666; margin-top: 10px; }
.small { font-size: 12px; color: #666; }
.ip, .code { font-family: Consolas, monospace; font-size: 12px; }
.inline-form { display: inline-block; margin-right: 6px; margin-bottom: 6px; }
.reason-input { width: 200px; }
.revoked { color: #991b1b; font-weight: bold; }
