body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: white;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    color: gray;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2em;
    opacity: 0.9;
}


.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 30px;
}

.nav-button {
    background: gray;
    padding: 9px 6px;
    text-decoration: none;
    color: #004499;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    background-color: white;
    margin: 6px 4px;
    border-radius: 10px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .3);
}

.nav-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: #f8f9fa;
}

.nav-button:active {
    transform: translateY(-2px);
}

.category-section {
    margin-bottom: 40px;
}

.category-title {
    color: gray;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.supplement {
    padding-top: 10px;
    margin-top: 10px;
}

/* Module-specific styles merged from module.css */

p,
ul,
ol {
    line-height: 1.4em;
    font-size: 10pt;
}

ul,
ol {
    margin: .5em .5em 1em;
    padding: 0 0 0 1.2em;
}

/* Page layout with sidebar */
.page-wrapper {
    display: flex;
    width: 100%;
}

.sidenav {
    flex-shrink: 0;
}

#sidebar {
    width: 250px;
    min-width: 250px;
    padding-left: 40px;
    flex-shrink: 0;
    font-family: 'TheSans', sans-serif;
}

#sidebar h4 {
    color: #495057;
    margin-bottom: 15px;
    margin-top: 0;
    font-size: 1.1em;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

#sidebar ul {
    list-style: square;
    padding: 0;
    margin: 0;
}

#sidebar li {
    margin: 0 0 .2em;
    padding: 0;
}

#sidebar a {
    color: #049;
    text-decoration: none;
    font-family: 'TheSans', sans-serif;
    font-size: 13.3333px;
}

.main-content {
    flex: 4;
    overflow-x: hidden;
}

.categories {
    padding-top: 10px;
}

.main-content .container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.breadcrumb-container {
    margin-top: 40px;
    margin-bottom: 10px;
    padding: 10px 0;
}

.breadcrumb {
    padding-left: 10px;
    font-size: 0.9em;
}

.breadcrumb a {
    color: #004499;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #49f;
    text-decoration: none;
}

.simulator-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.simulator-section h2 {
    margin-top: 0;
    font-size: 1.8em;
}

.simulator-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.simulator-button {
    display: inline-block;
    background: white;
    color: #004499;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.simulator-button:hover {
    color: #49f;
}

.simulator-thumbnail {
    margin-top: 20px;
    position: relative;
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.simulator-thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.simulator-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    border-radius: 10px;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 68, 153, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.simulator-thumbnail:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay span {
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.simulator-note {
    font-size: 0.9em;
    opacity: 0.9;
    margin-top: 10px;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
    min-height: 275px;
}

.section h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 10px;
}

p {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.check-back-soon {
    font-size: 16px;
}

.video-item a,
.tipsheet-item a,
.faq-item a {
    color: rgb(0, 68, 153);
    text-decoration: none;
    cursor: pointer;
}

.video-item a:hover,
.tipsheet-item a:hover,
.faq-item a:hover {
    color: #49f;
    text-decoration: none;
}

.video-item,
.tipsheet-item,
.faq-item {
    padding: 4px 0px;
}

.video-item:last-child,
.tipsheet-item:last-child,
.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.video-item h3,
.tipsheet-item h3 {
    color: #495057;
    margin-bottom: 8px;
}

.video-item p,
.tipsheet-item p {
    color: #6c757d;
    margin-bottom: 10px;
    line-height: 1.5;
}

.video-link {
    color: rgb(0, 68, 153);
    text-decoration: none;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
}

.video-link:hover {
    text-decoration: underline;
}

.download-link {
    color: rgb(0, 68, 153);
    text-decoration: none;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
}

.download-link:hover {
    text-decoration: underline;
}

.tipsheet-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 0.9em;
    line-height: 1.4;
}

.faq-question {
    color: rgb(0, 68, 153);
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-toggle {
    width: 12px;
    text-align: center;
    display: inline-block;
    margin-left: 8px;
}

.faq-answer {
    display: none;
    line-height: 1.5;
    padding: 10px;
    margin-bottom: 10px;
}

.back-button {
    display: none;
}

.video-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.video-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.video-sidebar h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2em;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 10px;
}

.video-sidebar .video-list {
    display: flex;
    flex-direction: column;
}

.video-sidebar .video-item {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-sidebar .video-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-sidebar .video-item.current {
    background: #e3f2fd;
    border: 2px solid #2196f3;
}

.video-sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.video-sidebar-link:hover {
    background: #f8f9fa;
}

.video-item.current .video-sidebar-link {
    background: #e3f2fd;
}

.video-thumbnail {
    width: 40px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
    flex-shrink: 0;
}

.video-info {
    flex: 1;
    min-width: 0;
}

.video-title {
    display: block;
    font-size: 0.9em;
    line-height: 1.3;
    color: rgb(0, 68, 153);
    font-weight: bold;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.current-indicator {
    display: block;
    font-size: 0.75em;
    color: #2196f3;
    font-weight: bold;
    margin-top: 4px;
}

.video-wrapper {
    flex: 1;
    text-align: center;
}

video {
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 100%;
    height: auto;
}



/* Navigation styles moved from sidenav.tpl */
/**
 * NORTHWELL LABS EPIC WEB APP NAVIGATION
 * Organized CSS Structure for better readability and maintenance
 * -------------------------------------------------------------
 * 1. Base styles (default for all screen sizes)
 * 2. Hamburger menu styles
 * 3. Desktop styles (min-width: 993px)
 * 4. Tablet/mobile styles (max-width: 992px to min-width: 301px)
 * 5. Small mobile styles (max-width: 480px to min-width: 301px)
 * 6. Extra small mobile styles (max-width: 300px)
 */

/* -------------------------------------------------------------
 * 1. BASE STYLES (Default for all screen sizes)
 * ------------------------------------------------------------- */
#mayo_logo {
    height: auto; 
    display: block;
}

#logo {
    max-width: 100%;
    height: auto;
    width: auto;
    max-height: 80px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.logos-right-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#sidebar {
    padding-bottom: 0px;
    transition: all 0.3s ease;
}

#sidebar-content {
    text-align: left;
    width: auto;
}

/* -------------------------------------------------------------
 * 2. HAMBURGER MENU STYLES
 * ------------------------------------------------------------- */
.hamburger-menu {
    display: none; /* Hidden by default, shown in media queries */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    margin: 10px 0;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #003CA5;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animation for hamburger to X */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

#side-nav-cell {
    vertical-align: top;
    padding: 20px;
    width: 250px; /* Fixed width for navigation */
    box-sizing: border-box;
}

.simulator-footer {
    display: flex;
    justify-content: flex-end;
    font-size: 0.8em;
}
