:root { font-family: Arial, Helvetica, sans-serif; color: #172729; background: #f7faf9; }
* { box-sizing: border-box; }
body { margin: 0; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card, .admin-card { background: white; border: 1px solid #d5e2e0; border-radius: 18px; box-shadow: 0 20px 50px rgba(23,39,41,.08); }
.login-card { width: min(100%, 420px); padding: 32px; }
.login-logo { width: 155px; max-width: 100%; margin-bottom: 26px; }
.eyebrow { margin: 0; color: #007b76; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
h1 { margin: 7px 0 23px; font-size: 28px; line-height: 1.15; }
h2 { margin: 0 0 14px; font-size: 19px; }
label { display: grid; gap: 7px; font-weight: 700; font-size: 14px; }
form { display: grid; gap: 16px; }
input, select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #bac9c6; border-radius: 10px; background: white; color: #172729; font: inherit; }
.password-control { display: grid; gap: 7px; font-weight: 700; font-size: 14px; }
.password-field { position: relative; }
.password-field input { padding-right: 51px; }
button.password-toggle { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #61716f; }
button.password-toggle:hover, button.password-toggle:focus-visible { background: #edf6f4; color: #007b76; }
.password-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.password-toggle[aria-pressed="false"] .eye-slash { display: none; }
button, .button-link { border: 0; border-radius: 10px; background: #009a93; color: white; font: inherit; font-weight: 700; padding: 11px 17px; cursor: pointer; text-decoration: none; text-align: center; }
button:hover, .button-link:hover { background: #007b76; }
button.secondary, .button-link.secondary { border: 1px solid #bac9c6; background: white; color: #172729; }
button.secondary:hover, .button-link.secondary:hover { background: #edf6f4; }
.message { border-radius: 10px; padding: 11px 13px; font-size: 14px; }
.message.error { color: #9f2049; background: #fff0f4; }
.message.success { color: #006b65; background: #e7f5f3; }
.admin-page { max-width: 1100px; margin: 0 auto; padding: 28px 20px 60px; }
.admin-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.admin-header h1 { margin: 4px 0 0; }
.admin-actions { display: flex; gap: 10px; align-items: center; }
.admin-card { padding: 22px; margin-bottom: 18px; }
.admin-card > p { color: #61716f; margin-top: 0; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.admin-list { display: grid; gap: 12px; }
.user-card { border: 1px solid #d5e2e0; border-radius: 12px; padding: 16px; }
.user-card h3 { margin: 0 0 10px; font-size: 16px; }
.user-card p { margin: 0 0 12px; color: #61716f; font-size: 13px; }
.user-edit-details { margin: 12px 0; }
.user-edit-details summary { width: fit-content; color: #007b76; font-size: 14px; font-weight: 700; cursor: pointer; }
.user-edit-details[open] summary { margin-bottom: 14px; }
.user-edit-form { gap: 14px; }
.user-edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.user-edit-form > button { justify-self: start; }
.user-management { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.user-management form { display: block; }
button.danger { border: 1px solid #b83155; background: white; color: #9f2049; }
button.danger:hover { background: #fff0f4; }
@media (max-width: 650px) { .admin-grid, .user-edit-grid { grid-template-columns: 1fr; } .login-card { padding: 24px; } }
