/* Enhanced styles to complement Tailwind */
.app-container {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.app-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.gradient-text {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#jsonOutput {
    font-family: 'JetBrains Mono', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Monaco, 'Courier New', monospace;
    font-size: 13px;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
    tab-size: 2;
    background-image: linear-gradient(to bottom, #1a1e2d, #1f2937);
    border: 1px solid #374151;
}

#jsonOutput::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

#jsonOutput::-webkit-scrollbar-track {
    background: #1f2937;
    border-radius: 8px;
}

#jsonOutput::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 8px;
    border: 3px solid #1f2937;
}

#jsonOutput::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Animations */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fade-in 0.4s ease-out forwards;
}

/* Form element enhancements */
textarea:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

button {
    backface-visibility: hidden;
}

button:active {
    transform: scale(0.98) !important;
}

/* Status message styling */
#statusMsg {
    transition: all 0.3s ease;
}

#statusMsg:not(:empty) {
    animation: fade-in 0.3s ease-out forwards;
}

/* Error message enhancement */
#error {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    padding: 0.75rem;
    border-radius: 0.5rem;
    animation: fade-in 0.3s ease-out forwards;
}

/* Responsive design */
@media (max-width: 640px) {
    .app-container {
        margin: 0.75rem;
        padding: 1.25rem;
        border-radius: 0.75rem;
    }
    
    #jsonOutput {
        font-size: 12px;
        padding: 1rem;
    }
    
    .gradient-text {
        font-size: 1.5rem;
    }
    
    button {
        padding: 0.625rem !important;
    }
    
    .mt-8 {
        margin-top: 1.5rem;
    }
}