/* Public password recovery and the administrator's temporary code dialog. */
.recovery-page { margin: 0; min-height: 100vh; padding: 96px 16px 36px; color: #ecebf3; }
.recovery-page *, .recovery-card, .recovery-issue-dialog, .recovery-issue-dialog * { box-sizing: border-box; }
.recovery-page *, .recovery-issue-dialog * { -webkit-user-select: none; user-select: none; }
.recovery-page input, .recovery-issue-dialog input, .recovery-issue-dialog textarea { -webkit-user-select: text; user-select: text; }
.recovery-card { width: 100%; max-width: 540px; margin: auto; padding: 32px; border: 1px solid #67436d; border-radius: 22px; background: linear-gradient(160deg, #181c29, #101620); box-shadow: 0 22px 70px #0004; }
.recovery-card .guild-name { margin: 0; text-align: center; font: 600 40px/1.2 "Exo 2",sans-serif; letter-spacing: .15em; color: #ca67d4; }
.recovery-card .guild-name a { color: inherit; text-decoration: none; }
.recovery-brand-line { height: 2px; width: 150px; margin: 15px auto 27px; background: linear-gradient(90deg,#ca67d4,#e5d071); border-radius: 2px; }
.recovery-heading { text-align: center; margin-bottom: 24px; }
.recovery-eyebrow { font-size: 9px; color: #b89ac3; letter-spacing: .14em; font-weight: 700; margin: 0 0 10px; }
.recovery-heading h2, .recovery-success h2 { margin: 0 0 11px; font-size: 23px; }
.recovery-heading p:not(.recovery-eyebrow), .recovery-success p { font-size: 12px; line-height: 1.7; color: #a7b0c1; margin: 0; }
.recovery-field { display: block; min-width: 0; margin: 0 0 17px; color: #c4ccda; font-size: 12px; line-height: 1.5; }
.recovery-field > label { display: block; margin-bottom: 7px; }
.recovery-field > input { margin-top: 7px; }
.recovery-field input { display: block; min-width: 0; width: 100%; min-height: 44px; padding: 11px 12px; border: 1px solid #384052; border-radius: 9px; color: #eeeef6; background: #0d131d; font: 14px "Manrope",Arial,sans-serif; cursor: text; }
.recovery-field input:focus { outline: none; border-color: #e5d071; box-shadow: 0 0 0 2px #e5d07112; }
.recovery-field input[aria-invalid="true"] { border-color: #d48a9d; }
.recovery-field input:disabled { opacity: .55; }
.recovery-hint { font-size: 10px; line-height: 1.7; color: #8f9bb0; margin: -9px 0 19px; }
.recovery-password-field { display: flex; border: 1px solid #384052; border-radius: 9px; background: #0d131d; overflow: hidden; }
.recovery-password-field:focus-within { border-color: #e5d071; box-shadow: 0 0 0 2px #e5d07112; }
.recovery-password-field input { flex: 1; width: 0; border: 0 !important; border-radius: 0; outline: 0 !important; box-shadow: none !important; }
.recovery-password-field button { flex: 0 0 auto; min-width: 78px; padding: 7px 10px; border: 0; background: transparent; color: #c9b2d4; font-size: 10px; cursor: pointer; }
.recovery-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 11px 16px; border: 1px solid #505267; border-radius: 9px; background: #222636; color: #e4d9ec; font: 650 12px "Manrope",Arial,sans-serif; text-decoration: none !important; cursor: pointer; text-align: center; }
.recovery-button:hover:not(:disabled) { background: #2b2b3d; border-color: #9676a3; }
.recovery-primary { background: #e5d071; border-color: #e5d071; color: #242014; }
.recovery-primary:hover:not(:disabled) { background: #f0dfa0; border-color: #f0dfa0; }
#recoverySubmit, .recovery-success > a { width: 100%; }
.recovery-page button:disabled, .recovery-issue-dialog button:disabled { opacity: .5; cursor: not-allowed; }
.recovery-page :focus-visible, .recovery-issue-dialog :focus-visible { outline: 2px solid #e5d071; outline-offset: 3px; }
.recovery-page [hidden], .recovery-issue-dialog [hidden] { display: none !important; }
.recovery-feedback { margin: 0 0 16px; padding: 11px 13px; border: 1px solid #9a59604d; border-radius: 8px; background: #542b3a24; color: #eeb9c8; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.recovery-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; font-size: 11px; }
.recovery-footer a { display: inline-flex; min-height: 36px; align-items: center; color: #b8a4c5; text-decoration: none; }
.recovery-footer a:hover { color: #e5d071; }
.recovery-success { padding: 14px 0 4px; text-align: center; }
.recovery-success-mark { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 15px; border: 1px solid #e5d0715c; border-radius: 14px; background: #e5d0710d; color: #e5d071; font-size: 25px; }
.recovery-success p { margin-bottom: 23px; }
.recovery-issue-dialog { width: min(520px,calc(100% - 28px)); max-height: calc(100dvh - 28px); margin: auto; overflow-y: auto; padding: 26px; border: 1px solid #70516f; border-radius: 18px; background: #141b27; color: #eeeaf5; box-shadow: 0 28px 100px #0008; }
.recovery-issue-dialog::backdrop { background: #04070dd4; backdrop-filter: blur(5px); }
.recovery-issue-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.recovery-issue-heading h2 { text-align: left; font-size: 21px; margin: 0; }
.recovery-close { flex: 0 0 36px; min-height: 36px; border: 1px solid #495064; border-radius: 8px; color: #b7adc6; background: transparent; font-size: 23px; cursor: pointer; }
.recovery-issue-description { color: #a6b1c3; font-size: 12px; line-height: 1.7; margin: 0 0 18px; }
#recoveryTargetName { color: #e5d071; overflow-wrap: anywhere; }
.recovery-word-tools { display: flex; gap: 8px; align-items: center; margin: -5px 0 17px; flex-wrap: wrap; }
.recovery-word-tools .recovery-button { min-height: 36px; font-size: 10px; padding: 8px 11px; }
.recovery-issue-notice { padding: 12px; margin: 0 0 17px; border: 1px solid #7d715534; border-radius: 9px; color: #c1bdae; background: #e5d07108; font-size: 11px; line-height: 1.7; }
.recovery-issue-success { border: 1px solid #e5d07142; padding: 14px; margin-bottom: 17px; border-radius: 10px; color: #e2d8a8; background: #e5d07109; font-size: 12px; line-height: 1.7; }
.recovery-issue-success p { margin: 0 0 10px; }
.recovery-issue-success .recovery-button { width: 100%; }
.recovery-issue-footer { display: flex; justify-content: flex-end; gap: 8px; }
body.espada-unified .password-reset-button { min-height: 40px; padding: 9px 12px; border: 1px solid #a8905766; border-radius: 9px; color: #e5d071; background: #e5d07108; font: 600 12px "Manrope",Arial,sans-serif; cursor: pointer; }
body.espada-unified .password-reset-button:hover:not(:disabled) { background: #e5d07114; border-color: #d5c474; }
body.espada-unified .password-reset-button:disabled { opacity: .45; cursor: not-allowed; }
@media(max-width:560px) { .recovery-page { padding: 96px 12px 24px; } .recovery-card { padding: 25px 18px 18px; border-radius: 17px; } .recovery-card .guild-name { font-size: 34px; } .recovery-heading h2 { font-size: 21px; } .recovery-issue-dialog { padding: 20px 17px; } .recovery-issue-heading h2 { font-size: 19px; } .recovery-issue-footer { display: grid; grid-template-columns: 1fr 1.4fr; } }
@media(prefers-reduced-motion:reduce) { .recovery-page *, .recovery-issue-dialog * { transition: none !important; } }
