.tabs.tabs-boxed {
    background: hsl(var(--b2));
    padding: 0.5rem;
    border-radius: 1rem;
    gap: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.tabs.tabs-boxed::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tabs.tabs-boxed .tab {
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-weight: 600; /* Make text bolder */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.5rem;
    color: hsl(var(--bc));
    background: hsl(var(--b1));
    text-shadow: 0 1px 1px rgba(0,0,0,0.1); /* Add slight text shadow for better contrast */
}

.tabs.tabs-boxed .tab span {
    font-size: 1.2rem;
    line-height: 1;
}

.tabs.tabs-boxed .tab:hover {
    background: hsl(var(--p));
    color: hsl(var(--pc));
    transform: translateY(-1px);
}

.tabs.tabs-boxed .tab-active {
    background: hsl(var(--p)) !important;
    color: hsl(var(--pc)) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-weight: 700;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

/* Add styles for QR code container */
#qr-result {
    padding: 1rem !important;
    background: white;
    border-radius: 0.5rem;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#qr-result svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 300px; /* Or your desired size */
}
