/* ==========================================
   THEMES TABS - ALL DEVICES
   ========================================== */
.yaliw-theme-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.yaliw-theme-tab {
    flex: 1;
    padding: 14px 20px;
    background: #FAFAFA;
    border: 1px solid #E0E0E0;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 0.95em;
    font-weight: 700;
    color: #5D5D5D;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.yaliw-theme-tab:first-child {
    border-radius: 8px 0 0 8px;
}

.yaliw-theme-tab:last-child {
    border-radius: 0 8px 8px 0;
}

.yaliw-theme-tab.active {
    background: #C7A242;
    color: #fff;
    border-color: #C7A242;
}

.yaliw-theme-tab:hover:not(.active) {
    background: #F0EDE0;
    border-color: #C7A242;
    color: #C7A242;
}

/* Themes Grid - single column */
.yaliw-themes-grid {
    display: block !important;
    width: 100% !important;
}

.yaliw-themes-grid .theme-column {
    width: 100% !important;
    max-width: 100% !important;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
}

.theme-header {
    background: #FAFAFA;
    padding: 15px 18px;
    border-bottom: 2px solid #C7A242;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-header h2 {
    font-family: 'Trebuchet MS', sans-serif;
    font-weight: 700;
    color: #757575;
    margin: 0;
    font-size: 1.1em;
}

.theme-badge {
    font-size: 0.75em;
    color: #C1C1C1;
}

.theme-search {
    padding: 10px 15px;
    border-bottom: 1px solid #E0E0E0;
}

.theme-search-input {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.85em;
}

.theme-papers-list {
    padding: 0;
    max-height: 500px;
    overflow-y: auto;
}

.theme-paper-item {
    padding: 12px 15px;
    border-bottom: 1px solid #E0E0E0;
    transition: background 0.15s;
}

.theme-paper-item:last-child {
    border-bottom: none;
}

.theme-paper-item:hover {
    background: #FAFAFA;
}

.theme-paper-title {
    font-family: 'Trebuchet MS', sans-serif;
    font-weight: 700;
    font-size: 0.9em;
    color: #757575;
    margin: 0 0 5px;
    line-height: 1.3;
}

.theme-paper-meta {
    font-size: 0.78em;
    color: #5D5D5D;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.theme-paper-meta span {
    display: inline-block;
}

.theme-paper-citations {
    color: #C7A242;
    font-weight: 700;
}

.theme-empty {
    padding: 20px 15px;
    color: #C1C1C1;
    font-size: 0.9em;
    text-align: center;
}