/*
Theme Name: INOVAD Theme
Author: Lukáš Čermák
Description: Vlastní šablona pro projekt INOVAD.
Version: 2.1.0
Text Domain: inovad-theme
*/

/* Styly pro INOVAD Chat Widget */
#chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

#chat-button {
    background-color: #D97706;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s ease-in-out;
}

#chat-button:hover {
    transform: scale(1.1);
}

#chat-window {
    position: absolute;
    bottom: calc(100% + 1rem); /* Pozice relativně k tlačítku */
    right: 0;
    width: 450px; /* Nová šířka (zvětšeno z 350px) */
    height: 600px; /* Nová výška (zvětšeno z 500px) */
    max-width: calc(100vw - 4rem); /* Omezení, aby nepřesahovalo obrazovku na mobilu */
    max-height: calc(100vh - 8rem); /* Omezení, aby nepřesahovalo obrazovku na mobilu */
    background: white;
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3); /* Mírně větší stín */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, visibility 0.2s;
    transform-origin: bottom right;
}

#chat-window.visible {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

#chat-messages {
    scrollbar-width: thin;
    scrollbar-color: #D97706 #F3F4F6;
    /* Můžeme mírně zvětšit písmo pro zprávy */
    font-size: 0.95rem; /* Zkus tuto hodnotu, případně uprav (původně nebyla definována zde) */
    line-height: 1.5; /* Mírně větší řádkování pro čitelnost */
}

#chat-messages::-webkit-scrollbar {
    width: 8px;
}
#chat-messages::-webkit-scrollbar-track {
    background: #F3F4F6;
}
#chat-messages::-webkit-scrollbar-thumb {
    background-color: #D97706;
    border-radius: 10px;
    border: 2px solid #F3F4F6;
}

.chat-message {
    padding: 8px 14px;
    border-radius: 18px;
    margin-bottom: 8px;
    max-width: 85%;
    word-wrap: break-word;
    line-height: 1.4;
}

.user-message {
    background-color: #FEF3C7;
    align-self: flex-end;
    color: #78350f;
}

.assistant-message {
    background-color: #F3F4F6;
    align-self: flex-start;
    color: #374151;
}

header nav a {
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

header nav a:hover {
    color: #d97706;
}

#mobile-menu {
    transition: all 0.3s ease-in-out;
}

.badge {
    display: inline-block;
    padding: .25rem .5rem;
    font-size: .85rem;
    font-weight: 600;
    border-radius: 9999px;
    line-height: 1;
    border: 1px solid #e5e7eb;
    background: #fff;
}
.badge--rodic {
    background: #fff7ed;
    border-color: #fdba74;
    color: #7c2d12;
}
.badge--akademik {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}
.badge--vizionar {
    background: #ecfeff;
    border-color: #a5f3fc;
    color: #155e75;
}

.btn {
    display: inline-block;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    background-color: #6B7280;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}
.btn:hover {
    background-color: #4B5563;
}
.btn-primary {
    background-color: #D97706;
}
.btn-primary:hover {
    background-color: #b45309;
}

.muted {
    color: #6b7280;
    font-size: 0.9rem;
}

:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    background: #111;
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 6px;
    z-index: 1000;
}

.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.trust-item .icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #f59e0b;
    margin-bottom: 0.75rem;
}
.trust-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}
.trust-item p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
    margin-top: 0.25rem;
}

