.widget {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.15);
    cursor: grab;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(0.5rem);
    text-align: center;
    overflow-y: auto;
    width: 10rem;
    height: 5rem;
    background-color: rgba(255, 255, 255, 0.05);

    -webkit-user-select: none;
    -ms-user-select: none; 
    user-select: none; 
}

.widget:hover {
    border-color: var(--widget-border-hover-color, rgba(0, 0, 0, 0.3));
}

.widget::-webkit-scrollbar {
    display: none;
}

.widget-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 2*min(5%, 1rem));
    padding-top: 0.1rem;
    padding-bottom: 0.25rem;
    z-index: 5;
}

.widget-header-button {
    background-color: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-self: center;
}

.widget-header-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.widget-content {
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.widget-content, .widget-content * {
    color: inherit;
}

.hidden-scrollbar {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hidden-scrollbar::-webkit-scrollbar {
    display: none;
}

input, select, button, a {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: calc(var(--radius) / 1.25);
    color: inherit;
}

a {
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
    white-space: normal;
}

button {
    border: none;
}

button:hover, a:hover {
    background: rgba(255,255,255,0.225);
}

a:hover {
    font-weight: bold;
}