/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Category Buttons */
.category-btn {
    background-color: #e2e8f0;
    color: #4a5568;
    font-weight: 500;
}

.category-btn:hover {
    background-color: #cbd5e0;
    transform: translateY(-1px);
}

.category-btn.active {
    background-color: #3b82f6;
    color: white;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

/* Table Styles */
table {
    width: 100%;
}

tbody tr:hover {
    background-color: #f8fafc;
}

td, th {
    padding: 0.75rem 1rem;
}

tbody tr {
    transition: background-color 0.2s ease;
}

/* Input and Select Styles */
input[type="number"], select {
    font-size: 1rem;
}

/* Button Styles */
#convert-btn {
    font-size: 1rem;
    transition: all 0.2s ease;
}

#convert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

#convert-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .category-btn {
        flex-shrink: 0;
    }
}
    