/* 
 * ProDerma Client Portal - Premium Clinical UI
 */

.pd-luxury-portal {
    background: #f8fafc;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    min-height: 800px;
}

.portal-sidebar {
    background: var(--pd-primary) !important;
}

.nav-item.active {
    background: var(--pd-accent) !important;
    box-shadow: 0 10px 25px rgba(110, 190, 68, 0.3) !important;
}

.pd-btn-action {
    background: var(--pd-gradient-primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pd-btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(22, 54, 38, 0.2);
}

.membership-banner {
    background: linear-gradient(135deg, var(--pd-primary) 0%, #1a3a2a 100%);
    color: white;
    padding: 40px;
    border-radius: 30px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.membership-banner::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.tier-badge {
    background: var(--pd-accent);
    color: var(--pd-primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
}

.stat-card-luxury {
    background: white;
    padding: 30px;
    border-radius: 25px;
    border: 1px solid #f1f5f9;
    text-align: center;
    transition: all 0.4s;
}

.stat-card-luxury:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--pd-accent);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(110, 190, 68, 0.1);
    color: var(--pd-accent);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.pd-card-luxury h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--pd-primary);
}

/* App View Tweaks */
.pd-is-app .portal-main {
    padding: 20px;
}

.pd-is-app .portal-header {
    margin-bottom: 30px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}