/* Veeam Mart mobile app mockup (/app.php). Plain CSS, no Tailwind, no web fonts, no outside requests. */
:root { --am-green: #00873C; --am-ink: #0f1a14; --am-mute: #5b6b62; --am-line: #e3e9e5; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #eef2ef; color: var(--am-ink); font: 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

.am-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 20px 16px 28px; }
.am-notice { max-width: 560px; margin: 0 0 22px; padding: 12px 16px; background: #fff8e1; border: 1px solid #f0d98a; border-radius: 12px; font-size: 14px; color: #5a4a10; text-align: center; }
.am-internal { width: 340px; max-width: 100%; margin: 22px 0 0; padding: 14px 16px; background: #fff; border: 1px solid var(--am-line); border-left: 4px solid var(--am-green); border-radius: 12px; }
.am-internal-tag { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--am-green); }
.am-internal-text { margin: 0 0 8px; font-size: 13px; color: var(--am-mute); }
.am-internal-link { font-size: 13px; font-weight: 700; color: var(--am-ink); text-decoration: underline; }
.am-back { margin: 22px 0 0; font-size: 14px; }
.am-back a { color: var(--am-green); font-weight: 600; text-decoration: none; }

/* Phone frame */
.am-phone { position: relative; width: 340px; max-width: 100%; height: 700px; background: #101412; border-radius: 52px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45), 0 0 0 2px #2a2f2c inset; }
.am-notch { position: absolute; z-index: 3; top: 12px; left: 50%; transform: translateX(-50%); width: 112px; height: 26px; background: #101412; border-radius: 0 0 18px 18px; }
.am-screen { position: relative; height: 100%; background: #fff; border-radius: 40px; overflow: hidden; display: flex; flex-direction: column; }
.am-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 26px 4px; font-size: 13px; font-weight: 600; flex: none; }
.am-status-r { display: inline-flex; gap: 6px; align-items: center; }
.am-appbar { flex: none; display: flex; justify-content: center; align-items: center; padding: 8px 16px 10px; border-bottom: 1px solid var(--am-line); }
.am-appbar img { height: 30px; width: auto; }
.am-body { flex: 1; overflow-y: auto; padding: 18px 18px 8px; }
.am-home { flex: none; width: 112px; height: 5px; margin: 6px auto 8px; background: #101412; border-radius: 3px; opacity: .85; }

.am-h1 { margin: 0 0 6px; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.am-sub { margin: 0 0 16px; font-size: 14px; color: var(--am-mute); }

/* Settings rows */
.am-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--am-line); border-radius: 16px; overflow: hidden; }
.am-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; }
.am-row + .am-row { border-top: 1px solid var(--am-line); }
.am-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.am-row-title { font-weight: 700; font-size: 16px; }
.am-row-sub { font-size: 13px; color: var(--am-mute); }
.am-row-status { font-size: 12px; font-weight: 700; margin-top: 2px; color: var(--am-mute); }
.am-st-allowed { color: var(--am-green); }
.am-st-declined { color: #b42318; }
.am-st-pending { color: #a15c00; }

/* On/off switch */
.am-switch { position: relative; flex: none; width: 52px; height: 32px; display: inline-block; cursor: pointer; }
.am-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.am-track { position: absolute; inset: 0; background: #c9d2cc; border-radius: 16px; transition: background .15s; }
.am-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.am-switch input:checked + .am-track { background: var(--am-green); }
.am-switch input:checked + .am-track::after { transform: translateX(20px); }
.am-switch input:focus-visible + .am-track { outline: 3px solid #7bc99b; outline-offset: 2px; }
.am-switch input:disabled { cursor: progress; }
.am-switch input:disabled + .am-track { opacity: .6; }

/* Forms */
.am-label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.am-input { width: 100%; padding: 11px 12px; font: inherit; font-size: 15px; border: 1px solid #c9d2cc; border-radius: 12px; background: #fff; color: var(--am-ink); }
.am-input:focus { outline: 3px solid #7bc99b; outline-offset: 0; border-color: var(--am-green); }
.am-btn { display: block; width: 100%; margin-top: 12px; padding: 12px 16px; font: inherit; font-weight: 700; font-size: 15px; color: #fff; background: var(--am-green); border: 0; border-radius: 12px; cursor: pointer; }
.am-btn:disabled { opacity: .6; cursor: progress; }
.am-btn-quiet { background: transparent; color: var(--am-mute); margin-top: 4px; }
.am-err { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #b42318; }
.am-fine { margin: 8px 0 0; font-size: 12px; color: var(--am-mute); }

.am-phone-box { margin-top: 14px; padding: 14px; border: 1px solid var(--am-line); border-radius: 16px; background: #f7faf8; }
.am-box-title { margin: 0 0 10px; font-weight: 700; font-size: 14px; }
.am-phone-row { display: flex; flex-direction: column; gap: 8px; }
.am-iso { padding-right: 6px; }
.am-box-actions { display: flex; flex-direction: column; }

.am-msg { min-height: 20px; margin: 14px 2px 0; font-size: 13px; font-weight: 600; }
.am-msg.ok { color: var(--am-green); }
.am-msg.bad { color: #b42318; }
.am-who { margin: 14px 2px 10px; font-size: 12px; color: var(--am-mute); word-break: break-all; }
.am-link { padding: 0; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: var(--am-green); cursor: pointer; text-decoration: underline; }

@media (max-height: 760px) { .am-phone { height: 620px; } }
@media (max-width: 380px) { .am-phone { border-radius: 40px; } .am-screen { border-radius: 30px; } }
