.card .separator {
    /*border-top: 1.5px solid #42434a;*/
}

.card .list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0px 0px;
    height: auto;
    opacity: 1;
    transition: all 0.3s ease;
}

/* 菜单图标和菜单项样式优化 */
.card .list .element1 {
    position: relative;
    display: flex;
    align-items: center;
    color: #FFF;
    gap: 10px;
    transition: all 0.3s ease-out;
    padding: 5px 3px;
    border-radius: 50px;
    cursor: pointer;
/*background:linear-gradient(270deg, transparent, #52525f2e, rgb(75 73 73));*/
}

/* 统一图标容器样式 - 删除其他重复定义 */
.card .list .element1 .icon-wrapper {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

/* 统一所有图标元素样式 - 删除其他重复定义 */
.card .list .element1 .icon-wrapper i,
.card .list .element1 .icon-wrapper img,
.card .list .element1 .icon-wrapper svg {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    opacity: 0.8;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

/* 悬停效果 */
.card .list .element1:hover {
background: linear-gradient(270deg, transparent, #52525f2e, rgb(75 73 73));
    /*transform: translateY(-1px);*/
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
}

.card .list .element1:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    /*transform: scale(1.05);*/
}

/* 添加图片图标样式 */
.card .list .element1 .menu-icon-img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    object-fit: contain;
}


/* 图片在hover时的效果 */
.card .list .element1:hover img.menu-icon {
    filter: brightness(1.2); /* 让图片在hover时更亮 */
    transform: scale(1.1); /* 轻微放大效果 */
    opacity: 1;
}

.card .list .element1 a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
    opacity: 1;
    position: relative;
}

.card .list .element1 a i {
    margin-right: 10px;
    font-size: 16px;
}

.card .list .element1:hover {
    color: #ffffff;
    transform: translate(1px, -1px);
}

.card .list .element1:hover a {
    color: #ffffff;
}

.card .list .element1:hover i {
    color: #ffffff;
}

.card .list .delete:hover {
    background-color: #8e2a2a;
}

.card .list .element1:active {
    transform: scale(0.97); /* 调整点击缩放效果 */
    opacity: 1;
}

.card .list:not(:last-child) .element1:hover svg {
    stroke: #ffffff;
}

.card .list:last-child svg {
    stroke: #bd89ff;
}

.card .list:last-child .element1 {
    color: #bd89ff;
}

.card .list:last-child .element1:hover {
    background-color: rgba(56, 45, 71, 0.836);
}

.card .list .element1 .menu-title {
    flex: 1;
}

/* 添加呼吸动画 */
@keyframes glowPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
}

.search-area.svelte-1leehxl.svelte-1leehxl {
    font-size: 18px;
    display: grid;
    place-items: center start;
    max-width: 500px;
    /*margin: 120px 0 10px;*/
    padding: 5px;
    position: sticky;
    top: 10px;
    border-radius: .66em;
    backdrop-filter: blur(5px);
    z-index: 999;
}
input.svelte-1leehxl.svelte-1leehxl {
font-family: Roboto;
    font-size: inherit;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 2.5em;
    padding: .1em 1em .1em .75em;
    margin: 0;
    background: hsl(0deg 0% 100% / 62%);
    color: #fff;
    outline: none;
    transition: all .5sease;
    box-shadow: 0 5px 20px #0e0e188f, 0 5px 10px #0e0e1357;
    grid-row: 1;
    grid-column: 1;
    width: 100%;
}
.icon-tabler-search.svelte-1leehxl.svelte-1leehxl {
    grid-row: 1;
    grid-column: 1;
    place-self: center end;
    margin-right: 10px;
    opacity: 1; /* Ensure visibility */
    width: 24px; /* Adjust size if needed */
    height: 24px;
    transition: all 0.5s ease;
       cursor: pointer; /* Make it clickable */
       COLOR: #484544;
}

.overview-stats1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px; /* 控制统计项之间的间距 */
}

