/* ============================================================
   万事达家居服务 · 三入口登录门户
   ============================================================ */

/* 门户背景：暖木·家居风，更大气 */
.portal-outer {
  background:
    radial-gradient(ellipse at 20% 15%, rgba(255,246,236,.6), transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(224,138,60,.18), transparent 50%),
    linear-gradient(135deg,#e6d3ba,#f6efe5 50%,#d9bc9c);
}

/* 门户首页卡片 */
.portal-home { width: 430px; padding: 34px 30px; }
.portal-brand { margin-bottom: 22px; }
.portal-brand h1 { font-size: 25px; color: var(--primary-dark); margin-top: 14px; letter-spacing: .5px; }
.portal-mark { width: 64px; height: 64px; font-size: 34px; border-radius: 18px; }

/* 三个入口卡片（竖排全宽） */
.portal-gate { display: flex; flex-direction: column; gap: 13px; text-align: left; }
.portal-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: #fff;
  text-align: left;
  transition: all .18s ease;
  box-shadow: 0 1px 4px rgba(140,115,80,.06);
}
.portal-card:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: 0 8px 20px rgba(100,115,135,.18); }

.portal-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; flex: none;
}
.portal-client .portal-icon { background: #e2f1e6; }
.portal-emp   .portal-icon { background: #f6ecd8; }
.portal-adm   .portal-icon { background: #f7e3e1; }

.portal-txt { display: inline-flex; flex-direction: column; flex: 1; gap: 3px; min-width: 0; }
.portal-title { font-size: 15px; font-weight: 700; color: var(--text); }
.portal-desc  { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portal-arrow { font-size: 26px; color: var(--primary); opacity: .55; font-weight: 300; margin-left: 2px; }

/* 员工 / 管理员 登录卡片 LOGO */
.logo-emp { background: linear-gradient(135deg,var(--accent),var(--primary-dark)); font-size: 24px; }
.logo-adm { background: linear-gradient(135deg,#c25c54,#8f1d1d); font-size: 24px; }

/* 响应式 */
@media (max-width:520px) {
  .portal-home { width: 94%; padding: 26px 18px; }
  .portal-card { padding: 12px 12px; gap: 11px; }
  .portal-icon { width: 42px; height: 42px; font-size: 21px; }
}
