/* Testimony Recording - Modern Frontend Styles (works with Tailwind CDN) */

#tr-testimony-root {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Nice focus states */
#tr-testimony-root input:focus,
#tr-testimony-root textarea:focus,
#tr-testimony-root button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
    border-color: #0ea5e9;
}

/* Large modern buttons feel */
#tr-choice-buttons button {
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.1s cubic-bezier(0.4, 0.0, 0.2, 1);
}

#tr-choice-buttons button:active {
    transform: scale(0.985);
}

/* Dropzone nice hover */
#tr-dropzone.dragover {
    background-color: #f0f9ff;
    border-color: #0ea5e9;
}

/* Video preview polish */
#tr-preview-video,
#tr-camera-preview {
    background: #111827;
}

/* Recording timer */
#tr-timer {
    font-feature-settings: "tnum";
}

/* Success / Thank you polish */
#tr-step-thankyou {
    animation: trFadeInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes trFadeInScale {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Responsive tweaks */
@media (max-width: 640px) {
    #tr-testimony-root .prose {
        font-size: 14.5px;
    }
}