/* symbol.css - Stili a Colonne Scorribili (2 Items per Row) */

.columns-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0 4rem 0;
}

.category-column {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    background: #111112;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 650px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.column-header {
    padding: 1.25rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: white;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
}

.column-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
    /* Griglia a 2 colonne per i simboli */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    align-content: start;
}

/* Scrollbar interna alle colonne */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* Item del simbolo - Layout verticale per 2 in una riga */
.symbol-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 1rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.symbol-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 162, 255, 0.4);
    transform: translateY(-2px);
}

.symbol-preview {
    width: 4.5rem;
    /* Manteniamo la dimensione grande per visibilità */
    height: 4.5rem;
    background: #000;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.symbol-preview img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.copy-btn {
    width: 100%;
    padding: 0.4rem 0;
    background: #1c1c1e;
    color: #71717a;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.symbol-item:hover .copy-btn {
    background: #00a2ff;
    color: white;
    border-color: transparent;
}

/* Indicatore di scroll sotto */
.scroll-indicator {
    padding: 0.6rem;
    text-align: center;
    font-size: 0.75rem;
    color: #3f3f46;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

/* ------------------------------------------------------- */
/* STILI SIMBOLI RIMOSSI (Blacklist)                       */
/* ------------------------------------------------------- */

.symbol-item.removed {
    opacity: 0.6;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.01);
}

.symbol-item.removed:hover {
    background: rgba(255, 255, 255, 0.01);
    border-color: rgba(255, 0, 0, 0.3);
    transform: none; /* Disabilita effetto zoom interattivo */
}

.symbol-item.removed .symbol-preview img {
    filter: grayscale(100%);
    opacity: 0.4;
}

.symbol-item.removed .copy-btn {
    background: rgba(255, 0, 0, 0.05);
    color: #ef4444; /* Rosso non troppo acceso */
    cursor: not-allowed;
    border-color: transparent;
}

.symbol-item.removed:hover .copy-btn {
    background: rgba(255, 0, 0, 0.05);
    color: #ef4444;
}
