/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */
body { 
   /* font-family: Arial, sans-serif; 
    background: #1a1a1a; 
    color: white; 
    margin: 0; 
    padding: 40px; */
}

h1 { 
    text-align: center; 
    color: #fff; 
    margin-bottom: 40px; 
}

/* ==========================================================================
   BOOK SHELF & CARDS
   ========================================================================== */
.book-shelf { 
    display: flex; 
    justify-content: center; 
    gap: 20px;                 
    flex-wrap: wrap; 
    margin-bottom: 50px;
    max-width: 1540px; 
    margin-left: auto;         
    margin-right: auto;
    margin-top: 500px;
}

.book-card { 
    background: #2a2a2a; 
    border: 1px solid #444; 
    border-radius: 8px; 
    
    padding: 14px 12px;        
    
    width: 245px;               
    box-sizing: border-box;     
    text-align: center; 
    cursor: pointer; 
    transition: transform 0.2s, box-shadow 0.2s; 
    text-decoration: none; 
    color: white;
}

.book-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.5); 
    border-color: #007bff; 
}


.book-cover-icon-wrap {
    width: 160px;
    height: 215px;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;         
    background: #111;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4); 
}

.book-cover-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #333;
    box-sizing: border-box;
}

.book-title { 
    font-size: 16px; 
    font-weight: bold; 
    margin-bottom: 4px; 
}

/* ==========================================================================
   CROSS-BOOK SEARCH INTERFACE
   ========================================================================== */
.search-section { 
    max-width: 700px; 
    margin: 0 auto; 
    background: #2a2a2a; 
    padding: 30px; 
    border-radius: 8px; 
    border: 1px solid #333; 
}

.search-box { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 20px; 
}

#globalSearchInput { 
    flex: 1; 
    height: 44px; 
    padding: 0 15px; 
    font-size: 16px; 
    border: 1px solid #444; 
    background: #111; 
    color: white; 
    border-radius: 4px; 
}

#globalSearchBtn { 
    width: 120px; 
    background: #007bff; 
    color: white; 
    border: none; 
    font-size: 16px; 
    font-weight: bold; 
    cursor: pointer; 
    border-radius: 4px; 
}

#globalSearchBtn:hover { 
    background: #0056b3; 
}

/* Search Results Output */
#globalResults { 
    max-height: 400px; 
    overflow-y: auto; 
}

.result-item { 
    padding: 15px; 
    border-bottom: 1px solid #444; 
    cursor: pointer; 
    background: #222; 
    margin-bottom: 8px; 
    border-radius: 4px; 
    transition: background 0.2s; 
}

.result-item:hover { 
    background: #2d2d2d; 
}

.result-meta { 
    color: #007bff; 
    font-weight: bold; 
    font-size: 14px; 
    margin-bottom: 5px; 
}

.result-item-title {
    font-size: 14px; 
    color: #ccc; 
}

/* ==========================================================================
   DASHBOARD FOOTER (UPDATED: BIGGER & WHITE)
   ========================================================================== */
#dashboardFooter {
    text-align: center;
    color: #ffffff;            
    font-size: 16px;          
    font-weight: normal;       
    letter-spacing: 0.5px; 
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
}

#globalSearchBtn { 
    width: 120px; 
    background: #007bff; 
    color: white; 
    border: none; 
    font-size: 16px; 
    font-weight: bold; 
    cursor: pointer; 
    border-radius: 4px; 
}

#globalSearchBtn:hover { 
    background: #0056b3; 
}


#globalClearSearchBtn { 
    width: 120px;             
    background: #004085;      
    color: white; 
    border: none;             
    font-size: 16px; 
    font-weight: bold; 
    cursor: pointer; 
    border-radius: 4px; 
    transition: background 0.2s;
}

#globalClearSearchBtn:hover { 
    background: #002752;    
}