        /* Štýly pre tematické informácie bez card layoutu */
       /*  Galéria symbolov- štýly */
       /* Galéria vlajok - štýly */


.thematic-info-panel {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.thematic-info-panel h3 {
    margin-top: 0;
    color: #2D7AE5;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.word-header {
    text-align: center;
    margin-bottom: 15px;
}

.word-header h2 {
    font-size: 22px;
    color: #333;
    margin: 0;
    padding: 5px 0;
    font-weight: 500;
}

.thematic-section {
    margin-bottom: 20px;
}

.thematic-section h4 {
    color: #555;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.symbol-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 24px;
    margin-bottom: 10px;
}

.clickable-symbol {
    cursor: pointer;
    transition: transform 0.2s;
}

.clickable-symbol:hover {
    transform: scale(1.2);
}

.synonym-list, .topic-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.synonym-list li, .topic-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.clickable-word {
    color: #2D7AE5;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.clickable-word:hover {
    color: #1B5BB3;
    text-decoration: underline;
}

.price {
    color: #888;
    font-size: 0.9em;
    margin-left: 5px;
}

.placeholder-text {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}











/* Vylepšené CSS pre sekciu Tipy na dnes */
.daily-tips {
    padding: 15px;
    background: linear-gradient(145deg, #f9f9f9, #f0f5ff);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 15px;
    border: 1px solid rgba(45, 122, 229, 0.1);
    position: relative;
    overflow: hidden;
}

.daily-tips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2D7AE5, #5c9eff);
}

.tips-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(45, 122, 229, 0.15);
}

.tips-header h3 {
    margin: 0;
    color: #2D7AE5;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.tips-header h3::before {
    content: '✨';
    margin-right: 8px;
    font-size: 1.2rem;
}



/* Kompaktnejší layout pre sekcie */
.tips-section {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.tips-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.tips-section h4 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Pridanie ikon pre jednotlivé kategórie */
.tips-section h4::before {
    margin-right: 6px;
    font-size: 1rem;
}

.tips-section:nth-child(1) h4::before { content: '🔣'; } /* Symboly */
.tips-section:nth-child(2) h4::before { content: '👤'; } /* Osobnosti */
.tips-section:nth-child(3) h4::before { content: '🏙️'; } /* Mestá */
.tips-section:nth-child(4) h4::before { content: '💰'; } /* Kryptomena */
.tips-section:nth-child(5) h4::before { content: '🏢'; } /* Tech firmy */

/* Vylepšené symboly */
.symbols-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px;
    background-color: rgba(255,255,255,0.6);
    border-radius: 8px;
}

.clickable-symbol {
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    background-color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.clickable-symbol:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Kompaktný zoznam tipov */
.tips-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    margin-bottom: 5px;
    padding: 6px 8px;
    border-radius: 6px;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tips-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    background-color: #f5f9ff;
}

.tips-list li:last-child {
    margin-bottom: 0;
}

.tips-list .clickable-word {
    color: #2D7AE5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-block;
    margin-right: auto;
}

.tips-list .clickable-word:hover {
    color: #1B5BB3;
    text-decoration: underline;
}

.tips-list .price {
    color: #5f6368;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: rgba(45, 122, 229, 0.08);
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 8px;
}

.tips-description {
    font-size: 0.8rem;
    color: #5f6368;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-tips {
    color: #666;
    font-style: italic;
    font-size: 0.85rem;
    text-align: center;
    padding: 10px;
    background-color: rgba(0,0,0,0.02);
    border-radius: 6px;
}

/* Vylepšená animácia pre nové tipy */
@keyframes highlightNew {
    0% { background-color: rgba(45, 122, 229, 0.2); }
    100% { background-color: white; }
}

.new-tip {
    animation: highlightNew 2s ease-out;
}

/* Kompaktnejší mobilný layout */
@media (max-width: 768px) {
    .daily-tips {
        padding: 12px;
    }
    
    .tips-section h4 {
        font-size: 0.9rem;
    }
    
    .clickable-symbol {
        font-size: 18px;
        width: 32px;
        height: 32px;
    }
    
    .tips-list .clickable-word {
        font-size: 0.85rem;
    }
    
    .tips-description {
        font-size: 0.75rem;
    }
}





