/* General styling for the body */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Styling for the login container */
#login-container {
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

#login-container h1 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

#login-container input {
    margin: 15px 0;
    padding: 10px;
    width: 80%;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
}

#login-container button {
    padding: 10px 20px;
    background-color: #6a1b9a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

#login-container button:hover {
    background-color: #9c27b0;
}

/* Error message styling */
#error-message {
    color: red;
    margin-top: 10px;
    font-size: 0.9em;
}

/* Hiding the bookshelf container initially */
#bookshelf-container {
    display: none;
}

/* Styling for the bookshelf header */
header {
    background-color: #6a1b9a;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.2em;
}

/* Styling for the main content */
main {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Styling for the bookshelf section */
#bookshelf {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

#bookshelf h2 {
    margin-top: 0;
    font-size: 1.8em;
}

#book-list {
    list-style-type: none;
    padding: 0;
}

#book-list li {
    margin: 10px 0;
    padding: 10px;
    background-color: #ececec;
    border-radius: 5px;
}

#book-list a {
    text-decoration: none;
    color: #6a1b9a;
    font-weight: bold;
    font-size: 1.1em;
}

#book-list a:hover {
    color: #9c27b0;
}

/* Footer styling */
footer {
    text-align: center;
    padding: 10px;
    background-color: #6a1b9a;
    color: white;
    margin-top: 20px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}
