﻿/* === ZÁKLADNÉ NASTAVENIA === */
body {
    background-color: #f9f9f9; /* upravené z #f8f9fa */
    padding-top: 60px; /* upravené z 70px */
}

/* === KARTY KATEGÓRIÍ === */
.category-card {
    transition: transform 0.2s;
    cursor: pointer;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

    .category-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    }

    .category-card a {
        text-decoration: none;
        color: inherit; /* voliteľné – ak chceš, aby mali farbu ako okolitý text */
    }

        .category-card a:hover {
            text-decoration: underline; /* voliteľné – ak chceš efekt pri hoveri */
        }

.category-icon {
    font-size: 2rem;
    color: #0d6efd;
}

.category-title {
    font-size: 1rem;
    font-weight: 600;
}

/* === HLAVIČKA KATEGÓRIE === */
.category-header {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

    .category-header .icon {
        font-size: 2rem;
        margin-right: 0.5rem;
    }

/* === ZOZNAM PODKATEGÓRIÍ === */
.subcategory-list {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

    .subcategory-list a {
        display: block;
        margin-bottom: 0.5rem;
        color: #0d6efd;
        text-decoration: none;
    }

        .subcategory-list a:hover {
            text-decoration: underline;
        }

/* === HĽADACÍ BOX === */
.search-box {
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

/* === PÄTIČKA === */
footer {
    background-color: #f1f1f1;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 3rem;
}

/* === NAVIGAČNÝ PANEL === */
.navbar-custom {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

    .navbar-custom .navbar-brand,
    .navbar-custom .nav-link {
        color: #333;
        font-weight: 500;
    }

        .navbar-custom .nav-link:hover {
            color: #0d6efd;
        }

/* === KARTA STRÁNKY === */
.site-card {
    background: #fff;
    padding: 1.15rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

    .site-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
        border-color: #cbd5e1;
    }

    .site-card h3,
    .site-card h4,
    .site-card h5 {
        margin-top: 0;
    }

    .site-card a {
        color: #0d6efd;
        text-decoration: none;
    }

        .site-card a:hover {
            text-decoration: underline;
        }


.category-page-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.category-page-actions {
    flex-shrink: 0;
}

.subcategory-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.subcategory-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.7rem;
    background: #f8fafc;
    text-decoration: none;
    color: #0f172a;
    font-size: 0.95rem;
    transition: all 0.15s ease;
}

    .subcategory-item:hover {
        background: #eff6ff;
        border-color: #bfdbfe;
        color: #0d6efd;
        text-decoration: none;
        transform: translateY(-1px);
    }

.subcategory-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #0d6efd;
    flex-shrink: 0;
}

.site-card {
    background: #fff;
    padding: 1.15rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

    .site-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
        border-color: #cbd5e1;
    }

    .site-card h3,
    .site-card h4,
    .site-card h5 {
        margin-top: 0;
    }

    .site-card a {
        text-decoration: none;
    }

        .site-card a:hover {
            text-decoration: underline;
        }
    /* Oprava tlačidiel vo vnútri site-card */
    .site-card .btn-primary {
        color: #fff;
    }

        .site-card .btn-primary:hover {
            color: #fff;
            text-decoration: none;
        }

    .site-card .btn-outline-primary {
        color: #0d6efd;
    }

        .site-card .btn-outline-primary:hover {
            color: #fff;
            text-decoration: none;
        }

    .site-card .btn {
        min-width: 150px;
    }

@media (max-width: 991px) {
    .subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-page-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .subcategory-grid {
        grid-template-columns: 1fr;
    }
}


.url-check-ok {
    color: #198754;
}

.url-check-error {
    color: #dc3545;
}

.url-check-loading {
    color: #6c757d;
}

.field-warning {
    color: #dc3545;
    font-weight: 600;
}

.category-duplicate-warning {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.4rem;
}


/* === PÄTIČKA === */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 2.5rem 0 1.25rem 0;
    font-size: 0.95rem;
    margin-top: 3rem;
}

    .site-footer h5 {
        color: #ffffff;
        font-size: 1.05rem;
        margin-bottom: 0.9rem;
    }

    .site-footer p {
        margin-bottom: 0.75rem;
    }

    .site-footer a {
        color: #93c5fd;
        text-decoration: none;
    }

        .site-footer a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

    .site-footer hr {
        border-color: rgba(255,255,255,0.12);
        margin: 1.75rem 0 1rem 0;
    }

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .footer-links li {
        margin-bottom: 0.45rem;
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* === COOKIE LIŠTA === */
.cookie-bar {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
    background: #111827;
    color: #ffffff;
    border-radius: 0.9rem;
    padding: 1rem;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

    .cookie-bar a {
        color: #bfdbfe;
        text-decoration: underline;
    }

.cookie-bar-text {
    font-size: 0.9rem;
    line-height: 1.45;
}

.cookie-bar-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .cookie-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-bar-actions {
        width: 100%;
    }

        .cookie-bar-actions .btn {
            flex: 1;
        }
}

/* === VEĽKÁ VYHĽADÁVACIA BUBLINA === */
.search-box-large {
    max-width: 820px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.quick-search-bubble {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.65rem);
    z-index: 1050;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 1rem;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    text-align: left;
}

.quick-search-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.quick-search-close {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
}

    .quick-search-close:hover {
        color: #0f172a;
    }

.quick-search-results {
    max-height: 520px;
    overflow-y: auto;
    padding: 0.75rem;
}

.quick-search-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.04em;
    padding: 0.55rem 0.4rem 0.35rem 0.4rem;
}

.quick-search-item {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: 0.85rem;
    text-decoration: none;
    color: #0f172a;
    transition: background 0.15s ease, transform 0.15s ease;
}

    .quick-search-item:hover {
        background: #eff6ff;
        color: #0f172a;
        text-decoration: none;
        transform: translateY(-1px);
    }

.quick-search-icon {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.quick-search-body {
    min-width: 0;
    flex: 1;
}

.quick-search-title {
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.quick-search-desc {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.35;
}

.quick-search-parent {
    color: #64748b;
    font-size: 0.82rem;
    margin-top: 0.25rem;
}

.quick-search-badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 700;
    vertical-align: middle;
}

.quick-search-item-web .quick-search-badge {
    background: #dcfce7;
    color: #166534;
}

.quick-search-empty,
.quick-search-loading {
    padding: 1rem;
    color: #64748b;
}

.quick-search-footer {
    border-top: 1px solid #eef2f7;
    padding: 0.75rem 1.15rem;
    color: #64748b;
    font-size: 0.85rem;
    background: #f8fafc;
}

@media (max-width: 575px) {
    .quick-search-bubble {
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        top: 5rem;
    }

    .quick-search-results {
        max-height: 65vh;
    }
}

/* === STRÁNKA VYHĽADÁVANIA === */
.search-results-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.search-results-list {
    display: grid;
    gap: 0.85rem;
}

.search-result-item {
    display: flex;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: #0f172a;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

    .search-result-item:hover {
        transform: translateY(-2px);
        border-color: #bfdbfe;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
        color: #0f172a;
        text-decoration: none;
    }

.search-result-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.85rem;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.search-result-body {
    min-width: 0;
    flex: 1;
}

.search-result-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.search-result-desc {
    color: #475569;
    line-height: 1.45;
}

.search-result-meta {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.search-result-badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 700;
    vertical-align: middle;
}

.search-result-web .search-result-badge {
    background: #dcfce7;
    color: #166534;
}
.web-screenshot-card-small {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .web-screenshot-card-small:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
        text-decoration: none;
    }

.web-screenshot-browser-small {
    height: 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #e5e7eb 100%);
    border-bottom: 1px solid #dbe3ef;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
}

.web-screenshot-dot-small {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
}

.web-screenshot-image-wrap-small {
    background: #ffffff;
    width: 100%;
    overflow: hidden;
}

.web-screenshot-image-small {
    width: 100%;
    height: auto;
    display: block;
}

.llmo-score-widget {
    min-height: 80px;
}

.web-detail-section .llmo-score-widget {
    margin-top: 0.5rem;
}

.web-detail-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.smart-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.smart-status-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #f8fafc;
    border-radius: 0.85rem;
    padding: 0.9rem;
}

.smart-status-icon {
    font-size: 1.35rem;
}

.trust-signal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.trust-signal {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 0.92rem;
}

    .trust-signal small {
        display: block;
        font-size: 0.78rem;
        opacity: 0.75;
    }

.trust-signal-positive {
    background: #dcfce7;
    color: #166534;
}

.trust-signal-warning {
    background: #fef3c7;
    color: #92400e;
}

.contact-list {
    display: grid;
    gap: 0.75rem;
}

.contact-item {
    background: #f8fafc;
    border-radius: 0.85rem;
    padding: 0.85rem;
}

.contact-type {
    font-weight: 700;
    color: #334155;
}

.contact-value {
    font-size: 1rem;
    margin-top: 0.15rem;
    word-break: break-word;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.tech-stack-item {
    background: #f8fafc;
    border-radius: 0.85rem;
    padding: 0.9rem;
}

.tech-stack-type {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tech-stack-name {
    font-weight: 800;
    margin-top: 0.15rem;
}

.tech-stack-value {
    color: #475569;
    font-size: 0.92rem;
}

@media (max-width: 767px) {
    .smart-status-grid,
    .tech-stack-grid {
        grid-template-columns: 1fr;
    }
}

.smart-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.smart-status-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    background: #f8fafc;
    border-radius: 0.85rem;
    padding: 1rem;
    min-height: 92px;
}

.smart-status-icon {
    font-size: 1.35rem;
    line-height: 1;
    flex: 0 0 auto;
}

.trust-signal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trust-signal {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
}

    .trust-signal small {
        display: block;
        font-size: 0.8rem;
        margin-top: 0.15rem;
        opacity: 0.8;
    }

.trust-signal-positive {
    background: #dcfce7;
    color: #166534;
}

.trust-signal-warning {
    background: #fef3c7;
    color: #92400e;
}

@media (max-width: 991.98px) {
    .smart-status-grid {
        grid-template-columns: 1fr;
    }
}