/* JMARS C-Side (Dr.JMars) Styles */
/* Mobile-First Approach */

body.c-side-body {
    background-color: var(--medical-white);
    max-width: 480px; /* Typical width for mobile device simulation */
    margin: auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    min-height: 100vh;
    position: relative;
    padding-bottom: 83px; /* Height of the bottom nav */
}

.c-side-header {
    display: flex;
    align-items: center;
    padding: var(--spacing-unit) calc(var(--spacing-unit) * 2);
    background: var(--medical-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.c-side-header .location {
    font-weight: 500;
}

.c-side-header .search-bar {
    flex-grow: 1;
    margin: 0 calc(var(--spacing-unit) * 2);
    background: var(--background-light);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-unit) calc(var(--spacing-unit) * 1.5);
    color: var(--light-text);
    font-size: 14px;
}

.banner {
    height: 200px;
    background-color: var(--tech-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.quick-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-unit);
    padding: calc(var(--spacing-unit) * 2);
    text-align: center;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-unit);
    font-size: 12px;
    color: var(--dark-text);
}

.service-item .icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: var(--background-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0 calc(var(--spacing-unit) * 2);
    margin: var(--spacing-unit) 0;
}

.store-list .store-card {
    display: flex;
    gap: var(--spacing-unit) * 2;
    padding: var(--spacing-unit) * 2;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}

.store-card .store-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.store-card .store-info {
    flex-grow: 1;
}
.store-card .store-info h3 {
    margin: 0 0 4px 0;
    font-size: 1rem;
}
.store-card .store-info .rating-distance, .store-card .store-info .tags, .store-card .store-info .status {
    font-size: 12px;
    color: var(--light-text);
    margin-bottom: 4px;
}
.store-card .store-info .tags span {
    background: #ecf0f1;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
}

.store-card .store-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-unit);
}

.store-card .btn-book {
    padding: 8px 12px;
    font-size: 12px;
    background-color: var(--tech-blue);
    color: white;
    border-radius: 4px;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px; /* Match body max-width */
    margin: auto;
    height: 83px;
    background: var(--medical-white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-around;
    padding-top: var(--spacing-unit);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--light-text);
}
.nav-item.active {
    color: var(--tech-blue);
}
.nav-item svg {
    stroke: currentColor;
}
