.find-page {
    min-height: calc(100vh - 120px);
    background: #F6F7F8;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 64px 16px;
    position: relative;
}

.back-to-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 23px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-slate);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(36, 49, 108, 0.18);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    will-change: transform;
}

.back-to-main:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(36, 49, 108, 0.28);
}

.back-to-main:focus-visible {
    outline: 3px solid rgba(76, 175, 147, 0.45);
    outline-offset: 3px;
}

.back-to-main:active {
    filter: brightness(0.9);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(36, 49, 108, 0.18);
}

.find-back-button {
    position: absolute;
    top: max(19px);
    left: max(110px);
}

.find-card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
    padding: 44px 40px;
    box-sizing: border-box;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
}

.find-title {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    text-align: center;
}

.find-subtitle {
    margin: 12px 0 28px;
    font-size: 15px;
    color: var(--text-slate);
    text-align: center;
}

.find-tabs {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    margin-bottom: 28px;
}

.find-tab {
    border: 2px solid var(--main-green);
    border-radius: 14px;
    background-color: #FFFFFF;
    color: var(--main-green);
    padding: 14px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    flex: 1;
    width: auto;
    transition: all 0.2s ease;
}

.find-tab.is-active {
    background: linear-gradient(134deg, var(--main-green) 0%, var(--main-green-dark) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(76, 175, 147, 0.28);
}

.find-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.find-pane {
    display: none;
    flex: 1;
}

.find-pane.is-active {
    display: flex;
    flex-direction: column;
}

.find-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.find-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.find-label {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.find-input {
    width: 100%;
    border: 1px solid #E0E7FF;
    border-radius: 12px;
    padding: 14px 14px;
    font-size: 15px;
    line-height: 1.4;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.find-input:focus {
    outline: none;
    border-color: var(--main-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 147, 0.18);
}

.find-result {
    display: none;
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--bg-slate-light);
    color: #4B5563;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #E5E7EB;
}

.find-result.is-visible {
    display: block;
}

.find-result--success {
    background: linear-gradient(134deg, rgba(76, 175, 147, 0.08) 0%, rgba(45, 139, 110, 0.12) 100%);
    border-color: rgba(76, 175, 147, 0.4);
    color: #1F3D36;
}

.find-result--error {
    background: rgba(252, 231, 243, 0.65);
    border-color: rgba(236, 72, 153, 0.35);
    color: #881337;
}

.find-result-loading {
    color: var(--text-slate);
}

.find-result-id {
    font-weight: 700;
    color: #1B7455;
}

.find-success {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
    padding: 36px 28px;
    border-radius: 24px;
    text-align: center;
    flex: 1;
}

.find-success .find-primary {
    width: 100%;
}

.find-success .find-secondary {
    width: 100%;
}

.find-success-title {
    font-size: 18px;
    font-weight: 700;
    color: #1F3D36;
}

.find-success-id {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #146B4E;
    word-break: break-all;
}

.find-success-sub {
    margin: 0;
    font-size: 14px;
    color: #3F4C53;
    line-height: 1.6;
}

.find-success-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.find-success-actions .btn-basic {
    flex: 1;
    min-width: 140px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.find-success-actions .btn-basic.find-primary {
    background: linear-gradient(134deg, var(--main-green) 0%, var(--main-green-dark) 100%);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(76, 175, 147, 0.28);
}

.find-success-actions .btn-basic.find-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(76, 175, 147, 0.32);
}

#findPwContainer,
#changePwContainer {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.find-actions {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 16px;
}

.find-actions .btn-basic {
    width: auto;
    min-width: 140px;
    padding: 15px 28px;
    border: none;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.find-actions .btn-basic.find-primary {
    background: linear-gradient(134deg, var(--main-green) 0%, var(--main-green-dark) 100%);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(76, 175, 147, 0.28);
    width: 100%;
}

.find-actions .btn-basic.find-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(76, 175, 147, 0.32);
}

.find-actions .btn-basic.find-secondary {
    background: var(--bg-slate-light);
    color: var(--text-slate);
    width: 100%;
}

.find-actions .btn-basic.find-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(107, 124, 147, 0.16);
}

.find-actions .btn-basic:disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.find-helper {
    font-size: 13px;
    color: var(--text-slate);
    margin-top: 4px;
    display: block;
}

.is-hidden {
    display: none !important;
}

@media (max-width: 600px) {
    .find-back-button {
        top: 16px;
        left: 16px;
    }

    .find-card {
        padding: 36px 24px;
        border-radius: 22px;
    }

    .find-title {
        font-size: 24px;
    }

    .find-subtitle {
        font-size: 14px;
    }

    .find-tab {
        font-size: 14px;
    }

    .find-actions {
        flex-direction: column;
        gap: 10px;
        padding-top: 12px;
    }

    .find-actions .btn-basic {
        width: 100%;
        min-width: 0;
    }

    .find-success {
        padding: 28px 20px;
    }

    .find-success-actions {
        flex-direction: column;
    }

    .find-success-actions .btn-basic {
        width: 100%;
        min-width: 0;
    }
}

.join-email-req{
    color:var(--main-green);
}
