/* Vertical menu styles */
.vertical-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 60px;
    background: linear-gradient(to right, rgba(19, 19, 19, 0) 0%, rgba(19, 19, 19, 0) 100%);
    overflow-x: hidden;
    transition: width 0.3s, background 0.3s;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

.vertical-menu:hover {
    width: 150px;
    background: linear-gradient(to right, rgba(19, 19, 19, 0) 0%, rgba(19, 19, 19, 0) 150px);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 10px 10px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.menu-item:hover {
    background-color: rgba(3, 3, 3, 0); /* Semi-transparent hover state */
}

.circular-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0px solid rgba(255, 255, 0, 0.35);
    width: 32px;
    height: 32px;
    font-weight: bold;
    margin: 0 auto;
}

/* Container might have default padding from style.css */
.container {
    padding-left: 0; /* Reset any padding from the main stylesheet */
   
}

/* Keep banner content padding */
.banner-content {
    padding-left: 10px; /* Keep this as reference position */
}

/* Same positioning for non-banner title */
.container > h1, .container > .audiobook-description {
    padding-left: 40px; /* Match banner content */
}

/* Fix audiobook covers alignment - they're appearing further right */
.audiobook-info {
    padding-left: 40px; /* Reduced padding to compensate for any extra space */
    padding-right:40px;
    margin-left: 0; /* Reset any margin */
}

/* Target the cover specifically to remove any potential margins */
.audiobook-cover-large {
    margin-left: 0;
    padding-left: 0;
}

.menu-icon {
    cursor: pointer;
    color: rgba(255, 255, 0, 1);
}

.menu-text {
    display: none; /* Hide text by default */
    margin-left: 10px; /* Space between icon and text */
}

.vertical-menu:hover .menu-text {
    display: inline; /* Show text when menu is hovered/expanded */
}

.episode-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1010;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
}

.lightbox-image-container {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightboxImage {
    max-width: 100%;
    max-height: calc(80vh - 100px);
    object-fit: contain;
    cursor: pointer; /* Indicate image is clickable */
}

.lightbox-player {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 0 0 5px 5px;
    width: 100%;
    margin-top: 10px;
}

.second-description {
    position: absolute;
    bottom: 30px;
    right: 20px;
    max-width: 40%;
    background-color: rgba(255, 255, 255, 0.25);
    border: 0px solid #ffffff;
    padding: 5px;
    padding-top:0px;
    padding-bottom:0px;
    border-radius: 0px;
    text-align: right;
    font-weight: bold;
    z-index: 1003;
}

.second-description a {
    color: rgba(0, 0, 0, 1);
    text-decoration: none;
}

.second-description a:hover {
    color: rgba(0, 0, 0, 1);
}

.episode-image {
    cursor: pointer;
}

.episode-cover {
    position: relative;
    cursor: pointer;
}

.play-button {
    cursor: pointer;
}

/* Add these styles to your existing audiobook.css file */

.recommendations-section {
    margin-top: 40px;
    border-top: 0px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    padding-left: 40px; 
    padding-right: 15px;
    margin-bottom: 50px;
  
    
}

.recommendations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
 
}

.recommendation-item {
    width: 120px;
 
    transition: transform 0.3s ease;
}

.recommendation-item:hover {
    transform: scale(1.05);
}

.recommendation-item a {
    text-decoration: none;
    color: inherit;
}

.recommendation-cover {
    position: relative;
    width: 100%;
    
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 8px;
}

.recommendation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommendation-item:hover .recommendation-image {
    transform: scale(1.1);
}

.recommendation-info h3 {
    font-size: 14px;
    margin: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.episodes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.episodes-header h2 {
    margin: 0;
}

.book-selector {
    margin-left: 20px;
}

.book-selector select {
    background-color: #333;
    color: white;
    border: 1px solid #555;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
}

.book-selector select:hover {
    background-color: #444;
}

.book-selector select:focus {
    background-color: #555;
    border-color: #7483FF;
}

.book-selector option {
    background-color: #333;
    color: white;
}

.audiobook-info-line {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 0 0 15px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    font-weight: 500;
}

.audiobook-info-line::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #FFF7B4;
    margin-right: 10px;
    vertical-align: middle;
}

/* Continue/Cancel Dialog Styles */
.continue-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1020;
    justify-content: center;
    align-items: center;
}

.continue-dialog-content {
    background-color: rgba(0, 0, 0, 0.3);
    border: 0px solid #333;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 30px 30px rgba(0, 0, 0, 0.3);
}

.continue-dialog-content h3 {
    color: #fff;
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: bold;
}

.continue-dialog-content p {
    color: #ccc;
    margin: 0 0 25px 0;
    font-size: 16px;
    line-height: 1.4;
}

.dialog-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.dialog-buttons button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.continue-btn {
    background-color: #fff;
    color: #000;
}

.continue-btn:hover {
    background-color: #fff;
    transform: translateY(-2px);
    color:#000;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.cancel-btn {
    background-color: #f44336;
    color: white;
}

.cancel-btn:hover {
    background-color: #da190b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}


