* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

/* Bandeau */
.header {
    background-color: #1f2937;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Barre de navigation */
.navbar {
    background-color: #111827;
    padding: 10px 0;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.menu-item {
    position: relative;
}

.menu-item button {
    background-color: #374151;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.menu-item button:hover .dropdown, .menu-item button:focus-within .dropdown{
    display: block;
    background-color: #4b5563;
}

/* Dropdown */
.dropdown {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background-color: white;
    list-style: none;
    min-width: 160px;
    border-radius: 6px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 100;
}

.dropdown li a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}



.dropdown li a:hover {
    background-color: #f3f4f6;
}

/* Affichage au survol */
.menu-item:hover .dropdown {
    display: block;
}

/*layout principal : spacer à gauche + contenu */
.layout {
    display: flex;
    min-height: calc(100vh - 80px);
}
/* Marge */
.spacer {
    width:  260px;
    background-color: #e5e7eb;
    padding: 20px;
    border-right: 1px solid #d1d5db;
}

/* Zone centrale */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 0px;
}

.content {
    background-color: white;
    max-width: 900px;
    width: 100%;
    padding: 0px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.content iframe{
     width: 100%;
     height: 80vh;
     border: none;
}

.upload-box {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.upload-box form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.upload-box button {
    padding: 8px 14px;
    border: none;
    background-color: #2563eb;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.pdf-list {
    list-style: none;
    white-space: normal;
    padding-left: 0;
}

.pdf-list li {
    white-space: normal !important;
    display : block;
}
.pdf-list li a{

    display: inline-block;
    text-decoration: none;
    text-align: center;
    /*white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap : anywhere !important;*/
    max-width: 100px;
    margin: 2px;
    padding: 8px 14px;
    border: none;
    background-color: #2563eb;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

#pdf_file {
    display: none;
}

@media (max-width: 400px) {
/*layout principal : spacer à gauche + contenu */
.layout {
    flex-direction: column;
}

/* Marge */
.spacer {
    width:  100%;
    background-color: #e5e7eb;
    padding: 15px;
    border-right: 1px solid #d1d5db;
    order: 1;
}

/* Zone centrale */
.container {
    width: 100%;
    order: 2;
    padding: 0px;
}

}
