/* 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;
}

.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;
}

/* ============================================================================
   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);
    }
}