.data-flow {
    padding: 1.5rem;
    margin: 2rem 0;
    background-color: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
}
.data-flow__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}
.data-flow .flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.data-flow .flow-item {
    flex-shrink: 0;
}
.data-flow .step {
    font-weight: 600;
    display: block;
}
.data-flow .desc {
    font-size: 0.8rem;
    color: #6b7280;
}
.data-flow .arrow {
    font-size: 1.5rem;
    color: #9ca3af;
}
.data-flow .note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-style: italic;
    color: #4b5563;
}
@media (max-width: 768px) {
    .data-flow .flow {
        flex-direction: column;
    }
    .data-flow .arrow {
        transform: rotate(90deg);
    }
}
/* -- Timeline -- */
.timeline {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    border-left: 3px solid #e5e7eb;
}
.timeline-item {
    position: relative;
    padding: 0 0 2rem 2rem;
    margin-left: 1rem;
}
.timeline-item:last-child {
    padding-bottom: 0;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -0.6rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    background-color: #9ca3af; /* Gray 400 */
    border: 3px solid #f9fafb;
}
.timeline-item.done::before {
    background-color: #16a34a; /* Green 600 */
}
.timeline-item.doing::before {
    background-color: #f59e0b; /* Amber 500 */
}
.timeline-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}
.timeline-item p {
    margin-top: 0.5rem;
    color: #4b5563;
}
/* -- Styly pro štítky Evidence TIER (v. 2.0) -- */
.tier {
    display: inline-block;
    padding: .15rem .45rem;
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
    border: 1px solid;
}
.tier-i { background-color: #dbeafe; border-color: #93c5fd; color: #1e40af; }
.tier-ii { background-color: #f0fdf4; border-color: #86efac; color: #15803d; }
.tier-iii { background-color: #fefce8; border-color: #facc15; color: #854d0e; }
.tier-iv { background-color: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.tier-i-ii { background: linear-gradient(90deg, #dbeafe 50%, #f0fdf4 50%); border-color: #a5b4fc; color: #374151; }
.tier-ii-iii { background: linear-gradient(90deg, #f0fdf4 50%, #fefce8 50%); border-color: #a7f3d0; color: #374151; }

/* -- Zarovnání štítku a názvu intervence -- */
.intervention-item-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.intervention-item-wrapper .tier {
    flex-shrink: 0;
}
.intervention-item-wrapper a {
    line-height: 1.2;
}

/* -- Vizuální předěl sekcí -- */
.section-divider {
    max-width: 100px;
    height: 4px;
    background-color: #f59e0b; /* Amber 500 */
    margin: 4rem auto;
    border-radius: 2px;
}

/* -- ÚPRAVA: Zvýraznění "Happy Paths" -- */
.happy-paths .hp {
    display: block;
    padding: 2rem; /* Zvětšeno z 1.5rem */
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}
.happy-paths .hp:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.happy-paths .hp-ico {
    font-size: 2.5rem; /* Zvětšeno z 2rem */
    line-height: 1;
    margin-bottom: 1rem; /* Zvětšeno z 0.75rem */
}
.happy-paths .hp strong {
    display: block;
    margin: .25rem 0;
    font-size: 1.25rem; /* Zvětšeno z 1.125rem */
    color: #1f2937;
}
.happy-paths .hp span {
    font-size: 1rem; /* Zvětšeno z 0.9rem */
    color: #4b5563;
}
/* ==========================================================================
   Nové styly pro stránku Metodologie (template-methodology.php)
   ========================================================================== */

/* --- Blok 3: Kroky výzkumu (Karty) --- */

.step-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb; /* border-gray-200 */
    border-radius: 0.75rem; /* rounded-lg */
    padding: 2rem; /* p-8 */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    display: flex;
    flex-direction: column;
    height: 100%; /* Důležité pro sjednocení výšky v gridu */
}

.step-card .step-icon {
    width: 3.5rem; /* w-14 */
    height: 3.5rem; /* h-14 */
    background-color: #FEF3C7; /* bg-amber-100 */
    border-radius: 9999px; /* rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem; /* mb-5 */
    flex-shrink: 0;
}

.step-card h3 {
    color: #1f2937; /* text-gray-900 */
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    margin-bottom: 0.75rem; /* mb-3 */
}

.step-card p,
.step-card ul li {
    color: #4b5563; /* text-gray-600 */
    line-height: 1.6;
}

/* Odrážky se symbolem check */
.list-check {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* space-y-3 */
}

.list-check li {
    position: relative;
    padding-left: 2rem; /* Odsazení pro ikonu */
    font-size: 0.95rem; /* Mírně menší text v seznamu */
}

.list-check li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 3px;
    color: #16a34a; /* text-green-600 */
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1;
}

.list-check li strong {
    color: #1f2937; /* text-gray-900 */
    display: block;
    margin-bottom: 2px;
}


/* --- Blok 4: Etický kodex (Accordion) --- */

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* mezera mezi položkami */
}

.accordion-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb; /* border-gray-200 */
    border-radius: 0.75rem; /* rounded-lg */
    overflow: hidden; /* Důležité pro animaci max-height */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07); /* shadow-md */
}

.accordion-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: left;
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #1f2937; /* text-gray-900 */
    transition: background-color 0.2s ease;
}

.accordion-trigger:hover {
    background-color: #f9fafb; /* bg-gray-50 */
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* mezera mezi ikonou a textem */
}

.accordion-trigger .chevron {
    flex-shrink: 0; /* Zabrání zmenšení ikony */
    transition: transform 0.3s ease;
}

.accordion-trigger.is-open .chevron {
    transform: rotate(180deg);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out; /* Mírně pomalejší animace */
    border-top: 1px solid #f3f4f6; /* Světlejší oddělovač */
    background-color: #fafafa; /* Mírně odliší pozadí obsahu */
}

/* Třída .is-open se nepoužívá, JS nastavuje style.maxHeight přímo */
.accordion-panel[aria-hidden="false"] {
    /* Tento styl se aplikuje, když je panel otevřen přes JS */
    padding: 1.5rem;
    padding-top: 1rem;
}

.accordion-panel h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827; /* text-gray-900 */
    margin-bottom: 0.75rem; /* mb-3 */
}

.accordion-panel p,
.accordion-panel ul li {
    color: #4b5563; /* text-gray-600 */
    line-height: 1.6;
}

/* Styl pro vnořený box s informovaným souhlasem */
.consent-text-box {
    padding: 1rem; 
    border: 1px solid #d1d5db; /* border-gray-300 */
    border-radius: 8px; 
    margin-top: 1rem; 
    background: #ffffff;
    font-size: 0.875rem; /* text-sm */
    color: #374151; /* text-gray-700 */
    max-height: 300px; /* Omezení výšky */
    overflow-y: auto; /* Přidá scrollbar, pokud je text příliš dlouhý */
}
/* ==========================================================================
   STYLY PRO KREATIVNÍ PLÁNOVAČ (v2)
   ========================================================================== */

/* --- Základní Kontejner a Pohledy --- */
#planner-app {
    position: relative;
    min-height: 500px;
}

