/* JMARS B-Side (Opticare) Styles */
/* Desktop-First Approach */

body.b-side {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 240px;
    background: var(--dark-text);
    color: #ECF0F1;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 24px;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #4a6572;
}
.sidebar-header span {
    color: var(--tech-blue);
}

.sidebar-nav {
    flex-grow: 1;
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    color: #ECF0F1;
    text-decoration: none;
    transition: background-color 0.2s;
}
.sidebar-nav a:hover {
    background-color: #4a6572;
}
.sidebar-nav a.active {
    background-color: var(--tech-blue);
    font-weight: 500;
}

.sidebar-footer {
    padding: 24px;
    border-top: 1px solid #4a6572;
}

.main-content {
    flex-grow: 1;
    background-color: var(--background-light);
    overflow-y: auto;
    padding: 24px;
}

.page-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 24px;
}

/* Login Page Specific */
.login-wrapper {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}
.login-box {
    width: 400px;
    padding: 40px;
    background: white;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-md);
    text-align: center;
}
.login-box h1 {
    color: var(--tech-blue);
    margin-bottom: 32px;
}
.form-group {
    margin-bottom: 24px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-sm);
}
.btn-login {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}
