/* © 2026 TossTime.nl - alle rechten voorbehouden */
/* TossTime Logo Animatie */
.tosstime-logo {
    width: 48px;
    height: 48px;
    animation: spinStart 2.5s ease-out forwards;
    cursor: pointer;
    display: inline-block;
}

.tosstime-logo:hover,
.tosstime-logo:active {
    animation: spinHover 1.2s linear infinite;
}

@keyframes spinStart {
    0% {
        transform: rotate(0deg);
    }
    80% {
        transform: rotate(720deg);
    }
    100% {
        transform: rotate(725deg);
    }
}

@keyframes spinHover {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Help article content formatting (when Tailwind prose isn't available) */
.help-article-content p {
    margin: 0 0 0.75rem;
}

.help-article-content ul,
.help-article-content ol {
    margin: 0 0 0.75rem;
    padding-left: 1.5rem;
}

.help-article-content ul {
    list-style: disc;
}

.help-article-content ol {
    list-style: decimal;
}

.help-article-content li {
    margin: 0.25rem 0;
}

.help-article-content a {
    color: #2563eb;
    text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
    .help-article-content a {
        color: #93c5fd;
    }
    .help-article-content a:hover {
        color: #bfdbfe;
    }
    .help-article-content strong {
        color: inherit;
    }
    .help-article-content code,
    .help-article-content pre {
        background: #1f2937;
        color: #e5e7eb;
    }
    .help-article-content pre {
        padding: 0.75rem 1rem;
        border-radius: 0.375rem;
        overflow-x: auto;
    }
}

.help-icon {
    color: #16a34a;
    font-weight: 600;
}

.help-icon:hover {
    color: #15803d;
}

.help-icon svg {
    stroke-width: 2.25;
}

.help-category-title::before,
.help-category-title::marker {
    content: none;
}

.help-article-content {
    line-height: 1.6;
}


@media (max-width: 640px) {
    .help-article-content p {
        margin: 0 0 1rem;
    }

    .help-article-content br {
        display: block;
        margin: 0 0 0.75rem;
    }

    .help-article-content li {
        margin: 0.35rem 0;
    }
}

/* Error pages: push card down from header */
.error-page-card {
    margin-top: 3rem;
}

/* Sessie-detail: minimale gap tussen waarschuwing en Sessie Informatie.
   Overschrijft eventuele Tailwind/Driver.js/andere margin. */
#demo-tour-session-detail-header {
    margin-bottom: 0.25rem !important;
    padding-bottom: 0 !important;
}
#session-detail-first-card {
    margin-top: 0.25rem !important;
}

/* ============================================================================
   Driver.js Demo Tour – TossTime theming
   ============================================================================ */
.driver-popover-tosstime {
    background: #1f2937 !important;
    color: #f3f4f6 !important;
    border-radius: 0.75rem !important;
    animation: driver-popover-fade-in 0.3s ease-out;
}

.driver-popover-tosstime .driver-popover-title {
    color: #fff !important;
    font-weight: 600 !important;
}

.driver-popover-tosstime .driver-popover-description {
    color: #d1d5db !important;
}

.driver-popover-tosstime .driver-popover-footer {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
    margin-top: 1rem !important;
}

.driver-popover-tosstime .driver-popover-navigation-btns {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.driver-popover-tosstime .driver-popover-prev-btn,
.driver-popover-tosstime .driver-popover-next-btn,
.driver-popover-tosstime .driver-popover-close-btn {
    background: #374151 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0.5rem !important;
    margin: 0 !important;
}

.driver-popover-tosstime .driver-popover-prev-btn:hover,
.driver-popover-tosstime .driver-popover-next-btn:hover {
    background: #4b5563 !important;
}

.driver-popover-tosstime .driver-popover-next-btn {
    background: #2563eb !important;
}

.driver-popover-tosstime .driver-popover-next-btn:hover {
    background: #1d4ed8 !important;
}

.driver-popover-tosstime .driver-popover-progress-text {
    color: #9ca3af !important;
}

@keyframes driver-popover-fade-in {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Globaal: <x-beta-banner /> — zelfde beeld als landing .beta-banner (amber + wit) */
.public-beta-banner {
    background: #f59e0b;
    color: #fff;
    padding: 8px 1.25rem;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
}

.public-beta-banner strong {
    font-weight: 700;
    color: #fff;
}

.public-beta-banner__link,
.public-beta-banner a.public-beta-banner__link {
    text-decoration: underline;
    color: #fff;
    font-weight: 600;
}

.public-beta-banner__link:hover,
.public-beta-banner a.public-beta-banner__link:hover {
    color: #fffbeb;
}

@media (prefers-color-scheme: dark) {
    .public-beta-banner {
        background: #d97706;
        color: #fff;
    }

    .public-beta-banner strong {
        color: #fff;
    }

    .public-beta-banner__link,
    .public-beta-banner a.public-beta-banner__link {
        color: #fff;
    }
}
