/* =====================================================================
 * 官网统一登录入口页（/login.html）样式
 * 复用 site.css 的设计变量与 .persona / .btn / .page-hero 等基础类，
 * 此处仅补充本页特有的布局与卡片内操作区、备注文案样式。
 * 设计基调：深色 hero + 浅色卡片区，与官网整体视觉保持一致。
 * ===================================================================== */

/* 卡片区域：浅色背景，与深色 hero 形成对比 */
.login-section {
    background: var(--cream, #FFF6EA);
    padding: 64px 0 72px;
    min-height: calc(100vh - 78px - 320px);
}

/* 两类账号卡片栅格：桌面两列并居中，移动单列 */
.login-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 880px;
    margin: 0 auto;
}

/* 卡片内操作按钮区：注册（实心主色）+ 登录（描边）并排 */
.persona-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 8px;
}

/* 两个按钮严格等宽（flex-basis:0 + 均分剩余空间），
   同时保证中英文标签长短不一时，三张卡片按钮排列完全一致、且不换行 */
.persona-actions .btn {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding: 12px 10px;
    font-size: 13.5px;
}

/* 卡片内补充说明（如卖家独立站提示） */
.persona-note {
    font-size: 12.5px !important;
    color: #8a8497 !important;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    line-height: 1.5;
}

/* 让带备注的卡片与无备注卡片底部对齐，保持栅格整齐 */
.login-grid .persona {
    display: flex;
    flex-direction: column;
}

.login-grid .persona .persona-actions {
    margin-top: auto;
}

/* 全局说明区 */
.login-global-note {
    margin-top: 44px;
    padding: 22px 26px;
    background: rgba(255, 178, 56, .08);
    border: 1px solid rgba(255, 178, 56, .28);
    border-radius: 16px;
    text-align: center;
}

.login-global-note p {
    font-size: 14px;
    color: #6b6478;
    line-height: 1.7;
}

.login-global-note p + p {
    margin-top: 4px;
}

/* 响应式：移动单列 */
@media (max-width: 640px) {
    .login-section {
        padding: 40px 0 48px;
    }

    .login-grid {
        grid-template-columns: 1fr;
    }

    .persona-actions {
        flex-direction: column;
    }

    .persona-actions .btn {
        width: 100%;
    }
}