.planner-app-view {
    width: 100%;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 1. Vstupní Brána (Správa Profilů) --- */
.profile-card-wrapper {
    transition: all 0.2s ease-in-out;
    border: 1px solid #e5e7eb; /* border-gray-200 */
}
.profile-card-wrapper:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-color: #d1d5db; /* border-gray-300 */
}

/* Malá tlačítka pro správu profilů */
.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem; /* text-sm */
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.btn-sm.btn-primary {
    background-color: #D97706; /* bg-amber-600 */
    color: white;
}
.btn-sm.btn-primary:hover {
    background-color: #b45309; /* hover:bg-amber-700 */
}
.btn-sm.btn-edit {
    background-color: #F3F4F6; /* bg-gray-100 */
    color: #374151; /* text-gray-700 */
    border-color: #D1D5DB; /* border-gray-300 */
}
.btn-sm.btn-edit:hover {
    background-color: #E5E7EB; /* bg-gray-200 */
}
.btn-sm.btn-delete {
    background-color: transparent;
    color: #DC2626; /* text-red-600 */
}
.btn-sm.btn-delete:hover {
    background-color: #FEF2F2; /* bg-red-50 */
    color: #B91C1C; /* text-red-700 */
}


/* --- 2. Průvodce (Wizard) --- */
.wizard-title {
    font-size: 1.75rem; /* text-2xl */
    md:font-size: 2.25rem; /* md:text-3xl */
    font-weight: 700;
    color: #1f2937; /* text-gray-900 */
    text-align: center;
}

