.itemRoot {
    background: transparent;
    border-bottom: var(--border-width-sm) solid var(--border-color-light);
}

.itemHeader {
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-18);
    cursor: pointer;
}

.itemRoot.itemRootLast {
    border-bottom: none;
}

.itemContent {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.3s, padding-bottom 0.3s;
    padding: 0 var(--spacing-18);
}

.itemContentOpen {
    grid-template-rows: 1fr;
    padding-bottom: var(--spacing-18);
}

.itemContentInner {
    min-height: 0;
}

.closeButtonWrapper {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.leftIcon {
    display: flex;
    align-items: center;
    margin-right: var(--spacing-8);
}

.rightIcon {
    display: flex;
    align-items: center;
    margin-left: var(--spacing-18);
}

.arrow {
    display: inline-flex;
    transition: transform 0.3s;
}

.arrowRotated {
    transform: rotate(180deg);
}
