/* codiafy.cz / codiafy.eu only. The shared design lives in Codiafy.UI (_content/Codiafy.UI/css/codiafy.css). */

/* repair panel */
.cx-state { position: relative; width: 20px; height: 20px; }
.cx-state__open { position: absolute; inset: 4px; border-radius: 50%; border: 2px solid var(--cx-accent-bright); }
.cx-state__done { position: absolute !important; inset: 0; color: #6FD6A1; opacity: 0; }
.cx-tag { position: relative; min-width: 6.5em; text-align: right; }
.cx-tag__open { color: var(--cx-accent-bright); }
.cx-tag__done { position: absolute; right: 0; color: #6FD6A1; opacity: 0; }
.cx-panel__list li { --t: calc(var(--i) * 0.9s); }
.cx-state__open, .cx-tag__open { animation: cx-fade-out 9s var(--t) infinite both; }
.cx-state__done, .cx-tag__done { animation: cx-fade-in 9s var(--t) infinite both; }
@keyframes cx-fade-out { 0%, 15% { opacity: 1; } 22%, 85% { opacity: 0; } 95%, 100% { opacity: 1; } }
@keyframes cx-fade-in { 0%, 15% { opacity: 0; } 22%, 85% { opacity: 1; } 95%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cx-state__open, .cx-tag__open { animation: none; opacity: 0; }
  .cx-state__done, .cx-tag__done { animation: none; opacity: 1; }
}

/* services */
.cx-ai-band { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; padding: 1.5rem 0 0; }
.cx-ai-band p { margin: 0; color: var(--cx-ink-soft); }

/* quick fix */
.cx-price { border: 1px solid #3A5B85; padding: 2rem; border-radius: var(--cx-radius); }
.cx-price__amount { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
.cx-price__vat { font-size: 1rem; font-weight: 500; color: #C3CFE0; margin: .25rem 0 1.25rem; }
.cx-price__facts { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.cx-price__facts li { padding: .6rem 0; border-top: 1px solid #3A5B85; }
.cx-price--inline { background: var(--cx-ink); color: var(--cx-paper); display: inline-block; max-width: 30rem; }
.cx-price--inline .cx-price__vat { display: inline; margin: 0 0 0 .5rem; }

/* faq */
.cx-faq { margin-top: 2rem; background: transparent !important; }
.cx-faq .mud-expand-panel { background: transparent !important; border-bottom: 1px solid var(--cx-line); }
.cx-faq .mud-expand-panel-header { padding: 1.1rem 0; font-weight: 600; }
.cx-faq .mud-expand-panel-content { padding: 0 0 1rem; color: var(--cx-ink-soft); }

.cx-mail { color: var(--cx-accent-bright) !important; font-size: 1.2rem; font-weight: 600; }

@media (max-width: 600px) {
  .cx-ai-band .cx-btn { width: auto; }
}
