/* Patient Layout Wrapper */
.patient-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--color-bg);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    padding-bottom: 80px; /* Space for bottom nav + breathing room */
}

/* Patient Header adjustment */
.patient-wrapper header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Patient Bottom Nav */
.patient-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1010;
}

.patient-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    width: 25%;
    height: 100%;
    transition: all 0.2s ease;
}

.patient-bottom-nav__item:hover {
    color: var(--color-primary);
}

.patient-bottom-nav__item--active {
    color: var(--color-primary);
    font-weight: 600;
}

.patient-bottom-nav__icon {
    font-size: 20px;
    margin-bottom: 2px;
}

/* Floating Action Button (Counseling FAB) */
.patient-fab {
    position: absolute;
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
    z-index: 1020;
    transition: all 0.2s ease;
    text-decoration: none;
}

.patient-fab:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.05);
    color: white;
}

/* Media query to adapt body background on desktop */
@media (min-width: 481px) {
    body {
        background-color: #E2E8F0;
    }
}
