/* Custom styles for CZK to EUR Converter */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Custom input styling */
#czkInput:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Custom button hover effects */
button {
    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* History item styling */
.history-item {
    transition: all 0.2s ease;
    padding: 12px;
    border-radius: 8px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
}

.history-item:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

/* Loading spinner custom styling */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Error message styling */
#error-message {
    animation: fadeIn 0.3s ease-out;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .bg-white {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.75rem;
    }
}

/* Custom focus styles for accessibility */
*:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}