/* toto  je sekcia pre  symboli  ktore su v samostanom modalnom okne  */


/* Modálne okno pre symboly */
#symbols-gallery-modal .modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

#symbols-gallery-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

#symbols-gallery-modal .modal-body {
    padding: 20px;
}

.symbols-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 12px;
    padding: 20px 0;
}

.symbol-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 70px;
}

.symbol-card:hover {
    background: #e9ecef;
    border-color: #1a73e8;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.symbol-large {
    font-size: 32px;
    line-height: 1;
}

.symbols-intro {
    text-align: center;
    padding: 15px;
    background: #f0f7ff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.symbols-search-box {
    position: relative;
    max-width: 400px;
    margin: 0 auto 20px;
}

.symbols-search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
}

.symbols-search-input:focus {
    outline: none;
    border-color: #1a73e8;
}

.symbols-search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #5f6368;
}






/* CSS štýly pre tabulku  s emotikonmi a s cenami */

/* CSS štýly pre nové zobrazenie symbolov s cenami */

.price-sort-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    margin: 15px 0;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-sort-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.price-sort-button i {
    margin-right: 8px;
}

.symbols-price-list {
    margin-top: 20px;
}

.price-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.price-list-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3em;
}

.back-to-grid-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.3s ease;
}

.back-to-grid-btn:hover {
    background: #5a6268;
}

.back-to-grid-btn i {
    margin-right: 5px;
}

.price-list-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1em;
}

.price-list-loading i {
    font-size: 1.5em;
    margin-right: 10px;
    color: #007bff;
}

.price-list-content {
    /* Bez max-height a overflow - necháme skrolovať celé modálne okno */
}




/* Zjednotený štýl pre symbol-price-item ako flag-price-item */
.symbol-price-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.symbol-price-item:hover {
    background-color: #f8f9fa;
    border-color: #dc3545;
    transform: translateX(3px);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.1);
}



.symbol-price-emoji {
    font-size: 2em;
    margin-right: 15px;
    min-width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.symbol-price-details {
    flex: 1;
}
.symbol-price-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.symbol-price-amount {
    font-weight: bold;
    color: #dc3545;
    font-size: 16px;
    flex-shrink: 0;
    margin-left: 10px;
}


.symbol-price-owner-container {
    text-align: center;
}

.symbol-price-owner {
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 500;
    text-align: center;
    min-width: 60px;
}

.symbol-price-owner.clickable {
    color: #ffffff;
    background: linear-gradient(135deg, #007bff, #0056b3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.symbol-price-owner.clickable:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    text-decoration: none;
}

.symbol-price-owner.clickable:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.symbol-price-owner.available {
    color: #ffffff;
    background: linear-gradient(135deg, #28a745, #1e7e34);
    font-style: normal;
    border: 1px solid #28a745;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}


/* Responsive design */
@media (max-width: 768px) {
    .price-list-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .symbol-price-item {
        padding: 10px;
    }
    
    .symbol-price-emoji {
        font-size: 1.5em;
        margin-right: 10px;
        min-width: 40px;
    }
    
    .symbol-price-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}




.symbol-price-details {
    display: flex;
    align-items: center;
    justify-content: center;
}

.symbol-price-name {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.symbol-price-code {
    color: #666;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    margin-top: 2px;
}

.symbol-price-value {
    font-weight: bold;
    color: #dc3545;
    font-size: 16px;
    flex-shrink: 0;
    margin-left: 10px;
}








/* Galéria symbolov - základný z-index */
#symbols-gallery-modal {
    z-index: 1000;
}

/* Modálne okno s používateľovými slovami - vyšší z-index */
#user-words-modal {
    z-index: 1050;
    background-color: rgba(0, 0, 0, 0.6); /* Trochu tmavší background pre lepšiu viditeľnosť */
}

/* Ešte vyšší z-index pre prípad, že by boli ďalšie modály */
.modal {
    z-index: 1000;
}

.modal.high-priority {
    z-index: 1050;
}





/*  Koniec CSS štýly pre tabulku  s emotikonmi a s cenami */








/* ============================================
   🏁 GALÉRIA VLAJOK - CSS ŠTÝLY
   ============================================ */

/* Základné modálne okno */
#flags-gallery-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

#flags-gallery-modal .modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border: none;
    border-radius: 8px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Header modálu */
#flags-gallery-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border-radius: 8px 8px 0 0;
}

#flags-gallery-modal .modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

#flags-gallery-modal .close-modal {
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#flags-gallery-modal .close-modal:hover {
    color: #ffdddd;
    transform: scale(1.1);
}

/* Obsah modálu */
#flags-gallery-modal .modal-body {
    padding: 20px;
}

