.delete-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.2s;
}

.delete-modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.delete-modal {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    width: 450px;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

.delete-modal-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
}

.delete-modal-count {
    text-align: center;
    margin-bottom: 32px; /* 增加间距，相当于空一行 */
    font-size: 14px;
    color: #555;
}

.delete-modal-count strong {
    font-weight: bold;
}

.delete-modal-warning {
    text-align: left;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px; /* 增加行间距 */
    line-height: 1.6;
}

.delete-modal-alert {
    text-align: left;
    font-size: 14px;
    color: #dc3545;
    margin-top: 16px; /* 增加与上方提示的间距 */
    margin-bottom: 24px;
    font-weight: 500;
}

.delete-modal-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555555; /* 修改颜色 */
    font-weight: bold; /* 加粗 */
}

.delete-modal-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.delete-modal-input:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.delete-modal-actions {
    display: flex;
    justify-content: flex-end; /* 靠右对齐 */
    gap: 12px;
}

.btn-delete-cancel {
    /* flex: 1; Removed */
    padding: 6px 14px; /* 缩小内边距 */
    border: none;
    border-radius: 4px;
    background-color: #6C757D;
    color: white;
    font-size: 13px; /* 略小于确认按钮 */
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-delete-cancel:hover {
    background-color: #5a6268;
}

.btn-delete-confirm {
    /* flex: 1; Removed */
    padding: 8px 18px; /* 适中大小 */
    border: none;
    border-radius: 4px;
    background-color: #DC3545;
    color: white;
    font-size: 14px;
    cursor: not-allowed;
    opacity: 0.6;
    transition: background-color 0.2s, opacity 0.2s;
}

.btn-delete-confirm.active {
    cursor: pointer;
    opacity: 1;
}

.btn-delete-confirm.active:hover {
    background-color: #c82333;
}
