
/* Apply a smooth background gradient to the body */
body {
    background-color: #f8fafc; /* bg-slate-50 */
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* Custom style for the file drop area when a file is being dragged over */
.drag-over {
    border-color: #4f46e5; /* indigo-600 */
    background-color: #eef2ff; /* indigo-50 */
}

/* A simple fade-in animation for results */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Styling for the key-value pairs in the results card */
.result-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0; /* slate-200 */
    display: flex;
    flex-direction: column;
    sm:flex-direction: row; /* On small screens and up */
    justify-content: space-between;
    gap: 0.5rem;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item-key {
    font-weight: 500;
    color: #475569; /* slate-600 */
    flex-shrink: 0;
}

.result-item-value {
    color: #1e293b; /* slate-800 */
    text-align: left;
    sm:text-align: right; /* On small screens and up */
}
