/* The login card stays a readable light surface in every workspace theme. */
#auth .auth-card { background: #f8fbfc !important; color: #103747 !important; }
#auth .auth-card h1, #auth .login-option, #auth .login-option span { color: #103747 !important; }
#auth .auth-card p { color: #52656d !important; }
#auth #authMessage { color: #a5241f !important; opacity: 1 !important; overflow-wrap: anywhere; }
#auth #loginForm input:not([type="checkbox"]) { background: #fff !important; color: #103747 !important; border-color: #7999a8 !important; }
#auth #loginForm input::placeholder { color: #52656d !important; opacity: 1 !important; }
#auth #loginForm button[type="submit"] { background: #075570 !important; color: #fff !important; opacity: 1 !important; text-shadow: none !important; filter: none !important; }
#auth #loginForm button[type="submit"]:hover:not(:disabled) { background: #06445a !important; }
#auth #loginForm button[type="submit"]:disabled { background: #dce7ec !important; color: #395460 !important; cursor: wait; }
#auth #toggleLoginPassword, #auth #closeAuth, #auth .auth-tabs button { background: #edf5f8 !important; color: #103747 !important; opacity: 1 !important; }
#auth #loginForm .password-field { position: relative; }
#auth #loginForm .password-field > input { display: block; margin: 0; padding-right: 70px !important; }
#auth #loginForm #toggleLoginPassword { position: absolute; top: 50%; right: 8px; width: 48px !important; height: 34px; padding: 0 !important; transform: translateY(-50%) !important; }
#auth .auth-tabs button.active { background: #fff !important; color: #103747 !important; }
#auth :is(button,input):focus-visible { outline: 2px solid #075570 !important; outline-offset: 2px; }
#auth #loginForm .login-options { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
#auth .forgot-password { color: #075570 !important; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#auth .forgot-password:hover { color: #103747 !important; }
#auth .forgot-password:focus-visible { outline: 2px solid #075570; outline-offset: 3px; border-radius: 2px; }
#auth .auth-card:has(#passwordRecovery:not([hidden])) { max-height: 92vh; overflow-y: auto; }
#auth #passwordRecovery { text-align: left; color: #103747 !important; }
#auth #passwordRecovery h2 { margin: 0 0 14px; color: #103747 !important; font-size: 19px; }
#auth #passwordRecovery form, #auth #passwordRecovery fieldset { display: grid; gap: 10px; min-width: 0; }
#auth #passwordRecovery fieldset { border: 0; margin: 0; padding: 0; }
#auth #passwordRecovery [hidden] { display: none !important; }
#auth #passwordRecovery label { display: grid; gap: 4px; font-size: 13px; color: #103747 !important; }
#auth #passwordRecovery input { width: 100%; min-width: 0; padding: 9px 12px; border: 1px solid #7999a8; border-radius: 8px; background: #fff !important; color: #103747 !important; }
#auth #passwordRecovery button { padding: 8px 12px; border: 1px solid #075570; border-radius: 8px; background: #075570 !important; color: #fff !important; opacity: 1 !important; }
#auth #passwordRecovery button:hover:not(:disabled) { background: #06445a !important; }
#auth #passwordRecovery button:disabled { border-color: #7999a8; background: #dce7ec !important; color: #395460 !important; }
#auth #passwordRecovery [data-recovery-back] { background: #edf5f8 !important; color: #103747 !important; }
#auth #passwordRecovery p { font-size: 13px; line-height: 1.55; margin: 8px 0; overflow-wrap: anywhere; }
#auth #passwordRecovery [data-recovery-status] { margin: 0; }
#auth #passwordRecovery [data-recovery-status][data-error="true"] { color: #a5241f !important; }
#auth #authMessage[data-recovery-success="true"] { color: #13553e !important; }
#auth #passwordRecovery button[data-recovery-back]:hover { background: #dce7ec !important; }
