/* 用户端样式（与门店端隔离，共用变量） */
body.portal-body {
    padding-bottom: calc(72px + var(--safe-bottom));
    background: #f0fdfa;
}

.portal-navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #ccfbf1;
    height: 56px;
}
.portal-navbar .navbar-brand {
    color: #0d9488 !important;
    font-weight: 800;
    font-size: 1.05rem;
}

.portal-tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #ccfbf1;
    padding-bottom: var(--safe-bottom);
    z-index: 1000;
    height: calc(60px + var(--safe-bottom));
}
.portal-tabbar a {
    flex: 1;
    text-align: center;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.portal-tabbar a i { font-size: 20px; margin-bottom: 3px; }
.portal-tabbar a.active { color: #0d9488; }

.portal-hero {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    border-radius: var(--radius-xl);
    color: #fff;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 12px 24px rgba(13, 148, 136, 0.25);
}

.portal-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.portal-menu-item {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}
.portal-menu-item i {
    font-size: 28px;
    color: #0d9488;
    display: block;
    margin-bottom: 8px;
}

.portal-order-card {
    display: block;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.portal-auth-wrap {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(160deg, #042f2e 0%, #0d9488 50%, #5eead4 100%);
}
.portal-auth-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.portal-auth-card .btn-portal {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    border: none;
    color: #fff;
    font-weight: 700;
}
.portal-auth-card .btn-portal:hover { color: #fff; opacity: 0.95; }

.portal-timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0d9488;
}
