/* Additional custom styles beyond Tailwind */

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Smooth transitions */
#app > div {
    transition: opacity 0.3s ease-in-out;
}

/* Video element styling */
video {
    display: block;
    background-color: #000;
}

/* Recording animation */
@keyframes pulse-red {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse-red {
    animation: pulse-red 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    button {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }
}

/* Focus states for accessibility */
button:focus,
textarea:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading skeleton animation */
@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.animate-pulse {
    animation: skeleton-loading 1.5s ease-in-out infinite;
}
