body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}
header {
    background-color: #333;
    color: white;
    padding: 1em 0;
    text-align: center;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.navbar, .navbar2 {
    background-color: #ddd;
    padding: 0.5em 0;
    text-align: center;
    border-radius: 8px;
    margin: 10px auto;
    width: 90%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.navbar2 {
    background-color: #333;
    color: black;
}
.navbar ul, .navbar2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}
.navbar li, .navbar2 li {
    display: inline;
    margin: 0 15px;
}
.navbar a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.navbar2 a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.navbar a:hover, .navbar2 a:hover {
    background-color: #bbb;
}
.container {
    position: relative;
    width: 90%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.container img {
    width: 100%;
    display: block;
}
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 2em;
    text-align: center;
}
.body-containers-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 90%;
    margin: 20px auto;
}
.latest-update,
.book-of-the-month,
.delivery-chart,
.credits,
.explore-section,
.dashboard-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.dashboard-container {
    width: 90%;
    margin: 20px auto;
}
h2 {
    color: #333;
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.book-of-the-month article {
    padding-left: 20px;
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
    bottom: 0;
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-top: 20px;
}
footer span {
    color: #ff8c00;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}
.prominent-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px auto;
    width: 90%;
}
.action-btn {
    font-size: 1.5rem;
    padding: 20px 40px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}
.action-btn i {
    margin-right: 10px;
}
.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}
.borrow-btn { background-color: #28a745; }
.return-btn { background-color: #007bff; }
.choice-modal-content {
    text-align: center;
}
.choice-btn {
    margin: 15px;
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.choice-btn:hover {
    background-color: #0056b3;
}
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    justify-content: center; 
    align-items: center; 
}
.modal-content, .overlay-content {
    background-color: #fefefe;
    margin: auto; 
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: fadeInScale 0.3s ease-out;
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
}
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}
.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%; 
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}
button[type="button"],
button[type="submit"],
.action-button,
.done-button,
.delivered-button,
.feature button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 1.1em;
    display: block;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
button[type="button"]:hover,
button[type="submit"]:hover {
    background-color: #218838;
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .navbar ul { display: flex; flex-direction: column; align-items: center; }
    .navbar li { margin: 5px 0; }
    .dashboard-container { width: 95%; padding: 15px; }
    .modal-content, .overlay-content { width: 95%; padding: 20px; }
}
