/*
Theme Name: Dynamic Recovery Staff Portal
Description: Simple theme for the Dynamic Recovery Staff Compliance plugin. The homepage is the staff sign-in page. Signed-in HR goes to the HR dashboard (employee list); employees go to My Onboarding. Every other page is private.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Author: Dynamic Recovery
Text Domain: dr-staff-portal
*/

:root{--blue:#2f5fd0;--blue-dark:#2449ad;--ink:#142439;--muted:#5b6b80;--line:#e0e7f0;--bg:#f3f6fa;--amber:#f59e0b;--red:#b42318}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{background:var(--bg);color:var(--ink);font:16px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
a{color:var(--blue)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #93b4ff;outline-offset:2px}

.drp-top{background:#fff;border-bottom:1px solid var(--line);padding:16px 5vw;display:flex;align-items:center;gap:12px}
.drp-badge{width:40px;height:40px;border-radius:11px;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:800;font-size:17px;flex:none;overflow:hidden}
.drp-badge img{width:100%;height:100%;object-fit:contain;background:#fff}
.drp-brand{line-height:1.15}
.drp-brand strong{display:block;font-size:17px}
.drp-brand span{display:block;font-size:13px;font-weight:700;color:var(--amber)}

.drp-main{min-height:calc(100vh - 73px - 56px);display:flex;align-items:flex-start;justify-content:center;padding:clamp(24px,8vh,90px) 18px 40px}
.drp-card{width:100%;max-width:440px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px;box-shadow:0 10px 34px rgba(20,36,57,.07)}
.drp-card h1{font-size:27px;line-height:1.2;margin:0 0 8px}
.drp-card .drp-lead{color:var(--muted);margin:0 0 22px}
.drp-alert{border-radius:10px;padding:11px 14px;font-size:14px;margin:0 0 18px}
.drp-alert--err{background:#fef3f2;border:1px solid #fecdca;color:var(--red)}
.drp-alert--ok{background:#ecfdf3;border:1px solid #abefc6;color:#067647}

.drp-card form p{margin:0 0 14px}
.drp-card label{display:block;font-weight:700;font-size:14px;margin-bottom:6px}
.drp-card input[type=text],.drp-card input[type=password],.drp-card input[type=email]{width:100%;font:inherit;padding:12px 13px;border:1px solid #cdd6e2;border-radius:10px;background:#fff;color:var(--ink)}
.drp-card input[type=text]:focus,.drp-card input[type=password]:focus{border-color:var(--blue);outline:none;box-shadow:0 0 0 3px rgba(47,95,208,.15)}
.drp-card .login-remember label{display:flex;align-items:center;gap:8px;font-weight:500;color:var(--muted)}
.drp-card input[type=submit],.drp-btn{display:block;width:100%;border:0;border-radius:10px;background:var(--blue);color:#fff;font:700 15px/1 inherit;font-family:inherit;padding:14px 16px;cursor:pointer;text-align:center;text-decoration:none}
.drp-card input[type=submit]:hover,.drp-btn:hover{background:var(--blue-dark)}
.drp-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid var(--line);font-size:14px}
.drp-links span{color:var(--muted)}

.drp-page{max-width:820px;margin:40px auto;padding:0 18px}
.drp-page .drp-card{max-width:none}
.drp-foot{text-align:center;font-size:13px;color:var(--muted);padding:18px}
@media(max-width:520px){.drp-card{padding:24px 20px;border-radius:14px}.drp-card h1{font-size:23px}}
