/* === BEGIN Ticket 50746 - Aaron Lorentz : shared login / password-reset card styles (used by default.asp and PasswordExpired.asp) === */
* { box-sizing: border-box; }
/* Ticket 50746 - Aaron Lorentz : "html body" so the page colour beats admin-modern.css's "html body" on restyled suppliers */
html body { margin: 0; padding: 0 16px; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #F3F4F6; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #111827; }
/* Ticket 50746 - Aaron Lorentz : RaiseError() in _AdminTools.asp writes a bare <table> (icon + message) above the card; style it as an error banner attached to the card. Icon cell hidden (redundant). */
body > table { width: 100%; max-width: 420px; margin: 24px 0 0; background: #FEF2F2; border: 1px solid #FECACA; border-bottom: 0; border-radius: 12px 12px 0 0; }
body > table td { padding: 12px !important; vertical-align: middle !important; }
body > table td:first-child { display: none; } /* the warning icon is redundant next to red text */
body > table td:last-child { width: auto; font-weight: 400 !important; font-size: 13px !important; }
body > table ul { margin: 0; padding-left: 18px; }
body > table td > ul > li:first-child { font-weight: 600; }
/* with an error banner above, the card attaches to it (the banner's sibling <meta>/<title>/<link> sit between, so ~ not +) */
body > table ~ .login-container { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.login-container { width: 100%; max-width: 420px; margin: 24px 0; background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; padding: 40px 32px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05); }
.logo { text-align: center; margin-bottom: 24px; }
.logo img { max-width: 100%; height: auto; }
.logo p { margin: 8px 0 0; color: #4B5563; }
.rules { margin: 0 0 24px; padding: 14px 16px; background: #FEF2F2; border: 1px solid #FECACA; border-radius: 8px; color: #B91C1C; font-size: 13px; }
.rules h4 { margin: 0 0 8px; font-size: 14px; }
.rules ul { margin: 0; padding-left: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.form-group input { width: 100%; padding: 12px; font-size: 15px; border: 1px solid #D1D5DB; border-radius: 6px; background: #E8F0FE; }
.form-group input:focus { outline: none; border-color: #2C5282; box-shadow: 0 0 0 3px rgba(44,82,130,.2); }
.login-btn { width: 100%; padding: 12px; font-size: 16px; font-weight: 600; color: #fff; border: 0; border-radius: 6px; cursor: pointer; background: linear-gradient(135deg, #2C5282, #1A365D); }
.login-btn:hover { background: #234768; }
/* === END Ticket 50746 - Aaron Lorentz : shared login / password-reset card styles === */
