/* ============================= */
/* VARIABLES */
:root {
    --bg: #2b2b2b;
    --text: #d6d6d6;
    --faint-contrast: #3a3a3a;
    --faint-contrast-trans: #00000070;
    --font-primary: 'Arial', sans-serif !important;
	}

/* ============================= */
/* GLOBAL */
body {
    background: var(--bg);
    color: var(--text);
    margin: 0;
    font-family: var(--font-primary);
    text-shadow: none !important;
}

/* ============================= */
/* HEADER FIXE */
header {
    background: linear-gradient(#6e6e6e,#585858 40%,#444 60%,#2f2f2f);
    position: sticky;
    top: 0;
    padding: .25em;
    border-bottom: 1px solid #1a1a1a;
    text-shadow: none !important;
    z-index: 2;
    font-family: var(--font-primary);
}

/* ============================= */
/* TITRES */
h1, h2 {
    background: linear-gradient(#9a9a9a,#787878);
    color: #efefef;
    padding: .35em .8em;
    border-radius: .35em;
    border: 1px solid #444;
    font-size: 16px;
    font-weight: 600;
    text-shadow: none !important;
    display: inline-block;
    margin: 5px;
    font-family: var(--font-primary);
}

/* ============================= */
/* ROOT */
#root {
    max-width: 100%;
    margin: auto;
    min-height: 100vh;
}

.list-wrapper {
    max-width: 100%;
    max-height: calc(100vh - 120px); /* Hauteur du header + titres */
    overflow-y: auto; /* Scroll seulement dans la liste */
	}

/* ============================= */
/* BREADCRUMB */
.breadcrumb {
    padding: .1em .5em;
    line-height: 1.6em;
    border-radius: .6em;
    background: linear-gradient(#7c7c7c,#5c5c5c);
    border: 1px solid #2a2a2a;
    margin: 2px 4px;
    display: inline-block;
    min-width: 50px;
    text-align: center;
    text-shadow: none !important;
    font-size: 14px;
    transition: all .25s ease;
    font-family: var(--font-primary);
}

.breadcrumb:hover {
    background: linear-gradient(#9a9a9a,#6e6e6e);
}

/* ============================= */
/* LISTE DOSSIERS / LOGICIELS */
ul.dir {
    flex: 1;
    padding: 15px;
    margin: auto;
    min-width: 95%;
    max-width: 95%;
    text-shadow: none !important;
}

ul.dir li {
    display: block;
    min-height: 1.4em;
    list-style-type: none;
    margin: 10px auto;
    padding: .35em;
    border-radius: 8px;
    border: 1px solid #444;
    background: linear-gradient(#9a9a9a,#787878);
    font-size: 14px;
    color: #efefef;
    text-shadow: none !important;
    font-family: var(--font-primary);
}

ul.dir li:hover {
    background: linear-gradient(#b0b0b0,#8a8a8a);
}

/* ============================= */
/* BOUTONS */
button {
    background: linear-gradient(#9a9a9a,#787878);
    color: #efefef;
    padding: .3em .7em;
    border-radius: .35em;
    cursor: pointer;
    border: 2px solid #444;
    font-size: 15px;
    font-weight: 600;
    text-shadow: none !important;
    transition: all .2s ease;
    font-family: var(--font-primary);
}

button:hover {
    background: linear-gradient(#b0b0b0,#8a8a8a);
} 

/* ============================= */
/* LIENS */
a {
    text-decoration: none;
    color: #efefef;
    font-size: 15px;
    text-shadow: none !important;
    font-family: var(--font-primary);
}

/* ============================= */
/* PLAYER FIXE */
@media (min-width: 1200px) {
    #player {
        position: fixed;
        bottom: 2px;
        left: 2px;
        padding: .4%;
        min-width: calc((100vw - 800px) / 1.2);
        box-sizing: border-box;
        background: linear-gradient(#454545,#2f2f2f);
        border-radius: 8px;
        border: 1px solid #222;
        z-index: 1;
        font-family: var(--font-primary);
        text-shadow: none !important;
    }
}

#player-title {
    color: #e0e0e0;
    padding: .4em .8em;
    border-radius: .3em;
    text-shadow: none !important;
    font-size: 15px;
    font-weight: bold;
    font-family: var(--font-primary);
}