/* Main UI */
#dui_container {
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interact_ui {
    height: fit-content;
    min-width: fit-content;
    max-width: 20vw;
    background: var(--background_panel);
    color: var(--text_primary);
    border-radius: var(--border_radius_outer);
    font-size: 1rem;
    border: var(--border_dark);
    box-shadow: var(--shadow_soft);
    pointer-events: none;
    font-family: var(--text_font);
    padding: 1vh;
}

/* Header */
.interact_header {
    display: flex;
    align-items: center;
    gap: 1vh;
    width: 100%;
    text-transform: uppercase;
    position: relative;
    padding-left: 0.2vh;
    padding-bottom: 0.5vh;
}

.header_text {
    padding-right: 2vw;
    font-size: 1.2rem;
}

.interact_header i {
    font-size: 1rem;
}

.dui_image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Interaction Keys */
.keys_container {
    display: grid;
    grid-template-columns: repeat(1, 1fr); 
    gap: 0.25vh;
    align-items: flex-start;
    position: relative;
    border-top: var(--border_dark);
    padding-top: 1vh;
}

.dui_keys {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dui_key {
    box-shadow: var(--inset_shadow_large);
    background: var(--background_hover);
    border-radius: var(--border_radius_outer);
    padding: 0.2vh 0.8vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text_primary);
    opacity: 0.9;
    margin: 0.35vh 0;
    margin-right: 1vh;
    white-space: nowrap;
    font-size: 1rem;
}

/* Progress Bars */
.progress_containers {
    display: flex;
    flex-direction: column;
    gap: 1vh;
    position: relative;
    border-top: var(--border_dark);
    padding-top: 1vh;
}

.progress_item h3 {
    margin-bottom: 0.5vh;
    font-size: inherit;
    position: relative;
    display: flex;
    font-weight: normal;
    padding-left: 0.8vh;
    font-size: 1rem;
    border-bottom: var(--border_dashed);
}

.progress_item h3::before {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: 0.3vh;
    height: 100%;
    background: var(--accent);
}

.interact_progress_header {
    position: absolute;
    display: flex;
    width: 96%;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.9rem;
}

.interact_progress_bar {
    width: 100%;
    height: 2vh;
    background: var(--background_overlay);
    border-radius: var(--border_radius_inner);
    box-shadow: var(--inset_shadow_large);
    position: relative;
    overflow: hidden;
    margin-top: 1vh;
}

.interact_progress_bar_fill {
    height: 100%;
    border-radius: var(--border_radius_inner);
    box-shadow: var(--inset_shadow_large);
    background: var(--accent);
    transition: width 0.3s ease;
}

/* Values */
.values_list {
    list-style: none;
    color: var(--text_colour);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1vh 0;
    margin-top: 1vh;
    border-top: var(--border_dark);
}

.values_list li {
    display: flex;
    align-items: center;
    gap: 0.3vh;
    padding: 0.25vh 0;
    margin-top: 0.2vh;
    line-height: 1;
}