.custom-radio-card.selected {
    border: 2px solid #0d6efd;
    margin: 5px;
    box-shadow: 0 0 10px rgba(13,110,253,0.2);
    background-color: rgba(13,110,253,0.08);
    transform: translateY(-2px);
}

.custom-radio-card {
    transition: border 0.2s, box-shadow 0.2s, background-color 0.2s, transform 0.2s;
    margin: 5px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    padding: 0.35rem;
    background-color: #fff;
}

.attribute-selector {
    flex-wrap: wrap;
    gap: 0.25rem;
}

/* Podbija widoczność aktywnego przełącznika atrybutu */
.attribute-selector .btn {
    border: 1px solid #ced4da;
    background-color: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.attribute-selector .btn:not(.selected):hover {
    border-color: #0d6efd;
    color: #0d6efd;
}

.attribute-selector .btn.selected {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    box-shadow: 0 0.5rem 1.25rem rgba(13,110,253,0.35);
}

.active-attribute-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.active-attribute-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.1rem 0.75rem;
    background-color: rgba(13,110,253,0.12);
}

.custom-radio-img {
    max-width: 200px;
    max-height: 200px;
    margin: 5px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.character-thumb {
    max-width: 100px;
    max-height: 100px;
}

.shadow-prev {
    margin: 5px;
    object-fit: contain;
    box-shadow: 0 0 10px rgba(0,0,0,0.35);
}

.custom-radio-label {
    width: 100%;
}

/* Styl całej tabeli debug */
.debug-table {
    border: 2px solid #b3d7ff; /* jasny niebieski */
}

    .debug-table td, .debug-table th {
        border: 1px solid #b3d7ff; /* ten sam kolor dla wewnętrznych linii */
    }
/* Separator sekcji */
.debug-separator td {
    background-color: #e6f2ff; /* bardzo jasny niebieski */
    height: 8px;
    padding: 0;
    border-top: 2px solid #b3d7ff;
    border-bottom: 2px solid #b3d7ff;
}

.color-picker input.color-input {
    width: 6rem;
}
