/* TODO: Review box-shadow values - consider using design system shadow variables (--shadow-xs, --shadow-sm, etc.) */
/**
 * UI Organization Styles - Sprint 8
 * Styles for layouts, panels, dashboards, and navigation
 */

/* ============================================
   LAYOUTS
   ============================================ */

.layout-default {
    display: grid;
    grid-template-areas:
        "header header"
        "sidebar main"
        "footer footer";
    grid-template-columns: 250px 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;

.layout-fullscreen {
    display: block;

.layout-fullscreen header,
.layout-fullscreen .sidebar,
.layout-fullscreen footer {
    display: none !important;

.layout-dashboard {
    display: grid;
    grid-template-areas:
        "header header header"
        "sidebar main panels"
        "footer footer footer";
    grid-template-columns: 250px 1fr 300px;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;

/* ============================================
   INFORMATION PANELS
   ============================================ */

.information-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 352px;
    background: var(--color-bg-card, var(--color-bg-card));
    border-left: calc(var(--spacing-xs) / 2) solid var(--color-border, #444);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 16px rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.3);

.information-panel.panel-right {
    right: 0;

.information-panel.panel-left {
    left: 0;
    border-left: none;
    border-right: calc(var(--spacing-xs) / 2) solid var(--color-border, #444);
    box-shadow: 4px 0 16px rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.3);

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border, #444);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(74, 144, 226, 0.05));

.panel-header h3 {
    margin: 0;
    color: var(--color-text-primary, var(--color-text-primary));
    font-family: var(--font-heading, 'Orbitron', sans-serif);

.panel-close {
    background: transparent;
    border: none;
    color: var(--color-text-primary, var(--color-text-primary));
    font-size: 1.5rem;
    cursor: pointer;
    width: var(--spacing-xl);
    height: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s;

.panel-close:hover {
    background: var(--color-bg-hover, #333);

.panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;

/* ============================================
   DASHBOARDS
   ============================================ */

.dashboard {
    display: grid;
    gap: 1.5rem;
    padding: 1.5rem;

.dashboard-grid {
    grid-template-columns: repeat(3, 1fr);

.dashboard-list {
    grid-template-columns: 1fr;

.dashboard-widget {
    background: var(--color-bg-card, var(--color-bg-card));
    border: 1px solid var(--color-border, #444);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.2s ease;

.dashboard-widget:hover {
    box-shadow: 0 4px 16px rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.3);
    transform: translateY(-2px);

.widget-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border, #444);

.widget-header h4 {
    margin: 0;
    color: var(--color-text-primary, var(--color-text-primary));
    font-family: var(--font-heading, 'Orbitron', sans-serif);

.widget-body {
    color: var(--color-text-secondary, var(--color-text-secondary));

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
    padding: 0.75rem 1.5rem;
    background: var(--color-bg-secondary, var(--color-bg-card));
    border-bottom: 1px solid var(--color-border, #444);

.breadcrumbs ol {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    color: var(--color-text-secondary, var(--color-text-secondary));

.breadcrumbs a {
    color: var(--color-info, #4a90e2);
    text-decoration: none;
    transition: color 0.2s;

.breadcrumbs a:hover {
    color: var(--color-text-primary, var(--color-text-primary));

.breadcrumbs .current {
    color: var(--color-text-primary, var(--color-text-primary));
    font-weight: 600;

/* ============================================
   CONTEXTUAL INFO
   ============================================ */

.contextual-info {
    position: fixed;
    background: var(--color-bg-card, var(--color-bg-card));
    border: 2px solid var(--color-info, #4a90e2);
    border-radius: var(--radius-md);
    padding: 1rem;
    max-width: 304px;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.3);

.contextual-info-content {
    color: var(--color-text-primary, var(--color-text-primary));
    font-size: 0.875rem;
    line-height: 1.6;

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .layout-default,
    .layout-dashboard {
        grid-template-areas:
            "header"
            "main"
            "footer";
        grid-template-columns: 1fr;

    .layout-default .sidebar,
    .layout-dashboard .sidebar {
        display: none;

    .information-panel {
        width: 100%;
        max-width: 100%;

    .dashboard-grid {
        grid-template-columns: 1fr;

}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}