.wizard-subtitle {
    font-size: 1.125rem; /* text-lg */
    color: #4b5563; /* text-gray-600 */
    text-align: center;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wizard-step {
    background-color: #ffffff;
    padding: 2rem;
    border: 1px solid #e5e7eb; /* border-gray-200 */
    border-radius: 0.75rem; /* rounded-lg */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151; /* text-gray-700 */
}

.form-input {
    width: 100%;
    border: 1px solid #D1D5DB; /* border-gray-300 */
    border-radius: 0.5rem; /* rounded-md */
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
    border-color: #D97706; /* border-amber-600 */
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.3); /* ring-amber-500/30 */
    outline: none;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

/* Styl pro "Emoční teploměr" a výběr (Radio ikony) */
.radio-icon-group .form-radio-icon {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.radio-icon-group .form-radio-icon-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem; /* ZMĚNA: Sjednoceno odsazení z "1rem 0.5rem" */
    border: 2px solid #E5E7EB; /* border-gray-200 */
    border-radius: 0.75rem; /* rounded-xl */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: #F9FAFB; /* bg-gray-50 */
    color: #4B5563; /* text-gray-600 */
    font-weight: 600;
    text-align: center;
    height: 100%;
}

.radio-icon-group .form-radio-icon-label svg {
    margin-bottom: 0.5rem;
}
.radio-icon-group .form-radio-icon-label span {
    font-size: 0.875rem; /* text-sm */
    line-height: 1.2;
}
.radio-icon-group .form-radio-icon-label div {
    font-size: 2rem; /* Ikona */
}

.radio-icon-group .form-radio-icon:checked + .form-radio-icon-label {
    background-color: #FFFBEB; /* bg-amber-50 */
    border-color: #D97706; /* border-amber-600 */
    color: #92400E; /* text-amber-900 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* shadow-md */
    transform: translateY(-2px);
}

.radio-icon-group .form-radio-icon:focus-visible + .form-radio-icon-label {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

/* Styl pro "Rodičovskou řeč" (Checkbox) */
.checkbox-label-large {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 2px solid #E5E7EB; /* border-gray-200 */
    border-radius: 0.75rem; /* rounded-xl */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: #F9FAFB; /* bg-gray-50 */
    font-weight: 600;
}
.checkbox-label-large input[type="checkbox"] {
    height: 1.25rem;
    width: 1.25rem;
    margin-right: 0.75rem;
    border-color: #9CA3AF; /* border-gray-400 */
    color: #D97706; /* text-amber-600 */
    border-radius: 4px;
}
.checkbox-label-large input[type="checkbox"]:focus {
    box-shadow: none;
    outline: 2px solid #2563eb;
}
.checkbox-label-large:has(input:checked) {
    background-color: #FFFBEB; /* bg-amber-50 */
    border-color: #D97706; /* border-amber-600 */
    color: #92400E; /* text-amber-900 */
}

/* Styl pro shrnutí */
.summary-blockquote {
    background-color: #F3F4F6; /* bg-gray-100 */
    border-left: 4px solid #D97706; /* border-amber-600 */
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #374151; /* text-gray-700 */
    line-height: 1.6;
}

/* --- 3. Načítání --- */
.loading-spinner {
    display: inline-block;
    width: 4rem; /* w-16 */
    height: 4rem; /* h-16 */
    border: 4px solid #FDBA74; /* border-amber-300 */
    border-top-color: #D97706; /* border-t-amber-600 */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- 4. Výsledky --- */
.activity-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb; /* border-gray-200 */
    border-radius: 0.75rem; /* rounded-lg */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    overflow: hidden;
}
.activity-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #F9FAFB; /* bg-gray-50 */
}
.activity-phase-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #FEF3C7; /* bg-amber-100 */
    color: #92400E; /* text-amber-800 */
    border: 1px solid #FDE68A; /* border-amber-200 */
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.activity-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700;
    color: #1f2937; /* text-gray-900 */
}
.activity-body {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.activity-popis {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #374151; /* text-gray-700 */
}
.activity-popis p { margin-bottom: 1em; }

.fokus-box {
    background-color: #EBF8FF; /* bg-blue-50 */
    border: 1px solid #BEE3F8; /* border-blue-200 */
    border-radius: 0.5rem;
    padding: 1rem;
}
.fokus-title {
    font-weight: 600;
    color: #2C5282; /* text-blue-800 */
    margin-bottom: 0.5rem;
}
.fokus-content {
    color: #2A4365; /* text-blue-700 */
}
.fokus-content p { margin: 0; }

.varianty-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 0.875rem;
}
.varianty-title {
    font-weight: 600;
    color: #4B5563; /* text-gray-600 */
    margin-bottom: 0.25rem;
}
.varianty-content {
    color: #374151; /* text-gray-700 */
}
.varianty-content p { margin: 0; }