.flags-intro {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.flags-intro p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 1rem;
}

.flags-intro .price-sort-button {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 0;
    display: inline-block;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.flags-intro .price-sort-button:hover {
    background: linear-gradient(135deg, #138496, #117a8b);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* GRID PRE VLAJKY - ZVÄČŠENÉ */
.flags-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    padding: 20px 0;
}

/* KARTA VLAJKY - ZVÄČŠENÁ */
.flag-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.flag-card:hover {
    border-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    transform: translateY(-2px);
    background: #fffafa;
}

/* OBRÁZOK VLAJKY - ZVÄČŠENÝ */
#flags-gallery-modal .flag-image {
    width: 70px !important;
    height: 47px !important;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.flag-card:hover .flag-image {
    transform: scale(1.05);
}

/* Texty vlajky */
.flag-label {
    font-weight: bold;
    font-size: 14px;
    color: #dc3545;
    margin-bottom: 4px;
    font-family: 'Courier New', monospace;
}

.flag-name {
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
}

/* Zoznam s cenami */
.flags-price-list {
    padding: 20px 0;
    display: none;
}

.price-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.price-list-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
}

.back-to-grid-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-to-grid-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Price list položka */
.flag-price-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.flag-price-item:hover {
    background-color: #f8f9fa;
    border-color: #dc3545;
    transform: translateX(3px);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.1);
}

.flag-price-item .flag-image {
    width: 50px !important;
    height: 33px !important;
    margin-right: 15px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.flag-price-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flag-details {
    flex: 1;
}

.flag-price-name {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    margin-bottom: 2px;
}

.flag-price-code {
    color: #666;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

.flag-price-value {
    font-weight: bold;
    color: #dc3545;
    font-size: 16px;
    flex-shrink: 0;
    margin-left: 10px;
}

/* Loading a prázdny stav */
.price-list-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
}

.price-list-loading .fas.fa-spinner {
    animation: spin 1s linear infinite;
    margin-right: 10px;
    color: #dc3545;
    font-size: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-flags {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

/* Responzívnosť */
@media (max-width: 768px) {
    #flags-gallery-modal .modal-content {
        width: 95%;
        margin: 1% auto;
    }
    
    .flags-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .flag-card {
        padding: 10px;
        min-height: 130px;
    }
    
    #flags-gallery-modal .flag-image {
        width: 60px !important;
        height: 40px !important;
    }
}

/* ============================================
   🏁 VLAJKY V INÝCH ČASTIACH APLIKÁCIE
   ============================================ */

/* Pre vlajky v cenotvorbe vlastných slov */
.owned-words-grid .word-text img,
.word-card .word-text img,
.word-title img {
    width: 60px !important;
    height: 40px !important;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 4px;
}

/* Základná veľkosť vlajok v aplikácii */
img[src*="flags/"] {
    width: 24px !important;
    height: 16px !important;
    border: 1px solid #ccc !important;
    border-radius: 2px !important;
    vertical-align: middle !important;
    margin-right: 3px !important;
}

/* Väčšie vlajky vo výsledkoch vyhľadávania */
.search-result-section img[src*="flags/"],
.highlighted-word img[src*="flags/"],
.message img[src*="flags/"] {
    width: 48px !important;
    height: 32px !important;
}

/* Menšie vlajky v tabuľkách */
table tbody img[src*="flags/"] {
    width: 20px !important;
    height: 13px !important;
}






















