

.book-info {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 20px;
}

.book-cover {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.book-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.book-name{
    font-size: 1.5rem;
    font-weight: bold;
}

.text-preview {
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    position: relative;
    max-height: 200px;
    /* Set a fixed height for collapsed state */
    overflow-y: auto;
    /* Show scrollbar when content overflows */
}

/* When expanded, show all content without scrollbars */
.text-preview.expanded {
    max-height: none;
    overflow-y: hidden;
}

/* Overlay effect for collapsed state */
.text-preview.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, rgba(248, 249, 250, 0), #f8f9fa);
}


/* Expand/Collapse button styles */
.expand-collapse-btn {

    background-color: #f8f9fa;
    color: #007bff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    margin-top: 10px;
    text-align: center;
    width: 100%;
    font-weight: 500;
}

.expand-collapse-btn:hover {
    background-color: #e9ecef;
    text-decoration: underline;
}

.expand-collapse-btn.show {
    display: block;
}

.step-container {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.step-header {
    font-weight: bold;
    margin-bottom: 15px;
    color: #343a40;
}

.input-group {
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.input-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.input-group>.form-control {
    width: 100%;
}

.suggestion-links {
    display: flex;
    row-gap: 2px;
    column-gap: 12px;
    flex-wrap: wrap;
}

.suggestion-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 5px 10px; /* Added padding for better touch targets */
    border-radius: 4px; /* Slight rounding for better appearance */
}

.suggestion-link:hover {
    cursor: pointer;
    text-decoration: underline;
    background-color: #f8f9fa; /* Light background on hover for better feedback */
}

.next-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    margin-top: 15px;
}

.next-button:hover {
    background-color: #0056b3;
}

.supporting-points {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.supporting-point {
    flex: 1;
    min-width: 150px;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-align: center;
    background-color: #f8f9fa;
}

.content-overview {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.overview-header {
    font-weight: bold;
    margin-bottom: 15px;
    color: #343a40;
}

.audio-preview {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.audio-icon {
    width: 30px;
    height: 30px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    cursor: pointer;
}

/*notebooklm*/
.card.notebooklm-card {

    margin: 2rem auto;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    border: 1px solid #e3e6f0;
}

.card-header.notebooklm-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    padding: 1rem 1.25rem;
    font-weight: bold;
    color: #dc3545;
    text-align: center;
}

.card-body.notebooklm-body {
    padding: 1.5rem;
}

.price-info {
    font-weight: bold;
    color: #007bff;
    margin: 1rem 0;
    font-size: 1.1rem;
    text-align: center;
}

.card-footer.notebooklm-footer {
    background-color: #f8f9fc;
    border-top: 1px solid #e3e6f0;
    padding: 1rem 1.25rem;
    color: #dc3545;
    font-size: 0.85rem;
    line-height: 1.6;
}

.btn-generate {
    padding: 0.5rem 2rem;
    font-size: 1rem;
}

.hover-effect:hover {
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}
