/*
|--------------------------------------------------------------------------
| OCEAN Member Forgot Password CSS
|--------------------------------------------------------------------------
|
| 說明
| 1 此樣式專門提供 forgot password 頁面使用
| 2 風格與 Member Login 頁保持一致
| 3 採用淺灰藍背景 卡片 圓角 陰影 深藍按鈕
|
|--------------------------------------------------------------------------
*/

/* 整頁背景與置中 */
.member-forgot-page {
    min-height: 100vh;
    background: #eef3fb;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* 卡片主體 */
.member-forgot-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #d8e0ec;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(29, 54, 89, 0.08);
    overflow: hidden;
}

/* 上方區塊 */
.member-forgot-top-action {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
}

/* 右上角登入連結 */
.member-forgot-top-link {
    display: inline-block;
    padding: 10px 14px;
    background: #f2f4f7;
    color: #1d3659;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid #d8e0ec;
    transition: all 0.2s ease;
}

.member-forgot-top-link:hover {
    background: #e8edf5;
    color: #1d3659;
    text-decoration: none;
}

/* Logo 區 */
.member-forgot-logo-wrap {
    text-align: center;
    padding: 34px 20px 10px 20px;
}

/* Logo 圖 */
.member-forgot-logo {
    width: 110px;
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* 標題 */
.member-forgot-title {
    margin: 8px 0 12px 0;
    padding: 0 22px;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    color: #1d3659;
    text-align: left;
}

/* 說明文字 */
.member-forgot-description {
    margin: 0;
    padding: 0 22px 26px 22px;
    font-size: 15px;
    line-height: 1.8;
    color: #6c7a92;
    text-align: left;
}

/* 分隔線 */
.member-forgot-divider {
    width: 100%;
    height: 1px;
    background: #d8e0ec;
}

/* 表單區 */
.member-forgot-form-wrap {
    padding: 22px;
    box-sizing: border-box;
}

/* 表單群組 */
.member-forgot-form-group {
    margin-bottom: 20px;
}

/* 欄位標題 */
.member-forgot-label {
    display: block;
    margin-bottom: 10px;
    color: #1d3659;
    font-size: 15px;
    font-weight: 700;
}

/* 輸入框 */
.member-forgot-input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid #c8d2df;
    border-radius: 14px;
    background: #f9fbff;
    color: #1d3659;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}

/* placeholder 顏色 */
.member-forgot-input::placeholder {
    color: #9aa8bc;
}

/* focus 狀態 */
.member-forgot-input:focus {
    border-color: #456be6;
    box-shadow: 0 0 0 3px rgba(69, 107, 230, 0.10);
    background: #ffffff;
}

/* 錯誤訊息 */
.member-forgot-error {
    margin-top: 8px;
    color: #d64545;
    font-size: 14px;
    line-height: 1.6;
}

/* 送出按鈕 */
.member-forgot-submit-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 14px;
    background: #1d3d6e;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 14px rgba(29, 61, 110, 0.20);
}

/* hover */
.member-forgot-submit-btn:hover {
    background: #163155;
}

/* 底部返回登入 */
.member-forgot-bottom-link-wrap {
    margin-top: 18px;
    text-align: right;
}

/* 返回登入連結 */
.member-forgot-bottom-link {
    color: #456be6;
    font-size: 15px;
    text-decoration: none;
    font-weight: 500;
}

.member-forgot-bottom-link:hover {
    text-decoration: underline;
}

/* 底部提示區 */
.member-forgot-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: #f7f8fb;
    border-top: 1px solid #d8e0ec;
}

/* OCEAN badge */
.member-forgot-footer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 32px;
    padding: 0 14px;
    background: #f7e6da;
    border-radius: 999px;
    color: #1d3d6e;
    font-size: 13px;
    font-weight: 700;
    box-sizing: border-box;
}

/* 底部提示文字 */
.member-forgot-footer-text {
    color: #1d3659;
    font-size: 14px;
    font-weight: 700;
}

/* 手機版 */
@media (max-width: 576px) {
    .member-forgot-page {
        padding: 20px 14px;
        align-items: flex-start;
    }

    .member-forgot-card {
        max-width: 100%;
        border-radius: 18px;
    }

    .member-forgot-logo {
        width: 96px;
    }

    .member-forgot-title {
        font-size: 20px;
    }

    .member-forgot-description {
        font-size: 14px;
        line-height: 1.7;
    }
}