/* findpw.css */
/* 공용 테마 변수는 styles.css의 :root 기준 사용 */

.findpw-page {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 14px;
    position: relative;
    overflow: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, .07), transparent 34%),
        radial-gradient(circle at bottom right, rgba(15, 23, 42, .06), transparent 30%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.findpw-page::before,
.findpw-page::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
}

.findpw-page::before {
    width: 260px;
    height: 260px;
    top: -90px;
    left: -90px;
    background: rgba(249, 115, 22, .08);
}

.findpw-page::after {
    width: 240px;
    height: 240px;
    right: -80px;
    bottom: -90px;
    background: rgba(15, 23, 42, .06);
}

.findpw-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    padding: 34px 28px 26px;
    border-radius: var(--radius-xl);
    background: var(--card);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 22px;
    background: #fff7ed;
    border: 1px solid rgba(249, 115, 22, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 60px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
}

.findpw-head {
    text-align: center;
    margin-bottom: 18px;
}

.findpw-head h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text);
}

.findpw-head p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    word-break: keep-all;
}

.field {
    position: relative;
}

.input {
    width: 100%;
    height: 56px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 0 16px;
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.input::placeholder {
    color: #94a3b8;
}

.input:focus {
    border-color: rgba(196, 90, 28, .48);
    box-shadow: 0 0 0 4px rgba(196, 90, 28, .10);
}

.findpw-guide {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--primary-soft);
    border: 1px solid rgba(196, 90, 28, .12);
}

.guide-dot {
    width: 7px;
    height: 7px;
    margin-top: 7px;
    border-radius: 99px;
    background: var(--brand-orange);
    flex: 0 0 auto;
}

.findpw-guide p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
    word-break: keep-all;
}

.findpw-main-actions {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 10px;
    margin-top: 18px;
}

.findpw-result-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
}

.btn-cond {
    height: 48px;
    border: 0;
    border-radius: 15px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: transform .14s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease, background .18s ease;
}

.btn-cond:hover {
    transform: translateY(-1px);
}

.btn-cond:active {
    transform: translateY(1px);
}

.btn-cond.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(196, 90, 28, .22);
}

.btn-cond.primary:hover {
    box-shadow: 0 14px 26px rgba(196, 90, 28, .28);
    filter: brightness(1.02);
}

.btn-cond.ghost {
    background: #f8fafc;
    border: 1px solid var(--line);
    color: #475569;
    box-shadow: none;
}

.btn-cond.ghost:hover {
    background: #f1f5f9;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}

.btn-cond:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.findpw-bottom-link {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, .08);
    text-align: center;
}

.findpw-bottom-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: color .15s ease;
}

.findpw-bottom-link a::before {
    content: "←";
    margin-right: 6px;
    color: var(--brand-orange);
    font-weight: 900;
}

.findpw-bottom-link a:hover {
    color: var(--primary);
}

.result-card {
    text-align: center;
}

.result-message-wrap {
    padding: 18px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
}

.result-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border-radius: 15px;
    background: var(--primary-soft);
    color: var(--brand-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
}

#div_info {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    word-break: keep-all;
}

.result-emphasis {
    color: var(--brand-orange);
    font-weight: 900;
}

@media (max-width: 480px) {
    .findpw-page {
        padding: 18px 12px;
    }

    .findpw-card {
        padding: 28px 18px 22px;
        border-radius: 24px;
    }

    .brand {
        gap: 10px;
        margin-bottom: 20px;
    }

    .logo {
        width: 48px;
        height: 48px;
        border-radius: 17px;
        flex-basis: 48px;
    }

    .title {
        font-size: 23px;
    }

    .findpw-head h1 {
        font-size: 22px;
    }

    .findpw-head p {
        font-size: 13px;
    }

    .input {
        height: 52px;
        border-radius: 14px;
        font-size: 14px;
    }

    .findpw-main-actions {
        grid-template-columns: 1fr;
    }

    .btn-cond {
        width: 100%;
        height: 52px;
        border-radius: 15px;
    }
}