/* 移除所有元素的 box-shadow 聚焦 */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

.index-card-Prompt-bg {
    background: var(--app-Prompt-bg-2);
    border-radius: 10px;
}

.index-card-Prompt-i-bg {
    background: var(--app-Prompt-bg-i-2);
    position: relative;
    border-radius: 10px !important;
}



/* 绘图页lora弹框已选择卡片 */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.lora-selected-list {
    animation: fadeIn 0.5s ease-out;
}

.lora-selected-list {
    background: var(--app-component-bg);
    max-height: 48px;
}

.lora-selected-list .lora-selected-list-item {
    text-decoration: none;
    color: var(--app-component-color);
    display: flex;
}

.lora-selected-list .lora-selected-list-item .lora-selected-list-action+div,
.lora-selected-list .lora-selected-list-item .lora-selected-list-content+div,
.lora-selected-list .lora-selected-list-item .lora-selected-list-media+div {
    padding-left: 0;

}

.lora-selected-list-content {
    display: flex;
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
    /* min-height: 60px; */
    /* 如果需要设置最小高度 */
}


.lora-selected-list .lora-selected-list-item .lora-selected-list-action,
.lora-selected-list .lora-selected-list-item .lora-selected-list-content,
.lora-selected-list .lora-selected-list-item .lora-selected-list-media {
    padding: .61875rem .9375rem;

}

.lora-selected-list .lora-selected-list-item .lora-selected-list-action {
    display: flex;
    align-items: center;
}

.lora-selected-list .lora-selected-list-item .lora-selected-list-title {
    font-size: .75rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* 生成历史 */
/* 卡片 */

.history-card-box {
	position: relative;
	width: 100%;
	padding-top: 75%; /* 高度 = 宽度 * 0.75（4:3比例） */
}

/* 让 .card 填满整个比例盒子 */
.history-card-box .card {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.history-card-footer {
    position: absolute;
    border-radius: 0px 0px 3px 3px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12%;
    /* background: rgba(0, 0, 0, 0.4); */
    background: var(--app-history-card-footer-bg);
    ;
    /* Semi-transparent background */
    backdrop-filter: blur(10px);
    /* Frosted glass effect */
    z-index: 1;
    display: flex;
    align-items: center;

}



/* 到期删除 */
.history-card-footer-deadline .dropdown-hover-menu {
    display: none;
    position: absolute;
    z-index: 999;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    padding: 0.5rem 0;
}

.history-card-footer-deadline.dropdown-hover:hover .dropdown-hover-menu {
    display: block;
}

.history-card-footer-deadline.dropdown-hover {
    position: relative;
}

.dropdown-hover-menu .dropdown-item {
    padding: 0.5rem 1rem;
    color: #212529;
    text-decoration: none;
    display: block;
}

.dropdown-hover-menu .dropdown-item:hover {
    background-color: #f8f9fa;
}