:root {
    --sidebar-width: 400px;
    --bg-color: #f5f7fa;
    --panel-bg: #ffffff;
    --panel-border: #e5e7eb;
    --text-color: #111827;
    --sidebar-bg: #274472; /* Window tide */
    --highlight-dark: #41729f;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.container {
    display: flex;
    flex-direction: row;
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    color: var(--bg-color);
    box-sizing: border-box;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    line-height: 4;
}

.sidebar li {
    margin-bottom: 20px;
}

.sidebar a {
    color: var(--bg-color);
}

.padded {
    padding-left: 20px;
    padding-right: 20px;
}

.dark-highlight:hover {
    background-color: var(--highlight-dark);
}

.sidebar summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.sidebar summary::after {
  content: '';
  width: 0; 
  height: 0; 
  border-top: 10px solid var(--bg-color);
  border-inline: 7px solid transparent;
  transition: 0.5s;
}

.sidebar details[open] > summary::after {
  transform: rotate(-180deg);
}

.hover_dark li {
    border-radius: 2px;
    line-height: 2;
    margin-bottom: 5px;
    text-indent: 10px;
}

.hover_dark li:hover {
    background: var(--highlight-dark);
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.navbar {
    height: 60px;
    background-color: #fff;
    border-bottom: 1px solid var(--panel-border);
    padding: 15px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.main {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.panel {
    flex: 1 1 400px;
    background-color: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.panel h3 {
    margin-top: 0;
}

summary::marker {
    content: "⮞ \0020"/ "";
    color: red;
    font-family: monospace;
}

details[open] > summary::marker {
    content: "⮟ \0020"/ "";
    color: green;
    font-family: monospace;
}

@media (max-width: 768px) {
    .container {
    flex-direction: column;
    }

    .sidebar {
    width: 100%;
    height: auto;
    }

    .main {
    flex-direction: column;
    }

    .panel {
    flex: 1 1 100%;
    }
}