﻿body {
    font-family: sans-serif;
    padding: 2rem;
}

/* Unified layout container */
.version-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem auto;
    max-width: 1100px; /* widened layout */
    padding: 0 1rem;
}

/* Header row with logo + product name + dropdown */
.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header img {
    width: 80px;
    height: 80px;
    border: none;
    box-shadow: none;
    border-radius: 0; /* Ensure clean edge */
}

/* Dropdown section */
.dropdown select {
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
}

.dropdown label {
    margin-right: 0.5rem;
}

/* Content area where versions are loaded */
.content-area,
#version-content {
    width: 100%;
    margin-top: 2rem;
}

/* Loaded version content with main and sidebar */
.version-content-loaded {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

/* Main column styling */
.main-column {
    flex: 3;
    min-width: 300px;
    max-width: 70%;
}

/* Sidebar on right */
.sidebar-column {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background-color: #f9f9f9;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.centered-sidebar {
    align-self: flex-start;
}

.sidebar-column h3 {
    margin-top: 0;
}

.sidebar-column ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-column li {
    margin-bottom: 0.5rem;
}

.sidebar-column a {
    text-decoration: none;
    color: #0073e6;
}

.sidebar-column a:hover {
    text-decoration: underline;
}

/* Hide Flare's side nav if injected */
.sidenav-wrapper {
    display: none;
}

/* General content image cleanup */
.main-column img {
    max-width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
}

.back-to-products {
    display: inline-block;
    margin: 0 0 2rem 0;
    font-size: 0.8rem;
    color: #0073e6;
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
	align-self: self-start;
}
