/* public/css/main.css */
body {
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

.links {
    margin: 20px;
    font-size: 1.1em;
    text-align: center;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004999;
}

.books-list, .items-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.book, .item, .hint {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hint {
    width: 97%;
    margin: 0 auto;
    background: #d2d7e6;
}

.item {
    text-align: center;
}

.item img {
    max-width: 100%;
    height: 200px;
}

.book:hover, .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.title {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
}

.author {
    font-size: 1.1em;
    color: #555;
    display: block;
}

.genre {
    font-size: 0.9em;
    color: #888;
}

.container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 200px;
    max-width: 200px;
    min-width: 200px;
    overflow-y: auto;
    background-color: #f4f4f4;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow-wrap: break-word;
}

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.sidebar ul li a:hover {
    color: #0066cc;
}

.sidebar ul li a {
    color: #ffffff;
    background-color: #8eabc8;
    border-radius: 4px;
    display: block;
    width: 100%;
    padding: 5px;
}

.sidebar ul li a.active {
    background-color: #0066cc;
}

.sidebar ul li a:hover {
    background-color: #004992;
    color: #ffffff;
}

iframe {
    width: 49%;
    height: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

thead {
    background-color: #0066cc;
    color: #fff;
}

thead th {
    padding: 12px;
    text-align: left;
    font-weight: bold;
}

tbody td, tbody th {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

tbody tr:hover {
    background-color: #e9ecef;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody th {
    background-color: #8eabc8;
}

#uptime {
    position: absolute;
    bottom: 0px;
}