* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    /* margin-bottom: 40px; */
}

header h1 {
    color: #1976d2;
    margin-bottom: 20px;
}

.selection-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.select-group {
    margin-bottom: 20px;
}

.select-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.mui-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.books-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.book-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.book-info {
    padding: 15px;
}

.book-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.book-authors {
    color: #666;
    font-size: 14px;
}

.tasks-container {
    /* display: grid; */
    /* grid-template-columns: repeat(auto-fill, 1fr); */
    /* gap: 15px; */
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.task-card {
    background: white;
    padding: 14px 20px;
    margin-right: 7px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.task-card:hover {
    background: #f0f0f0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    /* margin: 50px auto; */
    margin: 0 auto;
    background: white;
    /* padding: 20px; */
    border-radius: 8px;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}
.exportBtn {
    position: absolute;
    right: 45px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

.modal-images {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
    overflow-y: auto;
    max-height: 90vh;
}

.modal-images img {
    max-width: 100%;
    height: auto;
}

.mui-btn {
    background: #1976d2;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
    text-decoration: none;
    display: inline-block;
}

.mui-btn:hover {
    background: #1565c0;
}

.page {
    display: none;
}

.page.active {
    display: block;
}