.activity-footer {
    background-color: #F9FAFB; /* bg-gray-50 */
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}
.pomucky-title {
    font-weight: 600;
    color: #4B5563; /* text-gray-600 */
}
.pomucky-list {
    color: #374151; /* text-gray-700 */
}
.feedback-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6B7280; /* text-gray-500 */
}
.feedback-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    opacity: 0.7;
    transition: transform 0.1s, opacity 0.1s;
}
.feedback-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}

.results-action-bar {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* --- 5. Oblíbené --- */
.favorite-card {
    transition: all 0.2s ease-in-out;
}
.favorite-card:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-color: #d1d5db;
}

/* --- TISKOVÉ STYLY --- */
@media print {
    body {
        background-color: #fff;
        color: #000;
    }
    header, footer, #chat-widget, #wpadminbar {
        display: none !important;
    }
    #page {
        min-height: 0;
    }
    #main {
        padding: 0;
        margin: 0;
    }
    .planner-app-view {
        display: none !important;
    }
    #results-view {
        display: block !important;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
    }
    .activity-card {
        border: 1px solid #ccc;
        box-shadow: none;
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
    #results-view h2,
    .results-action-bar {
        display: none;
    }
    .fokus-box, .varianty-box {
        background-color: #f4f4f4;
        border: 1px solid #ddd;
    }
    .activity-phase-badge {
        background-color: #eee;
        color: #000;
        border: 1px solid #ccc;
    }
    .activity-footer {
        display: none;
    }
}
/* --- Styly pro navigaci a tlačítka Plánovače (v2.2) --- */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap; /* Pro lepší zobrazení na mobilu */
}

.btn-link {
    font-size: 0.875rem; /* text-sm */
    color: #D97706; /* text-amber-600 */
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.5rem; /* Přidáno pro lepší klikatelnost */
}
.btn-link:hover {
    color: #92400E; /* text-amber-800 */
    text-decoration: underline;
}

/* Vycentruje "Zobrazit plány", pokud je mezi "Zpět" a "Pokračovat" */
.wizard-nav .btn-link {
    margin: 0 auto;
}

/* Na mobilu dáme "Zobrazit plány" na samostatný řádek */
@media (max-width: 480px) {
    .wizard-nav .btn-link {
        width: 100%;
        text-align: center;
        margin: 0.75rem 0 0 0; /* Odsazení shora */
        order: 3; /* Dáme ho na konec */
    }
    .wizard-nav .btn-primary,
    .wizard-nav .btn-secondary {
        flex-grow: 1; /* Tlačítka Zpět/Vpřed zaberou celou šířku */
    }
}

/* Skryje "Pokračovat", pokud se ukládá profil */
#wizard-view[data-step="1"] #wizard-next-btn:not([style*="none"]) + #wizard-save-profile-btn {
    display: none;
}

/* --- INOVAD ANALYTIC PORTAL V2 --- */
.bg-inovad-portal {
    background-color: #0f172a;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(35,92%,42%,0.15) 0, transparent 50%);
    background-attachment: fixed;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: #D97706; /* Amber barva */
    transform: translateY(-8px);
}

.card-teaser {
    opacity: 0;
    max-height: 0;
    transition: all 0.5s ease;
    overflow: hidden;
}

.glass-card:hover .card-teaser {
    opacity: 1;
    max-height: 200px;
    margin-top: 1.25rem;
}