.overview-stats1 .count-item {
display: flex
;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    text-align: center;
    font-size: 12px;
    line-height: 100%;
    font-weight: 500;
    padding: 3px 6px;
    border-radius: 9999px;
    white-space: nowrap;
border: 1px solid rgb(255 255 255 / 10%);
}


.overview-stats1 .count-num {
    font-size: 12px;
    line-height: 100%;
    font-weight: 500;
    color: #D59A78;
    background: rgba(213, 154, 120, 0.5);
    padding: 6px 10px;
    border-radius: 9999px;
}

.overview-stats1 .count-text {
    font-size: 12px;
    line-height: 100%;
    font-weight: 500;

}
.overview-stats1 .count-item:nth-child(1) .count-num {
    color: #D59A78;
    background: rgba(213, 154, 120, 0.2);
}

.overview-stats1 .count-item:nth-child(2) .count-num {
    color: #6F98FF;
    background: rgba(111, 152, 255, 0.2);
}

.overview-stats1 .count-item:nth-child(3) .count-num {
    color: #57AC84;
    background: rgba(87, 172, 132, 0.2);
}
.overview-stats1 .count-item:nth-child(1) .count-text {
    color: #D59A78;

}

.overview-stats1 .count-item:nth-child(2) .count-text {
    color: #6F98FF;

}

.overview-stats1 .count-item:nth-child(3) .count-text {
    color: #57AC84;

}
.overview-stats1 .count-item:nth-child(1) .count-icon {
    color: #D59A78;

}

.overview-stats1 .count-item:nth-child(2) .count-icon {
    color: #6F98FF;

}

.overview-stats1 .count-item:nth-child(3) .count-icon {
    color: #57AC84;

}
.overview-stats1 :nth-child(1).count-item {

    background: rgba(213, 154, 120, 0.1);
}

.overview-stats1 :nth-child(2).count-item {
    background: rgba(111, 152, 255, 0.1);
}

.overview-stats1 :nth-child(3).count-item {

    background: rgba(87, 172, 132, 0.1);
}
/* 数量显示样式 */
.card .list .element1 .count-num {
    position: absolute;
    right: 0;  /* 靠右对齐 */
    top: 50%;  /* 垂直居中 */
    transform: translateY(-50%);  /* 垂直居中微调 */
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    margin-left: 0;  /* 移除之前的左边距 */
}

.card .list .element1:hover .count-num {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* 确保label不会与count-num重叠 */
.card .list .element1 .label {
    margin-right: 60px;  /* 为count-num预留空间 */
}

/* 添加卡片标题样式 */
.card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 9px;
    margin: 0;
}

.card .header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card .header-right svg {
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card .header-right svg:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* 图标切换样式 */
.toggle-icon {
  position: relative;
  cursor: pointer;
  width: 24px;
  height: 24px;
}

.toggle-icon svg {
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
}

.toggle-icon .icon-expanded {
  opacity: 0;
  transform: rotate(90deg);
}

.toggle-icon .icon-collapsed {
  opacity: 1;
  transform: rotate(0);
}

.toggle-icon.collapsed .icon-expanded {
  opacity: 1;
  transform: rotate(0);
}

.toggle-icon.collapsed .icon-collapsed {
  opacity: 0;
  transform: rotate(-90deg);
}

/* 修改收缩状态样式 */
.card.collapsed .list {
  height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

/* 删除之前的左右收缩相关样式 */
.card.collapsed {
  width: 100%;
}

.card.collapsed .header-left span {
  opacity: 1;
  width: auto;
}

.card.collapsed .card-header {
  padding: 6px 9px;
}

.card.collapsed .element1 {
  width: 100%;
  padding: 5px 3px;
}

.card.collapsed .element1 .icon-wrapper {
  margin-right: 12px;
}

/* 菜单切换图标样式 */
.menu-toggle {
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.menu-toggle:hover {
  opacity: 1;
  transform: scale(1.1);
}