/**
 * Book Detail Redesign Styles
 * 
 * Styles for the new book detail page layout.
 * Used by book-detail-redesign.php and book-detail-redesign-preview.php
 */

/* Main container */
.book-detail-redesign {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 24px 16px;
}

/* Breadcrumbs row with language callout */
.book-detail-redesign .breadcrumbs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.book-detail-redesign .breadcrumbs-row breadcrumbs {
    display: block;
    margin-bottom: 0;
}

.book-detail-redesign .language-callout {
    display: inline-flex;
    align-items: center;
    border: 1px solid #A1D5DA;
    border-radius: 4px;
    background-color: #DEF5F7;
    font-size: 12px;
    color: #007988;
    white-space: nowrap;
}

.book-detail-redesign .language-callout .callout-text {
    padding-left: 8px;
    margin: 5px 0;
}

.book-detail-redesign .language-callout .callout-links {
    margin: 5px 0;
    padding: 0 8px 0 5px;
}

.book-detail-redesign .language-callout .language-link {
    color: #314094;
    text-decoration: underline;
    font-weight: 500;
}

.book-detail-redesign .language-callout .language-link:hover {
    text-decoration: underline;
}

/* Header layout: cover + info side by side */
.book-detail-redesign .book-detail-header {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

/* Left column: book cover */
.book-detail-redesign .book-cover-column {
    flex: 0 0 auto;
    text-align: center;
}

/* Right column: book info and actions */
.book-detail-redesign .book-info-column {
    flex: 1 1 auto;
}

/* Book title */
.book-detail-redesign .book-title {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #333;
    margin: 0 0 8px 0;
}

/* Book subtitle (author) */
.book-detail-redesign .book-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 16px 0;
}

/* Book summary/description */
.book-detail-redesign .book-summary {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

/* Error state */
.book-detail-error {
    padding: 40px;
    text-align: center;
}

/* Responsive: stack columns on mobile */
@media (max-width: 768px) {
    .book-detail-redesign .book-detail-header {
        flex-direction: column;
        align-items: center;
    }
    
    .book-detail-redesign .book-info-column {
        text-align: center;
    }
}

/* Action buttons container - combines Angular component and AngularJS directive */
.book-detail-redesign .action-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
