.recovery-page {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: #0e0e0c;
    color: #fff;
}

.recovery-main {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: linear-gradient(rgba(0, 0, 0, .66), rgba(0, 0, 0, .76)),
        url("../../images/kgt/background_stone.jpg") center / cover no-repeat #171108;
}

.recovery-panel {
    width: 100%;
    max-width: 470px;
    padding: 36px 38px 28px;
    border: 1px solid rgba(232, 194, 91, .65);
    border-radius: 16px;
    background: rgba(18, 18, 16, .96);
    box-shadow: 0 12px 48px rgba(0, 0, 0, .24);
}

.recovery-panel .recovery-step {
    margin: 0 0 12px;
    color: #f3cf6a;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 1.8px;
}

.recovery-panel h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.5px;
}

.recovery-panel .recovery-description {
    margin: 0 0 26px;
    color: #cac8c1;
    font-size: 15px;
    line-height: 1.65;
}

.recovery-panel .recovery-email {
    display: block;
    color: #fff;
    overflow-wrap: anywhere;
}

.recovery-group { margin-bottom: 20px; }
.recovery-group > label { display: block; margin: 0 0 8px; color: #f4f2eb; font-size: 14px; font-weight: 500; }
.recovery-input { position: relative; }
.recovery-input > .fa { position: absolute; top: 17px; left: 15px; font-size: 18px; color: #7b7b75; pointer-events: none; }
.recovery-input input {
    display: block;
    width: 100%;
    height: 52px;
    padding: 12px 46px;
    border: 1px solid #e3e2da;
    border-radius: 7px;
    background: #fff;
    color: #23231e;
    font-size: 16px;
    line-height: 1.5;
}
.recovery-input input::placeholder { color: #77776e; opacity: 1; }
.recovery-input input[aria-invalid="true"] { border: 2px solid #ed9e8f; }
.recovery-input .recovery-toggle {
    position: absolute;
    top: 4px;
    right: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #66665e;
}
.recovery-input .recovery-toggle[hidden] { display: none; }
.recovery-panel .recovery-hint { margin: 7px 0 0; color: #bbb9b0; font-size: 12px; line-height: 1.5; }
.recovery-panel .recovery-error { margin: 8px 0 0; color: #ffc2b5; font-size: 13px; line-height: 1.5; }
.recovery-panel .recovery-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid #ffcc17;
    border-radius: 7px;
    background: #ffcc17;
    color: #17170f;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}
.recovery-panel .recovery-submit:hover { border-color: #ffe06a; background: #ffe06a; }
.recovery-panel .recovery-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    margin-top: 16px;
    color: #e6cb80;
    font-size: 14px;
}
.recovery-panel .recovery-restart { margin: 18px 0 0; color: #bbb9b0; font-size: 13px; line-height: 1.6; text-align: center; }
.recovery-restart a { color: #f3cf6a; text-decoration: underline; text-underline-offset: 3px; }
.recovery-page :is(a, button, input):focus-visible { outline: 3px solid #fbd760; outline-offset: 4px; }
.recovery-footer { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 22px 24px; border-top: 1px solid #2b291f; color: #aaa89d; font-size: 12px; line-height: 1.5; }
.recovery-footer a { color: #d6c48f; }

@media (max-width: 575px) {
    .recovery-main { align-items: flex-start; padding: 32px 18px; }
    .recovery-panel { padding: 28px 22px 20px; border-radius: 12px; }
    .recovery-panel h1 { font-size: 28px; }
    .recovery-footer { flex-direction: column; gap: 6px; padding: 18px; text-align: center; }
}
