* {
    box-sizing: border-box;
}

body {
    /* background-color: rgb(143, 255, 167); */
    margin: 0;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: #222;
    line-height: 1.6; 
}


/* -----------------------------
   NAVBAR
----------------------------- */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: #111827;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-right: 16px;
}

.navbar a:hover {
    text-decoration: underline;
}

.nav-right {
    color: white;
}



/* -----------------------------
   MAIN CONTAINER
----------------------------- */

.container {
    padding: 32px;
}

main {
    background-color: rgb(224, 234, 255);
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
    box-sizing: border-box; 
}


a {
    color: blue;
}



/* Livres */

.toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
}

input {
    padding: 10px;
    width: 300px;
}

button {
    padding: 10px 16px;
    border: none;
    background: #2563eb;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}

button:hover {
    background: #1d4ed8;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th, td {
    padding: 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

th {
    background: #f3f4f6;
    cursor: pointer;
}

tr:hover {
    background: #fafafa;
}




/* Version */

.version {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa; 
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #6c757d;
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.download-button {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
}

.version-user {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
    color: #495057;  
}

.version-references {
    gap: 10px;
    margin-top: 8px;
}

.version-book {
    color: #212529; /* Dark text for contrast */
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}



.couplage-recap {
    display: flex;
    flex-wrap: wrap;
}

.couplage-recap div {
    border-radius: 10px;
    margin: 2px;
    width: 80px;
    height: 40px;
    background-color: #007bff;
}

.couplage-recap a {
    color: black;
    text-decoration: none;
}

.couplage-recap div.lecon-status- {
    background-color: rgb(92, 92, 92);
}

.couplage-recap div.lecon-status-0 {
    background-color: rgb(221, 34, 184);
}

.couplage-recap div.lecon-status-1 {
    background-color: red;
}

.couplage-recap div.lecon-status-2 {
    background-color: orange;
}

.couplage-recap div.lecon-status-3 {
    background-color: greenyellow;
}