/* clickable-words.css */
.clickable-word {
    color: #1a73e8;
    transition: all 0.2s ease;
    cursor: pointer;
}

.clickable-word:hover {
    color: #1557b0;
    text-decoration: underline;
}

/* Zvýraznenie pre slová po najetí myšou */
.card[data-section="recent-purchases"] tbody tr td:first-child:hover,
.card[data-section="monthly-top"] tbody tr td:first-child:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
}






/* Štýly pre grid slov používateľa */
.user-words-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    margin-top: 15px;
}

.user-word-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.user-word-card:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.user-word-text {
    font-size: 18px;
    font-weight: bold;
    color: #1a73e8;
    margin-bottom: 8px;
}

.user-word-price {
    font-size: 14px;
    color: #555;
}

/* Spinner a chybové hlášky */
.loading-spinner {
    text-align: center;
    padding: 20px;
    font-size: 18px;
    color: #555;
}

.error-message, .empty-message {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #d9534f;
}

.empty-message {
    color: #666;
}

/* Úprava štýlov pre klikateľné mená používateľov */
.clickable-user {
    cursor: pointer;
    color: #1a73e8;
    text-decoration: underline;
    display: inline-block;
}

.clickable-user:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* Mobilná responzivita */
@media (max-width: 768px) {
    .user-words-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .user-words-grid {
        grid-template-columns: 1fr;
    }
}









/* Štýly pre klikateľné slová v tematických informáciách */
.clickable-word {
    cursor: pointer;
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.2s;
}

.clickable-word:hover {
    color: #0d47a1;
    text-decoration: underline;
}

.synonym-list li, .topic-list li {
    margin-bottom: 5px;
}

/* Zvýraznenie aktívneho slova */
.clickable-word.active {
    font-weight: bold;
}



/* Štýly pre klikateľné symboly */
.clickable-symbol {
    cursor: pointer;
    font-size: 1.5em;
    display: inline-block;
    margin: 0 5px;
    transition: transform 0.2s, opacity 0.2s;
}

.clickable-symbol:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.symbol-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0;
}