/* "Verbesserungsideen" widget: the form and my earlier ideas */
.sg-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sg-title-wrap {
    position: relative;
}
.sg-title-wrap .la {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.15rem;
    color: var(--color-highlight2);
    pointer-events: none;
}
.sg-title {
    padding-left: 36px;
    font-weight: var(--font-weight-strong);
}
.sg-title::placeholder {
    font-weight: normal;
}
.sg-description {
    min-height: 96px;
    resize: vertical;
}
.sg-files {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.sg-addfile {
    padding: 2px 12px;
    border: 1px dashed var(--color-border-medium);
    border-radius: 99px;
    background: transparent;
    color: var(--color-text-muted);
    font-size: .85rem;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.sg-addfile:hover {
    border-color: var(--color-highlight);
    color: var(--color-highlight);
}
.sg-chips {
    display: contents;
}
.sg-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 2px 4px 2px 10px;
    border-radius: 99px;
    background: color-mix(in srgb, var(--color-highlight) 13%, transparent);
    font-size: .82rem;
}
.sg-chip-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 14rem;
}
.sg-chip small {
    color: var(--color-text-muted);
}
.sg-chip button {
    padding: 2px 4px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--color-text-muted);
    line-height: 1;
    cursor: pointer;
}
.sg-chip button:hover {
    color: #d93025;
}
.sg-actions {
    text-align: right;
}

/* my earlier ideas */
.sg-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 2px 0;
    padding-top: 12px;
    border-top: 1px solid var(--color-borderdecent);
    font-size: .7rem;
    font-weight: var(--font-weight-strong);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.sg-section-count {
    padding: 0 7px;
    border-radius: 99px;
    background: var(--color-surface-light-2);
    letter-spacing: normal;
}
.sg-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 -8px;
    padding: 7px 8px;
    border-radius: .3rem;
    color: var(--color-textprimary);
    text-decoration: none;
}
.sg-item:hover {
    background: var(--color-surface-light-1);
    color: var(--color-textprimary);
    text-decoration: none;
}
.sg-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: .3rem;
    background: color-mix(in srgb, var(--color-highlight2) 18%, transparent);
    color: color-mix(in srgb, var(--color-highlight2) 70%, var(--color-text-strong));
    font-size: 1.25rem;
}
.sg-text {
    flex: 1 1 0;
    min-width: 0;
}
.sg-name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: var(--font-weight-strong);
    line-height: 1.3;
}
.sg-item:hover .sg-name {
    color: var(--color-highlight);
}
.sg-sub {
    display: block;
    font-size: .8rem;
    color: var(--color-text-muted);
}
.sg-status {
    flex: none;
    padding: 2px 10px;
    border-radius: 99px;
    background: color-mix(in srgb, var(--color-highlight) 13%, transparent);
    color: var(--color-highlight);
    font-size: .78rem;
    white-space: nowrap;
}
.sg-status.sg-success {
    background: color-mix(in srgb, #2e9e4f 16%, transparent);
    color: color-mix(in srgb, #2e9e4f 75%, var(--color-text-strong));
}
.sg-status.sg-denied {
    background: color-mix(in srgb, #d93025 14%, transparent);
    color: color-mix(in srgb, #d93025 75%, var(--color-text-strong));
}
.sg-arrow {
    flex: none;
    color: var(--color-text-faint-3);
    transition: transform .15s ease, color .15s ease;
}
.sg-item:hover .sg-arrow {
    color: var(--color-highlight);
    transform: translateX(3px);
}
