/* ----------------------------------------------------
   ZÁKLADNÍ NASTAVENÍ
---------------------------------------------------- */

:root {
    --black: #000000;
    --orange: #ff6600;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-border: #dddddd;
    --gray-text: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background: var(--gray-light);
    height: 100vh;
    overflow: hidden;
}

.app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}



/* ----------------------------------------------------
   HORNÍ PRUH
---------------------------------------------------- */

.top-bar-wrapper {
    display: flex;
    align-items: center;
    background: var(--black);
    height: 52px;
}

.logo-area {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #222;
    cursor: pointer;
}

.logo-clean {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.1em;
}

.logo-slashes {
    color: var(--orange);
    margin-right: 4px;
}

.logo-text {
    color: var(--white);
}

.top-bar {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar-title {
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.top-bar-title .slashes {
    color: var(--orange);
    margin-right: 8px;
}



/* ----------------------------------------------------
   HLAVNÍ LAYOUT
---------------------------------------------------- */

.main {
    display: flex;
    flex: 1;
    min-height: 0;
}



/* ----------------------------------------------------
   SIDEBAR
---------------------------------------------------- */

.sidebar {
    width: 260px;
    background: var(--black);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #111;
    overflow-y: auto;
}

.menu-button {
    width: 100%;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 8px 10px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.menu-button-main {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex: 1;
}

.divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.35);
    margin: 0 10px;
}

.arrow {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.menu-section-title {
    font-size: 11px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 14px 2px 6px;
}



/* ----------------------------------------------------
   PRACOVNÍ PLOCHA
---------------------------------------------------- */

.content {
    flex: 1;
    background: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-inner {
    width: 90%;
    height: 85%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid var(--gray-border);
    background: #fcfcfc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    color: #333;
    font-size: 14px;
    text-align: left;
    padding: 40px;
    line-height: 1.6;
    overflow-y: auto;
}



/* ----------------------------------------------------
   SUBMENU – seznam v hlavní ploše
---------------------------------------------------- */

.submenu-list {
    list-style: none;
    padding-left: 0;
}

.submenu-item {
    padding: 12px 8px;
    border-bottom: 1px solid var(--gray-border);
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-text);
    transition: 0.2s ease;
    border-radius: 4px;
}

.submenu-item:hover {
    background: var(--orange);
    color: var(--white);
}



/* ----------------------------------------------------
   VIEW OBSAH (HTML soubory ve složce /views)
---------------------------------------------------- */

.content-inner h2 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--black);
}

.content-inner p {
    margin-bottom: 14px;
    color: #444;
}

.content-inner ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.content-inner li {
    margin-bottom: 6px;
}



/* ----------------------------------------------------
   SIMULOVANÝ VÝPIS SOUBORŮ
---------------------------------------------------- */

.file-list {
    margin-top: 20px;
    border: 1px solid var(--gray-border);
    border-radius: 6px;
    background: #fff;
}

.file-item {
    padding: 10px 14px;
    border-bottom: 1px solid var(--gray-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s ease;
    font-size: 14px;
}

.file-item:last-child {
    border-bottom: none;
}

.file-item:hover {
    background: var(--orange);
    color: var(--white);
}

.file-item .icon {
    font-size: 18px;
}



/* ----------------------------------------------------
   SCROLLBARY
---------------------------------------------------- */

.sidebar::-webkit-scrollbar,
.content-inner::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-thumb,
.content-inner::-webkit-scrollbar-thumb {
    background: #bbbbbb;
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.content-inner::-webkit-scrollbar-thumb:hover {
    background: #999999;
}
