/* Custom styles that can't be handled by Tailwind */
#preview-frame {
    background-color: white;
}

#html-code {
    font-family: 'Courier New', Courier, monospace;
    max-height: 300px;
}

/* Animation for the copy button */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.copied {
    animation: pulse 0.5s ease-in-out;
    background-color: #059669 !important;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}