/* ============================================
   CHARACTERS PAGE - COMPACT SPLIT VIEW DESIGN
   ============================================ */

/* Split View Layout */
.characters-split-view {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.25rem;
    min-height: calc(100vh - 200px);
}

/* Empty State */
.empty-state-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    text-align: center;
}

.empty-state-icon {
    font-size: 4rem !important;
    color: rgba(255, 215, 0, 0.35);
    margin-bottom: 1rem;
}

/* Character List (Left Sidebar) */
.character-list {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6));
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    padding: 0.75rem;
    overflow-y: auto;
    max-height: calc(100vh - 180px);
}

.character-list-item {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.7));
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.character-list-item:last-child {
    margin-bottom: 0;
}

.character-list-item:hover {
    border-color: rgba(255, 215, 0, 0.25);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.85));
    transform: translateX(3px);
}

.character-list-item.selected {
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.08), rgba(218, 165, 32, 0.04));
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.list-item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.list-item-content {
    flex: 1;
    min-width: 0;
}

.list-item-name {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffd700;
    margin: 0 0 0.15rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item-details {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

.list-item-level {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .characters-split-view {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 768px) {
    .characters-split-view {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .character-list {
        max-height: 280px;
    }
}
