/* SFWA Reading List View - Main Layout Style Guide */

.entry-content, .post-thumbnail, .wp-block-group, .sfwa-template-page-container {
    max-width: 100% !important; 
    width: 100% !important; 
    padding: 0 !important; 
    margin: 0 !important;
}

#sfwa-reading-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1200px !important;
    overflow-x: hidden;
    padding: 20px;
    background: #ffffff;
    color: #2d3748;
    box-sizing: border-box;
}

.syllabus-toggle-check {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer;
    accent-color: #321866;
    border: 2px solid #cbd5e1;
    border-radius: 3px;
    margin: 0 !important;
}

#sfwa-syllabus-tab {
    display: inline-block !important;
    visibility: visible !important;
}

.rl-grid-card .syllabus-toggle-check {
    display: block;
    margin-top: 4px !important;
}

.syllabus-toggle-check:hover {
    outline: 2px solid #facc15;
}

.rl-tabs { 
    display: flex; 
    gap: 6px; 
    margin-bottom: 20px; 
    border-bottom: 2px solid #321866; 
    padding-bottom: 4px; 
    flex-wrap: wrap; 
}

.rl-tab-btn { 
    background: none; 
    border: none; 
    color: #666; 
    padding: 10px 12px; 
    font-weight: bold; 
    cursor: pointer; 
    font-size: 0.85rem; 
    transition: all 0.2s; 
    border-radius: 4px 4px 0 0; 
}

.rl-tab-btn.active {
    color: #ffffff !important;
    background: #321866 !important;
}

#sfwa-ballot-tab, #sfwa-personal-list-tab, 
#sfwa-reads-loved-tab, #sfwa-works-read-tab, #sfwa-reads-recd-tab, #sfwa-rec-form-tab { 
    display: none; 
}

.rl-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #321866;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
}

.rl-main-layout {
    display: grid;
    grid-template-columns: 300px 1fr 250px;
    gap: 20px;
    width: 100%;
}

@media (max-width: 1150px) {
    .rl-main-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }
    .rl-col-left, .rl-col-center, .rl-col-right {
        width: 100% !important;
        position: static !important;
    }
    .rl-tabs {
        flex-direction: column !important;
        gap: 6px !important;
        border-bottom: none !important;
    }
    .rl-tab-btn {
        width: 100% !important;
        background: #f7fafc !important;
        border: 1px solid #e2e8f0 !important;
        text-align: left;
    }
    .rl-tab-btn.active {
        background: #321866 !important;
        color: #ffffff !important;
    }
}